plugin-cluster-manager 1.1.11 → 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/client-v2.d.ts +2 -0
  2. package/client-v2.js +1 -0
  3. package/dist/client/index.js +1 -1
  4. package/dist/client-v2/914.5dc1105cf3ada6a6.js +10 -0
  5. package/dist/client-v2/index.js +10 -0
  6. package/dist/externalVersion.js +6 -5
  7. package/dist/locale/en-US.json +138 -124
  8. package/dist/locale/vi-VN.json +139 -125
  9. package/dist/locale/zh-CN.json +140 -125
  10. package/dist/server/actions/cluster-nodes.js +2 -6
  11. package/dist/server/actions/doctor.js +1 -5
  12. package/dist/server/actions/orchestrator.js +37 -0
  13. package/dist/server/actions/queue-mappings.js +107 -0
  14. package/dist/server/collections/worker-queue-mappings.js +106 -0
  15. package/dist/server/orchestrator/PackageManager.js +1 -8
  16. package/dist/server/orchestrator/docker-adapter.js +49 -27
  17. package/dist/server/plugin.js +10 -8
  18. package/dist/server/queue-scanner.js +141 -0
  19. package/dist/server/utils/node.js +30 -2
  20. package/package.json +46 -42
  21. package/src/client/AclCacheManager.tsx +292 -287
  22. package/src/client/ClusterManagerLayout.tsx +6 -0
  23. package/src/client/ClusterNodes.tsx +8 -1
  24. package/src/client/ContainerOrchestrator.tsx +184 -102
  25. package/src/client/QueueAssignment.tsx +355 -0
  26. package/src/client/TaskManager.tsx +194 -187
  27. package/src/client/WorkflowExecutions.tsx +243 -238
  28. package/src/client-v2/plugin.tsx +24 -0
  29. package/src/locale/en-US.json +138 -124
  30. package/src/locale/vi-VN.json +139 -125
  31. package/src/locale/zh-CN.json +140 -125
  32. package/src/server/actions/cluster-nodes.ts +3 -7
  33. package/src/server/actions/doctor.ts +2 -6
  34. package/src/server/actions/orchestrator.ts +54 -2
  35. package/src/server/actions/queue-mappings.ts +94 -0
  36. package/src/server/collections/worker-queue-mappings.ts +85 -0
  37. package/src/server/orchestrator/PackageManager.ts +2 -10
  38. package/src/server/orchestrator/docker-adapter.ts +74 -37
  39. package/src/server/plugin.ts +12 -10
  40. package/src/server/queue-scanner.ts +154 -0
  41. package/src/server/utils/node.ts +48 -0
  42. package/dist/client/AclCacheManager.d.ts +0 -2
  43. package/dist/client/CacheMonitor.d.ts +0 -2
  44. package/dist/client/ClusterManagerLayout.d.ts +0 -2
  45. package/dist/client/ClusterNodes.d.ts +0 -2
  46. package/dist/client/ContainerOrchestrator.d.ts +0 -2
  47. package/dist/client/Doctor.d.ts +0 -2
  48. package/dist/client/EventQueueMonitor.d.ts +0 -2
  49. package/dist/client/LockMonitor.d.ts +0 -2
  50. package/dist/client/NginxCacheManager.d.ts +0 -2
  51. package/dist/client/PackageInstaller.d.ts +0 -2
  52. package/dist/client/PluginOperations.d.ts +0 -2
  53. package/dist/client/RedisMonitor.d.ts +0 -2
  54. package/dist/client/TaskManager.d.ts +0 -2
  55. package/dist/client/WorkflowExecutions.d.ts +0 -2
  56. package/dist/client/index.d.ts +0 -5
  57. package/dist/client/utils/clientSafeCache.d.ts +0 -3
  58. package/dist/client/utils/requestDedupInterceptor.d.ts +0 -2
  59. package/dist/client/utils.d.ts +0 -12
  60. package/dist/index.d.ts +0 -2
  61. package/dist/server/actions/acl-cache.d.ts +0 -53
  62. package/dist/server/actions/cache-monitor.d.ts +0 -33
  63. package/dist/server/actions/cluster-nodes.d.ts +0 -64
  64. package/dist/server/actions/doctor.d.ts +0 -82
  65. package/dist/server/actions/event-queue-monitor.d.ts +0 -13
  66. package/dist/server/actions/lock-monitor.d.ts +0 -19
  67. package/dist/server/actions/orchestrator.d.ts +0 -58
  68. package/dist/server/actions/package-manager.d.ts +0 -6
  69. package/dist/server/actions/plugin-operations.d.ts +0 -6
  70. package/dist/server/actions/redis-monitor.d.ts +0 -12
  71. package/dist/server/actions/tasks.d.ts +0 -7
  72. package/dist/server/actions/workflow-executions.d.ts +0 -7
  73. package/dist/server/adapters/redis-lock-adapter.d.ts +0 -15
  74. package/dist/server/adapters/redis-node-registry.d.ts +0 -12
  75. package/dist/server/adapters/redis-pubsub-adapter.d.ts +0 -16
  76. package/dist/server/collections/app.d.ts +0 -8
  77. package/dist/server/collections/cluster-manager-acl-cache.d.ts +0 -22
  78. package/dist/server/collections/cluster-manager-cache-mgr.d.ts +0 -22
  79. package/dist/server/collections/cluster-manager-cluster.d.ts +0 -22
  80. package/dist/server/collections/cluster-manager-doctor-runs.d.ts +0 -3
  81. package/dist/server/collections/cluster-manager-doctor.d.ts +0 -18
  82. package/dist/server/collections/cluster-manager-lock.d.ts +0 -22
  83. package/dist/server/collections/cluster-manager-plugins.d.ts +0 -18
  84. package/dist/server/collections/cluster-manager-queue.d.ts +0 -22
  85. package/dist/server/collections/cluster-manager-redis.d.ts +0 -22
  86. package/dist/server/collections/cluster-manager-workflow.d.ts +0 -22
  87. package/dist/server/collections/cluster-manager.d.ts +0 -22
  88. package/dist/server/collections/orchestrator-settings.d.ts +0 -59
  89. package/dist/server/collections/orchestrator-stacks.d.ts +0 -102
  90. package/dist/server/collections/worker-orchestrator.d.ts +0 -22
  91. package/dist/server/collections/worker-packages-configs.d.ts +0 -3
  92. package/dist/server/collections/worker-packages.d.ts +0 -22
  93. package/dist/server/hooks/cacheInvalidationHooks.d.ts +0 -1
  94. package/dist/server/middlewares/listMetaCacheMiddleware.d.ts +0 -2
  95. package/dist/server/orchestrator/PackageManager.d.ts +0 -39
  96. package/dist/server/orchestrator/docker-adapter.d.ts +0 -41
  97. package/dist/server/orchestrator/index.d.ts +0 -4
  98. package/dist/server/orchestrator/k8s-adapter.d.ts +0 -50
  99. package/dist/server/orchestrator/leader-election.d.ts +0 -48
  100. package/dist/server/orchestrator/types.d.ts +0 -84
  101. package/dist/server/plugin.d.ts +0 -26
  102. package/dist/server/utils/node.d.ts +0 -6
  103. package/dist/server/utils/redis.d.ts +0 -29
  104. package/dist/server/utils/versionManager.d.ts +0 -10
  105. package/dist/shared/packages.d.ts +0 -23
  106. /package/{dist/server/index.d.ts → src/client-v2/index.tsx} +0 -0
