mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Move license endpoints to a decorated controller class (no-changelog) (#8074)
This commit is contained in:
committed by
GitHub
parent
63a6e7e034
commit
a63d94f28c
@@ -8,6 +8,7 @@ export type Resource =
|
||||
| 'eventBusEvent'
|
||||
| 'eventBusDestination'
|
||||
| 'ldap'
|
||||
| 'license'
|
||||
| 'logStreaming'
|
||||
| 'orchestration'
|
||||
| 'sourceControl'
|
||||
@@ -41,6 +42,7 @@ export type EventBusDestinationScope = ResourceScope<
|
||||
>;
|
||||
export type EventBusEventScope = ResourceScope<'eventBusEvent', DefaultOperations | 'query'>;
|
||||
export type LdapScope = ResourceScope<'ldap', 'manage' | 'sync'>;
|
||||
export type LicenseScope = ResourceScope<'license', 'manage'>;
|
||||
export type LogStreamingScope = ResourceScope<'logStreaming', 'manage'>;
|
||||
export type OrchestrationScope = ResourceScope<'orchestration', 'read' | 'list'>;
|
||||
export type SamlScope = ResourceScope<'saml', 'manage'>;
|
||||
@@ -59,6 +61,7 @@ export type Scope =
|
||||
| EventBusEventScope
|
||||
| EventBusDestinationScope
|
||||
| LdapScope
|
||||
| LicenseScope
|
||||
| LogStreamingScope
|
||||
| OrchestrationScope
|
||||
| SamlScope
|
||||
|
||||
Reference in New Issue
Block a user