@serve.zone/gitops 2.13.1
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.
- package/.smartconfig.json +114 -0
- package/binary/gitops.ts +4 -0
- package/changelog.md +185 -0
- package/cli.child.js +4 -0
- package/cli.js +4 -0
- package/cli.ts.js +5 -0
- package/deno.json +10 -0
- package/dist_serve/bundle.js +36362 -0
- package/dist_serve/index.html +33 -0
- package/dist_ts/00_commitinfo_data.d.ts +8 -0
- package/dist_ts/00_commitinfo_data.js +9 -0
- package/dist_ts/cache/classes.cache.cleaner.d.ts +23 -0
- package/dist_ts/cache/classes.cache.cleaner.js +61 -0
- package/dist_ts/cache/classes.cached.document.d.ts +30 -0
- package/dist_ts/cache/classes.cached.document.js +101 -0
- package/dist_ts/cache/classes.cachedb.d.ts +22 -0
- package/dist_ts/cache/classes.cachedb.js +58 -0
- package/dist_ts/cache/classes.secrets.scan.service.d.ts +51 -0
- package/dist_ts/cache/classes.secrets.scan.service.js +237 -0
- package/dist_ts/cache/documents/classes.cached.project.d.ts +13 -0
- package/dist_ts/cache/documents/classes.cached.project.js +101 -0
- package/dist_ts/cache/documents/classes.cached.secret.d.ts +24 -0
- package/dist_ts/cache/documents/classes.cached.secret.js +158 -0
- package/dist_ts/cache/documents/index.d.ts +2 -0
- package/dist_ts/cache/documents/index.js +3 -0
- package/dist_ts/cache/index.d.ts +7 -0
- package/dist_ts/cache/index.js +6 -0
- package/dist_ts/classes/actionlog.d.ts +19 -0
- package/dist_ts/classes/actionlog.js +44 -0
- package/dist_ts/classes/connectionmanager.d.ts +57 -0
- package/dist_ts/classes/connectionmanager.js +247 -0
- package/dist_ts/classes/gitopsapp.d.ts +30 -0
- package/dist_ts/classes/gitopsapp.js +101 -0
- package/dist_ts/classes/jobmanager.d.ts +47 -0
- package/dist_ts/classes/jobmanager.js +301 -0
- package/dist_ts/classes/jobrunners/autobookstackdocs.runner.d.ts +29 -0
- package/dist_ts/classes/jobrunners/autobookstackdocs.runner.js +361 -0
- package/dist_ts/classes/jobrunners/base.jobrunner.d.ts +14 -0
- package/dist_ts/classes/jobrunners/base.jobrunner.js +3 -0
- package/dist_ts/classes/jobrunners/index.d.ts +5 -0
- package/dist_ts/classes/jobrunners/index.js +14 -0
- package/dist_ts/classes/managedsecrets.manager.d.ts +47 -0
- package/dist_ts/classes/managedsecrets.manager.js +247 -0
- package/dist_ts/classes/syncmanager.d.ts +189 -0
- package/dist_ts/classes/syncmanager.js +1787 -0
- package/dist_ts/index.d.ts +6 -0
- package/dist_ts/index.js +32 -0
- package/dist_ts/logging.d.ts +49 -0
- package/dist_ts/logging.js +134 -0
- package/dist_ts/opsserver/classes.opsserver.d.ts +25 -0
- package/dist_ts/opsserver/classes.opsserver.js +70 -0
- package/dist_ts/opsserver/handlers/actionlog.handler.d.ts +9 -0
- package/dist_ts/opsserver/handlers/actionlog.handler.js +24 -0
- package/dist_ts/opsserver/handlers/actions.handler.d.ts +9 -0
- package/dist_ts/opsserver/handlers/actions.handler.js +38 -0
- package/dist_ts/opsserver/handlers/admin.handler.d.ts +19 -0
- package/dist_ts/opsserver/handlers/admin.handler.js +96 -0
- package/dist_ts/opsserver/handlers/connections.handler.d.ts +10 -0
- package/dist_ts/opsserver/handlers/connections.handler.js +109 -0
- package/dist_ts/opsserver/handlers/groups.handler.d.ts +9 -0
- package/dist_ts/opsserver/handlers/groups.handler.js +24 -0
- package/dist_ts/opsserver/handlers/index.d.ts +13 -0
- package/dist_ts/opsserver/handlers/index.js +14 -0
- package/dist_ts/opsserver/handlers/jobs.handler.d.ts +16 -0
- package/dist_ts/opsserver/handlers/jobs.handler.js +146 -0
- package/dist_ts/opsserver/handlers/logs.handler.d.ts +9 -0
- package/dist_ts/opsserver/handlers/logs.handler.js +21 -0
- package/dist_ts/opsserver/handlers/managedsecrets.handler.d.ts +11 -0
- package/dist_ts/opsserver/handlers/managedsecrets.handler.js +110 -0
- package/dist_ts/opsserver/handlers/pipelines.handler.d.ts +31 -0
- package/dist_ts/opsserver/handlers/pipelines.handler.js +204 -0
- package/dist_ts/opsserver/handlers/projects.handler.d.ts +9 -0
- package/dist_ts/opsserver/handlers/projects.handler.js +24 -0
- package/dist_ts/opsserver/handlers/secrets.handler.d.ts +10 -0
- package/dist_ts/opsserver/handlers/secrets.handler.js +171 -0
- package/dist_ts/opsserver/handlers/sync.handler.d.ts +16 -0
- package/dist_ts/opsserver/handlers/sync.handler.js +166 -0
- package/dist_ts/opsserver/handlers/webhook.handler.d.ts +7 -0
- package/dist_ts/opsserver/handlers/webhook.handler.js +55 -0
- package/dist_ts/opsserver/helpers/guards.d.ts +5 -0
- package/dist_ts/opsserver/helpers/guards.js +12 -0
- package/dist_ts/opsserver/index.d.ts +1 -0
- package/dist_ts/opsserver/index.js +2 -0
- package/dist_ts/paths.d.ts +9 -0
- package/dist_ts/paths.js +13 -0
- package/dist_ts/plugins.d.ts +25 -0
- package/dist_ts/plugins.js +32 -0
- package/dist_ts/providers/classes.baseprovider.d.ts +51 -0
- package/dist_ts/providers/classes.baseprovider.js +17 -0
- package/dist_ts/providers/classes.giteaprovider.d.ts +40 -0
- package/dist_ts/providers/classes.giteaprovider.js +224 -0
- package/dist_ts/providers/classes.gitlabprovider.d.ts +39 -0
- package/dist_ts/providers/classes.gitlabprovider.js +207 -0
- package/dist_ts/providers/index.d.ts +3 -0
- package/dist_ts/providers/index.js +4 -0
- package/dist_ts/storage/classes.storagemanager.d.ts +33 -0
- package/dist_ts/storage/classes.storagemanager.js +135 -0
- package/dist_ts/storage/index.d.ts +2 -0
- package/dist_ts/storage/index.js +2 -0
- package/dist_ts/timers.d.ts +4 -0
- package/dist_ts/timers.js +24 -0
- package/dist_ts_bundled/bundle.d.ts +4 -0
- package/dist_ts_bundled/bundle.js +12 -0
- package/dist_ts_interfaces/data/actionlog.d.ts +12 -0
- package/dist_ts_interfaces/data/actionlog.js +2 -0
- package/dist_ts_interfaces/data/branch.d.ts +8 -0
- package/dist_ts_interfaces/data/branch.js +2 -0
- package/dist_ts_interfaces/data/connection.d.ts +12 -0
- package/dist_ts_interfaces/data/connection.js +2 -0
- package/dist_ts_interfaces/data/group.d.ts +10 -0
- package/dist_ts_interfaces/data/group.js +2 -0
- package/dist_ts_interfaces/data/identity.d.ts +7 -0
- package/dist_ts_interfaces/data/identity.js +2 -0
- package/dist_ts_interfaces/data/index.d.ts +11 -0
- package/dist_ts_interfaces/data/index.js +12 -0
- package/dist_ts_interfaces/data/job.d.ts +37 -0
- package/dist_ts_interfaces/data/job.js +2 -0
- package/dist_ts_interfaces/data/managedsecret.d.ts +37 -0
- package/dist_ts_interfaces/data/managedsecret.js +2 -0
- package/dist_ts_interfaces/data/pipeline.d.ts +22 -0
- package/dist_ts_interfaces/data/pipeline.js +2 -0
- package/dist_ts_interfaces/data/project.d.ts +12 -0
- package/dist_ts_interfaces/data/project.js +2 -0
- package/dist_ts_interfaces/data/secret.d.ts +11 -0
- package/dist_ts_interfaces/data/secret.js +2 -0
- package/dist_ts_interfaces/data/sync.d.ts +34 -0
- package/dist_ts_interfaces/data/sync.js +2 -0
- package/dist_ts_interfaces/index.d.ts +5 -0
- package/dist_ts_interfaces/index.js +8 -0
- package/dist_ts_interfaces/plugins.d.ts +2 -0
- package/dist_ts_interfaces/plugins.js +4 -0
- package/dist_ts_interfaces/requests/actionlog.d.ts +15 -0
- package/dist_ts_interfaces/requests/actionlog.js +3 -0
- package/dist_ts_interfaces/requests/actions.d.ts +31 -0
- package/dist_ts_interfaces/requests/actions.js +3 -0
- package/dist_ts_interfaces/requests/admin.d.ts +31 -0
- package/dist_ts_interfaces/requests/admin.js +3 -0
- package/dist_ts_interfaces/requests/connections.d.ts +71 -0
- package/dist_ts_interfaces/requests/connections.js +3 -0
- package/dist_ts_interfaces/requests/groups.d.ts +14 -0
- package/dist_ts_interfaces/requests/groups.js +3 -0
- package/dist_ts_interfaces/requests/index.d.ts +13 -0
- package/dist_ts_interfaces/requests/index.js +14 -0
- package/dist_ts_interfaces/requests/jobs.d.ts +86 -0
- package/dist_ts_interfaces/requests/jobs.js +3 -0
- package/dist_ts_interfaces/requests/logs.d.ts +14 -0
- package/dist_ts_interfaces/requests/logs.js +3 -0
- package/dist_ts_interfaces/requests/managedsecrets.d.ts +84 -0
- package/dist_ts_interfaces/requests/managedsecrets.js +3 -0
- package/dist_ts_interfaces/requests/pipelines.d.ts +55 -0
- package/dist_ts_interfaces/requests/pipelines.js +3 -0
- package/dist_ts_interfaces/requests/projects.d.ts +14 -0
- package/dist_ts_interfaces/requests/projects.js +3 -0
- package/dist_ts_interfaces/requests/secrets.d.ts +72 -0
- package/dist_ts_interfaces/requests/secrets.js +3 -0
- package/dist_ts_interfaces/requests/sync.d.ts +120 -0
- package/dist_ts_interfaces/requests/sync.js +3 -0
- package/dist_ts_interfaces/requests/webhook.d.ts +13 -0
- package/dist_ts_interfaces/requests/webhook.js +3 -0
- package/license +21 -0
- package/package.json +81 -0
- package/readme.md +177 -0
- package/readme.todo.md +3 -0
- package/ts/00_commitinfo_data.ts +8 -0
- package/ts/cache/classes.cache.cleaner.ts +69 -0
- package/ts/cache/classes.cached.document.ts +57 -0
- package/ts/cache/classes.cachedb.ts +72 -0
- package/ts/cache/classes.secrets.scan.service.ts +267 -0
- package/ts/cache/documents/classes.cached.project.ts +32 -0
- package/ts/cache/documents/classes.cached.secret.ts +81 -0
- package/ts/cache/documents/index.ts +2 -0
- package/ts/cache/index.ts +7 -0
- package/ts/classes/actionlog.ts +57 -0
- package/ts/classes/connectionmanager.ts +263 -0
- package/ts/classes/gitopsapp.ts +128 -0
- package/ts/classes/jobmanager.ts +337 -0
- package/ts/classes/jobrunners/autobookstackdocs.runner.ts +435 -0
- package/ts/classes/jobrunners/base.jobrunner.ts +16 -0
- package/ts/classes/jobrunners/index.ts +17 -0
- package/ts/classes/managedsecrets.manager.ts +322 -0
- package/ts/classes/syncmanager.ts +2117 -0
- package/ts/index.ts +37 -0
- package/ts/logging.ts +162 -0
- package/ts/opsserver/classes.opsserver.ts +86 -0
- package/ts/opsserver/handlers/actionlog.handler.ts +30 -0
- package/ts/opsserver/handlers/actions.handler.ts +50 -0
- package/ts/opsserver/handlers/admin.handler.ts +122 -0
- package/ts/opsserver/handlers/connections.handler.ts +162 -0
- package/ts/opsserver/handlers/groups.handler.ts +32 -0
- package/ts/opsserver/handlers/index.ts +13 -0
- package/ts/opsserver/handlers/jobs.handler.ts +189 -0
- package/ts/opsserver/handlers/logs.handler.ts +29 -0
- package/ts/opsserver/handlers/managedsecrets.handler.ts +158 -0
- package/ts/opsserver/handlers/pipelines.handler.ts +281 -0
- package/ts/opsserver/handlers/projects.handler.ts +32 -0
- package/ts/opsserver/handlers/secrets.handler.ts +224 -0
- package/ts/opsserver/handlers/sync.handler.ts +224 -0
- package/ts/opsserver/handlers/webhook.handler.ts +62 -0
- package/ts/opsserver/helpers/guards.ts +16 -0
- package/ts/opsserver/index.ts +1 -0
- package/ts/paths.ts +19 -0
- package/ts/plugins.ts +38 -0
- package/ts/providers/classes.baseprovider.ts +99 -0
- package/ts/providers/classes.giteaprovider.ts +279 -0
- package/ts/providers/classes.gitlabprovider.ts +265 -0
- package/ts/providers/index.ts +3 -0
- package/ts/storage/classes.storagemanager.ts +144 -0
- package/ts/storage/index.ts +2 -0
- package/ts/timers.ts +34 -0
- package/ts_interfaces/data/actionlog.ts +13 -0
- package/ts_interfaces/data/branch.ts +9 -0
- package/ts_interfaces/data/connection.ts +13 -0
- package/ts_interfaces/data/group.ts +10 -0
- package/ts_interfaces/data/identity.ts +7 -0
- package/ts_interfaces/data/index.ts +11 -0
- package/ts_interfaces/data/job.ts +42 -0
- package/ts_interfaces/data/managedsecret.ts +41 -0
- package/ts_interfaces/data/pipeline.ts +32 -0
- package/ts_interfaces/data/project.ts +12 -0
- package/ts_interfaces/data/secret.ts +11 -0
- package/ts_interfaces/data/sync.ts +37 -0
- package/ts_interfaces/index.ts +9 -0
- package/ts_interfaces/plugins.ts +6 -0
- package/ts_interfaces/requests/actionlog.ts +19 -0
- package/ts_interfaces/requests/actions.ts +39 -0
- package/ts_interfaces/requests/admin.ts +43 -0
- package/ts_interfaces/requests/connections.ts +95 -0
- package/ts_interfaces/requests/groups.ts +18 -0
- package/ts_interfaces/requests/index.ts +13 -0
- package/ts_interfaces/requests/jobs.ts +118 -0
- package/ts_interfaces/requests/logs.ts +18 -0
- package/ts_interfaces/requests/managedsecrets.ts +112 -0
- package/ts_interfaces/requests/pipelines.ts +71 -0
- package/ts_interfaces/requests/projects.ts +18 -0
- package/ts_interfaces/requests/secrets.ts +92 -0
- package/ts_interfaces/requests/sync.ts +157 -0
- package/ts_interfaces/requests/webhook.ts +18 -0
- package/ts_web/00_commitinfo_data.ts +8 -0
- package/ts_web/appstate.ts +1251 -0
- package/ts_web/elements/gitops-dashboard.ts +350 -0
- package/ts_web/elements/index.ts +10 -0
- package/ts_web/elements/shared/css.ts +29 -0
- package/ts_web/elements/shared/index.ts +1 -0
- package/ts_web/elements/views/actionlog/index.ts +101 -0
- package/ts_web/elements/views/actions/index.ts +209 -0
- package/ts_web/elements/views/buildlog/index.ts +196 -0
- package/ts_web/elements/views/connections/index.ts +260 -0
- package/ts_web/elements/views/groups/index.ts +134 -0
- package/ts_web/elements/views/jobs/index.ts +424 -0
- package/ts_web/elements/views/managedsecrets/index.ts +502 -0
- package/ts_web/elements/views/overview/index.ts +86 -0
- package/ts_web/elements/views/pipelines/index.ts +561 -0
- package/ts_web/elements/views/projects/index.ts +149 -0
- package/ts_web/elements/views/secrets/index.ts +310 -0
- package/ts_web/elements/views/sync/index.ts +512 -0
- package/ts_web/index.ts +7 -0
- package/ts_web/plugins.ts +15 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type TActionType = 'create' | 'update' | 'delete' | 'pause' | 'resume' | 'test' | 'scan' | 'sync' | 'obsolete' | 'push' | 'run';
|
|
2
|
+
export type TActionEntity = 'connection' | 'secret' | 'pipeline' | 'sync' | 'managed-secret' | 'job';
|
|
3
|
+
export interface IActionLogEntry {
|
|
4
|
+
id: string;
|
|
5
|
+
timestamp: number;
|
|
6
|
+
actionType: TActionType;
|
|
7
|
+
entityType: TActionEntity;
|
|
8
|
+
entityId: string;
|
|
9
|
+
entityName: string;
|
|
10
|
+
details: string;
|
|
11
|
+
username: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type TProviderType = 'gitea' | 'gitlab';
|
|
2
|
+
export interface IProviderConnection {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
providerType: TProviderType;
|
|
6
|
+
baseUrl: string;
|
|
7
|
+
token: string;
|
|
8
|
+
createdAt: number;
|
|
9
|
+
status: 'connected' | 'disconnected' | 'error' | 'paused';
|
|
10
|
+
groupFilter?: string;
|
|
11
|
+
groupFilterId?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './identity.js';
|
|
2
|
+
export * from './connection.js';
|
|
3
|
+
export * from './project.js';
|
|
4
|
+
export * from './group.js';
|
|
5
|
+
export * from './branch.js';
|
|
6
|
+
export * from './secret.js';
|
|
7
|
+
export * from './pipeline.js';
|
|
8
|
+
export * from './actionlog.js';
|
|
9
|
+
export * from './sync.js';
|
|
10
|
+
export * from './managedsecret.js';
|
|
11
|
+
export * from './job.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './identity.js';
|
|
2
|
+
export * from './connection.js';
|
|
3
|
+
export * from './project.js';
|
|
4
|
+
export * from './group.js';
|
|
5
|
+
export * from './branch.js';
|
|
6
|
+
export * from './secret.js';
|
|
7
|
+
export * from './pipeline.js';
|
|
8
|
+
export * from './actionlog.js';
|
|
9
|
+
export * from './sync.js';
|
|
10
|
+
export * from './managedsecret.js';
|
|
11
|
+
export * from './job.js';
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19pbnRlcmZhY2VzL2RhdGEvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGVBQWUsQ0FBQztBQUM5QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxVQUFVLENBQUMifQ==
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export type TJobType = 'autobookstackdocs';
|
|
2
|
+
export type TJobStatus = 'active' | 'paused' | 'error';
|
|
3
|
+
export interface IBookstackTarget {
|
|
4
|
+
baseUrl: string;
|
|
5
|
+
tokenId: string;
|
|
6
|
+
tokenSecret: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IAutoBookstackDocsConfig {
|
|
9
|
+
sourceConnectionIds: string[];
|
|
10
|
+
bookstackTarget: IBookstackTarget;
|
|
11
|
+
filePaths: string[];
|
|
12
|
+
docDirs: string[];
|
|
13
|
+
includeGroups?: string[];
|
|
14
|
+
excludeGroups?: string[];
|
|
15
|
+
propagateDeletes?: boolean;
|
|
16
|
+
syncVisibility?: boolean;
|
|
17
|
+
privateRoleId?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface IJobLogEntry {
|
|
20
|
+
timestamp: number;
|
|
21
|
+
level: 'info' | 'warn' | 'error' | 'success' | 'debug';
|
|
22
|
+
message: string;
|
|
23
|
+
source?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface IJobConfig {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
jobType: TJobType;
|
|
29
|
+
status: TJobStatus;
|
|
30
|
+
intervalMinutes: number;
|
|
31
|
+
lastRunAt: number;
|
|
32
|
+
lastRunDurationMs?: number;
|
|
33
|
+
lastRunError?: string;
|
|
34
|
+
createdAt: number;
|
|
35
|
+
updatedAt: number;
|
|
36
|
+
autoBookstackDocsConfig?: IAutoBookstackDocsConfig;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface IManagedSecretTarget {
|
|
2
|
+
connectionId: string;
|
|
3
|
+
scope: 'project' | 'group';
|
|
4
|
+
scopeId: string;
|
|
5
|
+
scopeName: string;
|
|
6
|
+
}
|
|
7
|
+
export type TPushStatus = 'pending' | 'success' | 'error';
|
|
8
|
+
export interface IManagedSecretTargetStatus {
|
|
9
|
+
connectionId: string;
|
|
10
|
+
scope: 'project' | 'group';
|
|
11
|
+
scopeId: string;
|
|
12
|
+
scopeName: string;
|
|
13
|
+
status: TPushStatus;
|
|
14
|
+
error?: string;
|
|
15
|
+
lastPushedAt?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface IManagedSecret {
|
|
18
|
+
id: string;
|
|
19
|
+
key: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
targets: IManagedSecretTarget[];
|
|
22
|
+
targetStatuses: IManagedSecretTargetStatus[];
|
|
23
|
+
createdAt: number;
|
|
24
|
+
updatedAt: number;
|
|
25
|
+
lastPushedAt?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface IManagedSecretStored {
|
|
28
|
+
id: string;
|
|
29
|
+
key: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
value: string;
|
|
32
|
+
targets: IManagedSecretTarget[];
|
|
33
|
+
targetStatuses: IManagedSecretTargetStatus[];
|
|
34
|
+
createdAt: number;
|
|
35
|
+
updatedAt: number;
|
|
36
|
+
lastPushedAt?: number;
|
|
37
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type TPipelineStatus = 'pending' | 'running' | 'success' | 'failed' | 'canceled' | 'skipped' | 'waiting' | 'manual';
|
|
2
|
+
export interface IPipeline {
|
|
3
|
+
id: string;
|
|
4
|
+
projectId: string;
|
|
5
|
+
projectName: string;
|
|
6
|
+
connectionId: string;
|
|
7
|
+
status: TPipelineStatus;
|
|
8
|
+
ref: string;
|
|
9
|
+
sha: string;
|
|
10
|
+
webUrl: string;
|
|
11
|
+
duration: number;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
source: string;
|
|
14
|
+
}
|
|
15
|
+
export interface IPipelineJob {
|
|
16
|
+
id: string;
|
|
17
|
+
pipelineId: string;
|
|
18
|
+
name: string;
|
|
19
|
+
stage: string;
|
|
20
|
+
status: TPipelineStatus;
|
|
21
|
+
duration: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type TSyncStatus = 'active' | 'paused' | 'error';
|
|
2
|
+
export interface ISyncConfig {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
sourceConnectionId: string;
|
|
6
|
+
targetConnectionId: string;
|
|
7
|
+
targetGroupOffset?: string;
|
|
8
|
+
intervalMinutes: number;
|
|
9
|
+
status: TSyncStatus;
|
|
10
|
+
lastSyncAt: number;
|
|
11
|
+
lastSyncError?: string;
|
|
12
|
+
lastSyncDurationMs?: number;
|
|
13
|
+
reposSynced: number;
|
|
14
|
+
enforceDelete: boolean;
|
|
15
|
+
enforceGroupDelete: boolean;
|
|
16
|
+
addMirrorHint?: boolean;
|
|
17
|
+
useGroupAvatarsForProjects?: boolean;
|
|
18
|
+
createdAt: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ISyncRepoStatus {
|
|
21
|
+
id: string;
|
|
22
|
+
syncConfigId: string;
|
|
23
|
+
sourceFullPath: string;
|
|
24
|
+
targetFullPath: string;
|
|
25
|
+
lastSyncAt: number;
|
|
26
|
+
lastSyncError?: string;
|
|
27
|
+
status: 'synced' | 'error' | 'pending';
|
|
28
|
+
}
|
|
29
|
+
export interface ISyncLogEntry {
|
|
30
|
+
timestamp: number;
|
|
31
|
+
level: 'info' | 'warn' | 'error' | 'success' | 'debug';
|
|
32
|
+
message: string;
|
|
33
|
+
source?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './plugins.js';
|
|
2
|
+
// Data types
|
|
3
|
+
import * as data from './data/index.js';
|
|
4
|
+
export { data };
|
|
5
|
+
// Request interfaces
|
|
6
|
+
import * as requests from './requests/index.js';
|
|
7
|
+
export { requests };
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90c19pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDO0FBRTdCLGFBQWE7QUFDYixPQUFPLEtBQUssSUFBSSxNQUFNLGlCQUFpQixDQUFDO0FBQ3hDLE9BQU8sRUFBRSxJQUFJLEVBQUUsQ0FBQztBQUVoQixxQkFBcUI7QUFDckIsT0FBTyxLQUFLLFFBQVEsTUFBTSxxQkFBcUIsQ0FBQztBQUNoRCxPQUFPLEVBQUUsUUFBUSxFQUFFLENBQUMifQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @apiglobal scope
|
|
2
|
+
import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
|
|
3
|
+
export { typedrequestInterfaces, };
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzX2ludGVyZmFjZXMvcGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtQkFBbUI7QUFDbkIsT0FBTyxLQUFLLHNCQUFzQixNQUFNLHFDQUFxQyxDQUFDO0FBRTlFLE9BQU8sRUFDTCxzQkFBc0IsR0FDdkIsQ0FBQyJ9
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
export interface IReq_GetActionLog extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetActionLog> {
|
|
4
|
+
method: 'getActionLog';
|
|
5
|
+
request: {
|
|
6
|
+
identity: data.IIdentity;
|
|
7
|
+
limit?: number;
|
|
8
|
+
offset?: number;
|
|
9
|
+
entityType?: data.TActionEntity;
|
|
10
|
+
};
|
|
11
|
+
response: {
|
|
12
|
+
entries: data.IActionLogEntry[];
|
|
13
|
+
total: number;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9ubG9nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHNfaW50ZXJmYWNlcy9yZXF1ZXN0cy9hY3Rpb25sb2cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxLQUFLLElBQUksTUFBTSxrQkFBa0IsQ0FBQyJ9
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
export interface IReq_ForceScanSecrets extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ForceScanSecrets> {
|
|
4
|
+
method: 'forceScanSecrets';
|
|
5
|
+
request: {
|
|
6
|
+
identity: data.IIdentity;
|
|
7
|
+
};
|
|
8
|
+
response: {
|
|
9
|
+
ok: boolean;
|
|
10
|
+
connectionsScanned: number;
|
|
11
|
+
secretsFound: number;
|
|
12
|
+
errors: string[];
|
|
13
|
+
durationMs: number;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface IReq_GetScanStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetScanStatus> {
|
|
17
|
+
method: 'getScanStatus';
|
|
18
|
+
request: {
|
|
19
|
+
identity: data.IIdentity;
|
|
20
|
+
};
|
|
21
|
+
response: {
|
|
22
|
+
lastScanTimestamp: number;
|
|
23
|
+
isScanning: boolean;
|
|
24
|
+
lastResult: {
|
|
25
|
+
connectionsScanned: number;
|
|
26
|
+
secretsFound: number;
|
|
27
|
+
errors: string[];
|
|
28
|
+
durationMs: number;
|
|
29
|
+
} | null;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzX2ludGVyZmFjZXMvcmVxdWVzdHMvYWN0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEtBQUssSUFBSSxNQUFNLGtCQUFrQixDQUFDIn0=
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
export interface IReq_AdminLogin extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_AdminLogin> {
|
|
4
|
+
method: 'adminLogin';
|
|
5
|
+
request: {
|
|
6
|
+
username: string;
|
|
7
|
+
password: string;
|
|
8
|
+
};
|
|
9
|
+
response: {
|
|
10
|
+
identity?: data.IIdentity;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface IReq_AdminLogout extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_AdminLogout> {
|
|
14
|
+
method: 'adminLogout';
|
|
15
|
+
request: {
|
|
16
|
+
identity: data.IIdentity;
|
|
17
|
+
};
|
|
18
|
+
response: {
|
|
19
|
+
ok: boolean;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export interface IReq_VerifyIdentity extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_VerifyIdentity> {
|
|
23
|
+
method: 'verifyIdentity';
|
|
24
|
+
request: {
|
|
25
|
+
identity: data.IIdentity;
|
|
26
|
+
};
|
|
27
|
+
response: {
|
|
28
|
+
valid: boolean;
|
|
29
|
+
identity?: data.IIdentity;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19pbnRlcmZhY2VzL3JlcXVlc3RzL2FkbWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sS0FBSyxJQUFJLE1BQU0sa0JBQWtCLENBQUMifQ==
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
export interface IReq_GetConnections extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetConnections> {
|
|
4
|
+
method: 'getConnections';
|
|
5
|
+
request: {
|
|
6
|
+
identity: data.IIdentity;
|
|
7
|
+
};
|
|
8
|
+
response: {
|
|
9
|
+
connections: data.IProviderConnection[];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export interface IReq_CreateConnection extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_CreateConnection> {
|
|
13
|
+
method: 'createConnection';
|
|
14
|
+
request: {
|
|
15
|
+
identity: data.IIdentity;
|
|
16
|
+
name: string;
|
|
17
|
+
providerType: data.TProviderType;
|
|
18
|
+
baseUrl: string;
|
|
19
|
+
token: string;
|
|
20
|
+
groupFilter?: string;
|
|
21
|
+
};
|
|
22
|
+
response: {
|
|
23
|
+
connection: data.IProviderConnection;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface IReq_UpdateConnection extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_UpdateConnection> {
|
|
27
|
+
method: 'updateConnection';
|
|
28
|
+
request: {
|
|
29
|
+
identity: data.IIdentity;
|
|
30
|
+
connectionId: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
baseUrl?: string;
|
|
33
|
+
token?: string;
|
|
34
|
+
groupFilter?: string;
|
|
35
|
+
};
|
|
36
|
+
response: {
|
|
37
|
+
connection: data.IProviderConnection;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export interface IReq_TestConnection extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_TestConnection> {
|
|
41
|
+
method: 'testConnection';
|
|
42
|
+
request: {
|
|
43
|
+
identity: data.IIdentity;
|
|
44
|
+
connectionId: string;
|
|
45
|
+
};
|
|
46
|
+
response: {
|
|
47
|
+
ok: boolean;
|
|
48
|
+
error?: string;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export interface IReq_PauseConnection extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_PauseConnection> {
|
|
52
|
+
method: 'pauseConnection';
|
|
53
|
+
request: {
|
|
54
|
+
identity: data.IIdentity;
|
|
55
|
+
connectionId: string;
|
|
56
|
+
paused: boolean;
|
|
57
|
+
};
|
|
58
|
+
response: {
|
|
59
|
+
connection: data.IProviderConnection;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export interface IReq_DeleteConnection extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_DeleteConnection> {
|
|
63
|
+
method: 'deleteConnection';
|
|
64
|
+
request: {
|
|
65
|
+
identity: data.IIdentity;
|
|
66
|
+
connectionId: string;
|
|
67
|
+
};
|
|
68
|
+
response: {
|
|
69
|
+
ok: boolean;
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ubmVjdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19pbnRlcmZhY2VzL3JlcXVlc3RzL2Nvbm5lY3Rpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sS0FBSyxJQUFJLE1BQU0sa0JBQWtCLENBQUMifQ==
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
export interface IReq_GetGroups extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetGroups> {
|
|
4
|
+
method: 'getGroups';
|
|
5
|
+
request: {
|
|
6
|
+
identity: data.IIdentity;
|
|
7
|
+
connectionId: string;
|
|
8
|
+
search?: string;
|
|
9
|
+
page?: number;
|
|
10
|
+
};
|
|
11
|
+
response: {
|
|
12
|
+
groups: data.IGroup[];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXBzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHNfaW50ZXJmYWNlcy9yZXF1ZXN0cy9ncm91cHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxLQUFLLElBQUksTUFBTSxrQkFBa0IsQ0FBQyJ9
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './admin.js';
|
|
2
|
+
export * from './connections.js';
|
|
3
|
+
export * from './projects.js';
|
|
4
|
+
export * from './groups.js';
|
|
5
|
+
export * from './secrets.js';
|
|
6
|
+
export * from './pipelines.js';
|
|
7
|
+
export * from './logs.js';
|
|
8
|
+
export * from './webhook.js';
|
|
9
|
+
export * from './actions.js';
|
|
10
|
+
export * from './actionlog.js';
|
|
11
|
+
export * from './sync.js';
|
|
12
|
+
export * from './managedsecrets.js';
|
|
13
|
+
export * from './jobs.js';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './admin.js';
|
|
2
|
+
export * from './connections.js';
|
|
3
|
+
export * from './projects.js';
|
|
4
|
+
export * from './groups.js';
|
|
5
|
+
export * from './secrets.js';
|
|
6
|
+
export * from './pipelines.js';
|
|
7
|
+
export * from './logs.js';
|
|
8
|
+
export * from './webhook.js';
|
|
9
|
+
export * from './actions.js';
|
|
10
|
+
export * from './actionlog.js';
|
|
11
|
+
export * from './sync.js';
|
|
12
|
+
export * from './managedsecrets.js';
|
|
13
|
+
export * from './jobs.js';
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19pbnRlcmZhY2VzL3JlcXVlc3RzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxXQUFXLENBQUMifQ==
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
export interface IReq_GetJobs extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetJobs> {
|
|
4
|
+
method: 'getJobs';
|
|
5
|
+
request: {
|
|
6
|
+
identity: data.IIdentity;
|
|
7
|
+
};
|
|
8
|
+
response: {
|
|
9
|
+
jobs: data.IJobConfig[];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export interface IReq_CreateJob extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_CreateJob> {
|
|
13
|
+
method: 'createJob';
|
|
14
|
+
request: {
|
|
15
|
+
identity: data.IIdentity;
|
|
16
|
+
name: string;
|
|
17
|
+
jobType: data.TJobType;
|
|
18
|
+
intervalMinutes: number;
|
|
19
|
+
autoBookstackDocsConfig?: data.IAutoBookstackDocsConfig;
|
|
20
|
+
};
|
|
21
|
+
response: {
|
|
22
|
+
job: data.IJobConfig;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface IReq_UpdateJob extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_UpdateJob> {
|
|
26
|
+
method: 'updateJob';
|
|
27
|
+
request: {
|
|
28
|
+
identity: data.IIdentity;
|
|
29
|
+
jobId: string;
|
|
30
|
+
name?: string;
|
|
31
|
+
intervalMinutes?: number;
|
|
32
|
+
autoBookstackDocsConfig?: data.IAutoBookstackDocsConfig;
|
|
33
|
+
};
|
|
34
|
+
response: {
|
|
35
|
+
job: data.IJobConfig;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export interface IReq_DeleteJob extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_DeleteJob> {
|
|
39
|
+
method: 'deleteJob';
|
|
40
|
+
request: {
|
|
41
|
+
identity: data.IIdentity;
|
|
42
|
+
jobId: string;
|
|
43
|
+
};
|
|
44
|
+
response: {
|
|
45
|
+
ok: boolean;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export interface IReq_PauseJob extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_PauseJob> {
|
|
49
|
+
method: 'pauseJob';
|
|
50
|
+
request: {
|
|
51
|
+
identity: data.IIdentity;
|
|
52
|
+
jobId: string;
|
|
53
|
+
paused: boolean;
|
|
54
|
+
};
|
|
55
|
+
response: {
|
|
56
|
+
job: data.IJobConfig;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export interface IReq_TriggerJob extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_TriggerJob> {
|
|
60
|
+
method: 'triggerJob';
|
|
61
|
+
request: {
|
|
62
|
+
identity: data.IIdentity;
|
|
63
|
+
jobId: string;
|
|
64
|
+
};
|
|
65
|
+
response: {
|
|
66
|
+
ok: boolean;
|
|
67
|
+
message: string;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export interface IReq_GetJobLogs extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetJobLogs> {
|
|
71
|
+
method: 'getJobLogs';
|
|
72
|
+
request: {
|
|
73
|
+
identity: data.IIdentity;
|
|
74
|
+
limit?: number;
|
|
75
|
+
};
|
|
76
|
+
response: {
|
|
77
|
+
logs: data.IJobLogEntry[];
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
export interface IReq_PushJobLog extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_PushJobLog> {
|
|
81
|
+
method: 'pushJobLog';
|
|
82
|
+
request: {
|
|
83
|
+
entry: data.IJobLogEntry;
|
|
84
|
+
};
|
|
85
|
+
response: {};
|
|
86
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiam9icy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzX2ludGVyZmFjZXMvcmVxdWVzdHMvam9icy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEtBQUssSUFBSSxNQUFNLGtCQUFrQixDQUFDIn0=
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
export interface IReq_GetJobLog extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetJobLog> {
|
|
4
|
+
method: 'getJobLog';
|
|
5
|
+
request: {
|
|
6
|
+
identity: data.IIdentity;
|
|
7
|
+
connectionId: string;
|
|
8
|
+
projectId: string;
|
|
9
|
+
jobId: string;
|
|
10
|
+
};
|
|
11
|
+
response: {
|
|
12
|
+
log: string;
|
|
13
|
+
};
|
|
14
|
+
}
|