@@ -1,64 +0,0 @@
1
- import { Context } from '@nocobase/actions';
2
- /**
3
- * Read the last N lines from the local system log file.
4
- * Extracted so it can be called from both the HTTP action and the PubSub subscriber.
5
- */
6
- export declare function readLocalLogs(app: any, maxLines: number): Promise<{
7
- node: {
8
- hostname: string;
9
- pid: number;
10
- workerMode: string;
11
- };
12
- lines: string[];
13
- file: string;
14
- }>;
15
- export declare const clusterActions: {
16
- /**
17
- * GET /clusterManagerCluster:current
18
- * Always returns info about the APP node (not workers).
19
- * If this request is handled by a worker, we look up the APP node from Redis.
20
- */
21
- current(ctx: Context, next: () => Promise<void>): Promise<void>;
22
- /**
23
- * GET /clusterManagerCluster:list
24
- * Returns all known cluster environments/nodes (if discovery adapter supports it)
25
- */
26
- list(ctx: Context, next: () => Promise<void>): Promise<void>;
27
- /**
28
- * GET /clusterManagerCluster:drift
29
- * Reports version/runtime/package drift across active cluster nodes.
30
- */
31
- drift(ctx: Context, next: () => Promise<void>): Promise<void>;
32
- /**
33
- * GET /clusterManagerCluster:legacyDiagnostics
34
- * Detects deprecated legacy multi-app plugins and leftover application records.
35
- */
36
- legacyDiagnostics(ctx: Context, next: () => Promise<void>): Promise<void>;
37
- /**
38
- * GET /clusterManagerCluster:health
39
- * Health check for all subsystems
40
- */
41
- health(ctx: Context, next: () => Promise<void>): Promise<void>;
42
- /**
43
- * POST /clusterManagerCluster:restart
44
- * Publishes a restart signal to target nodes orchestrating a soft NocoBase restart or a hard docker daemon rebirth
45
- */
46
- restart(ctx: Context, next: () => Promise<void>): Promise<void>;
47
- /**
48
- * POST /clusterManagerCluster:rollingRestart
49
- * Restarts online nodes one-by-one, optionally filtered by role.
50
- */
51
- rollingRestart(ctx: Context, next: () => Promise<void>): Promise<void>;
52
- /**
53
- * GET /clusterManagerCluster:logs?targetNodeId=xxx&lines=200
54
- *
55
- * HA-aware log viewer. Reads logs from a specific node in the cluster.
56
- *
57
- * Flow:
58
- * 1. If targetNodeId matches current node (or is empty) → read local FS directly
59
- * 2. Otherwise → publish a log request via PubSub → target node reads its local FS
60
- * and writes the result to a Redis key → this handler polls Redis until the
61
- * response arrives (max 10s) → returns it to the client
62
- */
63
- logs(ctx: Context, next: () => Promise<void>): Promise<void>;
64
- };
@@ -1,82 +0,0 @@
1
- /// <reference types="node" />
2
- import { Context } from '@nocobase/actions';
3
- import Application from '@nocobase/server';
4
- interface DiagnosticLogLine {
5
- source: string;
6
- line: string;
7
- timestamp?: string;
8
- level?: string;
9
- message?: string;
10
- stack?: string;
11
- }
12
- interface LogSignature {
13
- signature: string;
14
- level: string;
15
- count: number;
16
- firstSeen?: string;
17
- lastSeen?: string;
18
- sources: string[];
19
- samples: string[];
20
- }
21
- interface LogAnalysis {
22
- totalLines: number;
23
- levels: Record<string, number>;
24
- signatures: LogSignature[];
25
- }
26
- interface PluginSnapshot {
27
- name?: string;
28
- packageName?: string;
29
- enabled?: boolean;
30
- dbVersion?: string;
31
- loaded: boolean;
32
- runtimeVersion?: string;
33
- }
34
- interface DoctorNodeSnapshot {
35
- nodeId: string;
36
- node: {
37
- hostname: string;
38
- pid: number;
39
- workerMode: string;
40
- role: string;
41
- appVersion: string;
42
- nodeVersion: string;
43
- platform: string;
44
- arch: string;
45
- uptime: number;
46
- isSandbox: boolean;
47
- };
48
- memory: NodeJS.MemoryUsage;
49
- os: {
50
- totalMemory: number;
51
- freeMemory: number;
52
- cpuCount: number;
53
- loadAvg: number[];
54
- };
55
- env: Record<string, string | undefined>;
56
- plugins: PluginSnapshot[];
57
- logs: {
58
- files: Array<{
59
- file: string;
60
- lineCount: number;
61
- }>;
62
- lines: DiagnosticLogLine[];
63
- analysis: LogAnalysis;
64
- };
65
- collectedAt: string;
66
- error?: string;
67
- }
68
- interface DoctorSnapshotOptions {
69
- runId?: string;
70
- sinceMs?: number;
71
- untilMs?: number;
72
- maxLines?: number;
73
- }
74
- export declare function collectLocalDoctorSnapshot(app: Application, options?: DoctorSnapshotOptions): Promise<DoctorNodeSnapshot>;
75
- export declare const doctorActions: {
76
- start(ctx: Context, next: () => Promise<void>): Promise<void>;
77
- stop(ctx: Context, next: () => Promise<void>): Promise<void>;
78
- status(ctx: Context, next: () => Promise<void>): Promise<void>;
79
- report(ctx: Context, next: () => Promise<void>): Promise<void>;
80
- download(ctx: Context, next: () => Promise<void>): Promise<void>;
81
- };
82
- export {};
@@ -1,13 +0,0 @@
1
- import { Context } from '@nocobase/actions';
2
- export declare const eventQueueActions: {
3
- /**
4
- * GET /clusterManagerQueue:stats
5
- * Returns event queue statistics
6
- */
7
- stats(ctx: Context, next: () => Promise<void>): Promise<void>;
8
- /**
9
- * GET /clusterManagerQueue:messages
10
- * List pending messages in a specific channel (memory adapter only)
11
- */
12
- messages(ctx: Context, next: () => Promise<void>): Promise<void>;
13
- };
@@ -1,19 +0,0 @@
1
- import { Context } from '@nocobase/actions';
2
- export declare const lockActions: {
3
- /**
4
- * GET /clusterManagerLock:info
5
- * Returns lock manager info
6
- */
7
- info(ctx: Context, next: () => Promise<void>): Promise<void>;
8
- /**
9
- * GET /clusterManagerLock:list
10
- * List active locks
11
- */
12
- list(ctx: Context, next: () => Promise<void>): Promise<void>;
13
- /**
14
- * POST /clusterManagerLock:release
15
- * Force release a stuck lock (admin emergency action)
16
- * Uses compare-and-swap via DEL for Redis locks with the correct key prefix.
17
- */
18
- release(ctx: Context, next: () => Promise<void>): Promise<void>;
19
- };
@@ -1,58 +0,0 @@
1
- /**
2
- * Orchestrator Actions
3
- *
4
- * API endpoints for container management. Write operations (scale, start, stop, remove)
5
- * are guarded by leader election — only the leader node can execute them.
6
- */
7
- import { Context } from '@nocobase/actions';
8
- export declare const orchestratorActions: {
9
- /**
10
- * GET /workerOrchestrator:ping
11
- * Test connectivity to the container runtime
12
- */
13
- ping(ctx: Context, next: () => Promise<void>): Promise<void>;
14
- /**
15
- * GET /workerOrchestrator:containers?stackId=1
16
- * List live containers for a stack
17
- */
18
- containers(ctx: Context, next: () => Promise<void>): Promise<void>;
19
- /**
20
- * POST /workerOrchestrator:scale
21
- * Body: { stackId: 1, replicas: 3 }
22
- * Leader-only
23
- */
24
- scale(ctx: Context, next: () => Promise<void>): Promise<void>;
25
- /**
26
- * POST /workerOrchestrator:start
27
- * Body: { stackId: 1, containerId: "abc123" }
28
- * Leader-only
29
- */
30
- start(ctx: Context, next: () => Promise<void>): Promise<void>;
31
- /**
32
- * POST /workerOrchestrator:stop
33
- * Body: { stackId: 1, containerId: "abc123" }
34
- * Leader-only
35
- */
36
- stop(ctx: Context, next: () => Promise<void>): Promise<void>;
37
- /**
38
- * POST /workerOrchestrator:remove
39
- * Body: { stackId: 1, containerId: "abc123" }
40
- * Leader-only
41
- */
42
- remove(ctx: Context, next: () => Promise<void>): Promise<void>;
43
- /**
44
- * GET /workerOrchestrator:stats?containerId=abc123
45
- * Get real-time stats for a container
46
- */
47
- stats(ctx: Context, next: () => Promise<void>): Promise<void>;
48
- /**
49
- * GET /workerOrchestrator:logs?containerId=abc123&tail=100
50
- * Get tail logs from a container
51
- */
52
- logs(ctx: Context, next: () => Promise<void>): Promise<void>;
53
- /**
54
- * GET /workerOrchestrator:networks
55
- * List available networks (if supported by adapter)
56
- */
57
- networks(ctx: Context, next: () => Promise<void>): Promise<void>;
58
- };
@@ -1,6 +0,0 @@
1
- export declare const packageManagerActions: {
2
- installPackages(ctx: any, next: () => Promise<void>): Promise<void>;
3
- getPackageConfig(ctx: any, next: () => Promise<void>): Promise<void>;
4
- savePackageConfig(ctx: any, next: () => Promise<void>): Promise<void>;
5
- resetInitStatus(ctx: any, next: () => Promise<void>): Promise<void>;
6
- };
@@ -1,6 +0,0 @@
1
- import { Context } from '@nocobase/actions';
2
- export declare const pluginOperationsActions: {
3
- list(ctx: Context, next: () => Promise<void>): Promise<void>;
4
- forceDisable(ctx: Context, next: () => Promise<void>): Promise<void>;
5
- forceRemove(ctx: Context, next: () => Promise<void>): Promise<void>;
6
- };
@@ -1,12 +0,0 @@
1
- import { Context } from '@nocobase/actions';
2
- export declare const redisActions: {
3
- info(ctx: Context, next: () => Promise<void>): Promise<void>;
4
- clients(ctx: Context, next: () => Promise<void>): Promise<void>;
5
- pubsub(ctx: Context, next: () => Promise<void>): Promise<void>;
6
- slowlog(ctx: Context, next: () => Promise<void>): Promise<void>;
7
- /**
8
- * GET /clusterManagerRedis:syncMessages
9
- * Returns info about NocoBase sync message channels (pub/sub layer)
10
- */
11
- syncMessages(ctx: Context, next: () => Promise<void>): Promise<void>;
12
- };
@@ -1,7 +0,0 @@
1
- import { Context } from '@nocobase/actions';
2
- export declare const tasksActions: {
3
- list(ctx: Context, next: () => Promise<void>): Promise<void>;
4
- cancel(ctx: Context, next: () => Promise<void>): Promise<void>;
5
- retry(ctx: Context, next: () => Promise<void>): Promise<void>;
6
- purge(ctx: Context, next: () => Promise<void>): Promise<void>;
7
- };
@@ -1,7 +0,0 @@
1
- import { Context } from '@nocobase/actions';
2
- export declare const workflowActions: {
3
- list(ctx: Context, next: () => Promise<void>): Promise<void>;
4
- getJobs(ctx: Context, next: () => Promise<void>): Promise<void>;
5
- cancel(ctx: Context, next: () => Promise<void>): Promise<void>;
6
- purge(ctx: Context, next: () => Promise<void>): Promise<void>;
7
- };
@@ -1,15 +0,0 @@
1
- import { ILockAdapter, ILock, Releaser } from '@nocobase/lock-manager';
2
- import { Application } from '@nocobase/server';
3
- export declare class RedisLockAdapter implements ILockAdapter {
4
- private options;
5
- private client;
6
- constructor(options: {
7
- url?: string;
8
- app: Application;
9
- });
10
- connect(): Promise<void>;
11
- close(): Promise<void>;
12
- acquire(key: string, ttl: number): Promise<Releaser>;
13
- runExclusive<T>(key: string, fn: () => Promise<T>, ttl: number): Promise<T>;
14
- tryAcquire(key: string, timeout?: number): Promise<ILock>;
15
- }
@@ -1,12 +0,0 @@
1
- export declare class RedisNodeRegistry {
2
- private app;
3
- private timer;
4
- private readonly ttlSecs;
5
- private readonly intervalMs;
6
- private readonly keyPrefix;
7
- constructor(app: any);
8
- start(): void;
9
- stop(): void;
10
- private heartbeat;
11
- getNodes(): Promise<any[]>;
12
- }
@@ -1,16 +0,0 @@
1
- import { IPubSubAdapter, PubSubCallback } from '@nocobase/server';
2
- export declare class RedisPubSubAdapter implements IPubSubAdapter {
3
- private url;
4
- private logger?;
5
- private publisher;
6
- private subscriber;
7
- private connected;
8
- private subscriptions;
9
- constructor(url: string, logger?: any);
10
- isConnected(): boolean;
11
- connect(): Promise<void>;
12
- close(): Promise<void>;
13
- subscribe(channel: string, callback: PubSubCallback): Promise<void>;
14
- unsubscribe(channel: string, callback: PubSubCallback): Promise<void>;
15
- publish(channel: string, message: string): Promise<void>;
16
- }
@@ -1,8 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- autoCreate: boolean;
4
- dumpRules: string;
5
- model: string;
6
- fields: any[];
7
- };
8
- export default _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * This collection is created to prevent NocoBase workflow/ACL from throwing the error:
4
- * '[Workflow pre-action]: collection "clusterManagerAclCache" not found'
5
- *
6
- * Since 'clusterManagerAclCache' is registered as a resourcer in plugin.ts, NocoBase
7
- * implicitly looks for a collection with the same name.
8
- * We set dumpRules: 'skip' and avoid timestamps to ensure this collection
9
- * is completely ignored during backups/migrations and doesn't pollute the actual DB.
10
- */
11
- declare const _default: {
12
- name: string;
13
- dumpRules: string;
14
- autoGenId: boolean;
15
- createdAt: boolean;
16
- updatedAt: boolean;
17
- fields: {
18
- name: string;
19
- type: string;
20
- }[];
21
- };
22
- export default _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * This collection is created to prevent NocoBase workflow/ACL from throwing the error:
4
- * '[Workflow pre-action]: collection "clusterManagerCacheMgr" not found'
5
- *
6
- * Since 'clusterManagerCacheMgr' is registered as a resourcer in plugin.ts, NocoBase
7
- * implicitly looks for a collection with the same name.
8
- * We set dumpRules: 'skip' and avoid timestamps to ensure this collection
9
- * is completely ignored during backups/migrations and doesn't pollute the actual DB.
10
- */
11
- declare const _default: {
12
- name: string;
13
- dumpRules: string;
14
- autoGenId: boolean;
15
- createdAt: boolean;
16
- updatedAt: boolean;
17
- fields: {
18
- name: string;
19
- type: string;
20
- }[];
21
- };
22
- export default _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * This collection is created to prevent NocoBase workflow/ACL from throwing the error:
4
- * '[Workflow pre-action]: collection "clusterManagerCluster" not found'
5
- *
6
- * Since 'clusterManagerCluster' is registered as a resourcer in plugin.ts, NocoBase
7
- * implicitly looks for a collection with the same name.
8
- * We set dumpRules: 'skip' and avoid timestamps to ensure this collection
9
- * is completely ignored during backups/migrations and doesn't pollute the actual DB.
10
- */
11
- declare const _default: {
12
- name: string;
13
- dumpRules: string;
14
- autoGenId: boolean;
15
- createdAt: boolean;
16
- updatedAt: boolean;
17
- fields: {
18
- name: string;
19
- type: string;
20
- }[];
21
- };
22
- export default _default;
@@ -1,3 +0,0 @@
1
- import { CollectionOptions } from '@nocobase/database';
2
- declare const _default: CollectionOptions;
3
- export default _default;
@@ -1,18 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * Keeps the `clusterManagerDoctor` resourcer compatible with NocoBase
4
- * workflow/ACL collection lookups. Diagnostic run data lives in
5
- * `clusterManagerDoctorRuns`.
6
- */
7
- declare const _default: {
8
- name: string;
9
- dumpRules: string;
10
- autoGenId: boolean;
11
- createdAt: boolean;
12
- updatedAt: boolean;
13
- fields: {
14
- name: string;
15
- type: string;
16
- }[];
17
- };
18
- export default _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * This collection is created to prevent NocoBase workflow/ACL from throwing the error:
4
- * '[Workflow pre-action]: collection "clusterManagerLock" not found'
5
- *
6
- * Since 'clusterManagerLock' is registered as a resourcer in plugin.ts, NocoBase
7
- * implicitly looks for a collection with the same name.
8
- * We set dumpRules: 'skip' and avoid timestamps to ensure this collection
9
- * is completely ignored during backups/migrations and doesn't pollute the actual DB.
10
- */
11
- declare const _default: {
12
- name: string;
13
- dumpRules: string;
14
- autoGenId: boolean;
15
- createdAt: boolean;
16
- updatedAt: boolean;
17
- fields: {
18
- name: string;
19
- type: string;
20
- }[];
21
- };
22
- export default _default;
@@ -1,18 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * Keeps the `clusterManagerPlugins` resourcer compatible with NocoBase
4
- * workflow/ACL collection lookups. The actual plugin records live in
5
- * the core `applicationPlugins` collection.
6
- */
7
- declare const _default: {
8
- name: string;
9
- dumpRules: string;
10
- autoGenId: boolean;
11
- createdAt: boolean;
12
- updatedAt: boolean;
13
- fields: {
14
- name: string;
15
- type: string;
16
- }[];
17
- };
18
- export default _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * This collection is created to prevent NocoBase workflow/ACL from throwing the error:
4
- * '[Workflow pre-action]: collection "clusterManagerQueue" not found'
5
- *
6
- * Since 'clusterManagerQueue' is registered as a resourcer in plugin.ts, NocoBase
7
- * implicitly looks for a collection with the same name.
8
- * We set dumpRules: 'skip' and avoid timestamps to ensure this collection
9
- * is completely ignored during backups/migrations and doesn't pollute the actual DB.
10
- */
11
- declare const _default: {
12
- name: string;
13
- dumpRules: string;
14
- autoGenId: boolean;
15
- createdAt: boolean;
16
- updatedAt: boolean;
17
- fields: {
18
- name: string;
19
- type: string;
20
- }[];
21
- };
22
- export default _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * This collection is created to prevent NocoBase workflow/ACL from throwing the error:
4
- * '[Workflow pre-action]: collection "clusterManagerRedis" not found'
5
- *
6
- * Since 'clusterManagerRedis' is registered as a resourcer in plugin.ts, NocoBase
7
- * implicitly looks for a collection with the same name.
8
- * We set dumpRules: 'skip' and avoid timestamps to ensure this collection
9
- * is completely ignored during backups/migrations and doesn't pollute the actual DB.
10
- */
11
- declare const _default: {
12
- name: string;
13
- dumpRules: string;
14
- autoGenId: boolean;
15
- createdAt: boolean;
16
- updatedAt: boolean;
17
- fields: {
18
- name: string;
19
- type: string;
20
- }[];
21
- };
22
- export default _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * This collection is created to prevent NocoBase workflow/ACL from throwing the error:
4
- * '[Workflow pre-action]: collection "clusterManagerWorkflow" not found'
5
- *
6
- * Since 'clusterManagerWorkflow' is registered as a resourcer in plugin.ts, NocoBase
7
- * implicitly looks for a collection with the same name.
8
- * We set dumpRules: 'skip' and avoid timestamps to ensure this collection
9
- * is completely ignored during backups/migrations and doesn't pollute the actual DB.
10
- */
11
- declare const _default: {
12
- name: string;
13
- dumpRules: string;
14
- autoGenId: boolean;
15
- createdAt: boolean;
16
- updatedAt: boolean;
17
- fields: {
18
- name: string;
19
- type: string;
20
- }[];
21
- };
22
- export default _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * DUMMY COLLECTION
3
- * This collection is created to prevent NocoBase workflow/ACL from throwing the error:
4
- * '[Workflow pre-action]: collection "clusterManager" not found'
5
- *
6
- * Since 'clusterManager' is registered as a resourcer in plugin.ts, NocoBase
7
- * implicitly looks for a collection with the same name.
8
- * We set dumpRules: 'skip' and avoid timestamps to ensure this collection
9
- * is completely ignored during backups/migrations and doesn't pollute the actual DB.
10
- */
11
- declare const _default: {
12
- name: string;
13
- dumpRules: string;
14
- autoGenId: boolean;
15
- createdAt: boolean;
16
- updatedAt: boolean;
17
- fields: {
18
- name: string;
19
- type: string;
20
- }[];
21
- };
22
- export default _default;
@@ -1,59 +0,0 @@
1
- /**
2
- * Plugin settings stored in DB — configurable via NocoBase admin UI.
3
- * Replaces env-var-only configuration for orchestrator adapter selection.
4
- */
5
- declare const _default: {
6
- name: string;
7
- autoGenId: boolean;
8
- createdAt: boolean;
9
- updatedAt: boolean;
10
- fields: ({
11
- name: string;
12
- type: string;
13
- defaultValue: string;
14
- interface: string;
15
- uiSchema: {
16
- title: string;
17
- 'x-component': string;
18
- enum: {
19
- value: string;
20
- label: string;
21
- }[];
22
- description?: undefined;
23
- };
24
- } | {
25
- name: string;
26
- type: string;
27
- defaultValue: string;
28
- interface: string;
29
- uiSchema: {
30
- title: string;
31
- 'x-component': string;
32
- enum?: undefined;
33
- description?: undefined;
34
- };
35
- } | {
36
- name: string;
37
- type: string;
38
- interface: string;
39
- uiSchema: {
40
- title: string;
41
- description: string;
42
- 'x-component': string;
43
- enum?: undefined;
44
- };
45
- defaultValue?: undefined;
46
- } | {
47
- name: string;
48
- type: string;
49
- defaultValue: string;
50
- interface: string;
51
- uiSchema: {
52
- title: string;
53
- description: string;
54
- 'x-component': string;
55
- enum?: undefined;
56
- };
57
- })[];
58
- };
59
- export default _default;