@contember/client 0.8.0-alpha.7 → 0.8.0-alpha.8
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/dist/client.d.ts +0 -35
- package/dist/development/index.js +0 -2
- package/dist/development/index.js.map +1 -1
- package/dist/production/index.js +0 -2
- package/dist/production/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/development/system/diffQuery.js +0 -30
- package/dist/development/system/diffQuery.js.map +0 -1
- package/dist/development/system/releaseTreeMutation.js +0 -9
- package/dist/development/system/releaseTreeMutation.js.map +0 -1
- package/dist/production/system/diffQuery.js +0 -29
- package/dist/production/system/diffQuery.js.map +0 -1
- package/dist/production/system/releaseTreeMutation.js +0 -8
- package/dist/production/system/releaseTreeMutation.js.map +0 -1
package/dist/client.d.ts
CHANGED
|
@@ -53,30 +53,6 @@ declare type DeleteMutationArguments = 'by';
|
|
|
53
53
|
|
|
54
54
|
declare type DeleteMutationFields = 'ok' | 'node' | 'errors' | 'errorMessage';
|
|
55
55
|
|
|
56
|
-
export declare const diffQuery = "query($stage: String!, $filter: [TreeFilter!]!) {\n\tdiff(stage: $stage, filter: $filter) {\n\t\tok\n\t\terrors\n\t\tresult {\n\t\t\tbase {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tslug\n\t\t\t}\n\t\t\thead {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tslug\n\t\t\t}\n\t\t\tevents {\n\t\t\t\tid\n\t\t\t\ttype\n\t\t\t\ttransactionId\n\t\t\t\tdependencies\n\t\t\t\tdescription\n\t\t\t\tcreatedAt\n\t\t\t\tidentityDescription\n\t\t\t}\n\t\t}\n\t}\n}";
|
|
57
|
-
|
|
58
|
-
export declare interface DiffQueryResponse {
|
|
59
|
-
data: {
|
|
60
|
-
diff: {
|
|
61
|
-
ok: boolean;
|
|
62
|
-
errors: Array<'STAGE_NOT_FOUND' | 'MISSING_BASE' | 'NOT_REBASED'>;
|
|
63
|
-
result: null | {
|
|
64
|
-
head: {
|
|
65
|
-
id: string;
|
|
66
|
-
name: string;
|
|
67
|
-
slug: string;
|
|
68
|
-
};
|
|
69
|
-
base: {
|
|
70
|
-
id: string;
|
|
71
|
-
name: string;
|
|
72
|
-
slug: string;
|
|
73
|
-
};
|
|
74
|
-
events: SystemEvent[];
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
56
|
export declare interface FileUploader<Result = any, Error extends FileUploadError = FileUploadError> {
|
|
81
57
|
upload: (files: Map<File, UploadedFileMetadata>, options: FileUploaderInitializeOptions<Result, Error>) => Promise<void>;
|
|
82
58
|
destroy?: (files: Result[]) => Promise<void>;
|
|
@@ -472,17 +448,6 @@ export declare interface RelationFilter {
|
|
|
472
448
|
relations: RelationFilter[];
|
|
473
449
|
}
|
|
474
450
|
|
|
475
|
-
export declare const releaseTreeMutation = "mutation ($stage: String!, $filter: [TreeFilter!]!) {\n\treleaseTree(stage: $stage, tree: $filter) {\n\t\tok\n\t\terrors\n\t}\n}";
|
|
476
|
-
|
|
477
|
-
export declare interface ReleaseTreeMutationResponse {
|
|
478
|
-
data: {
|
|
479
|
-
releaseTree: {
|
|
480
|
-
ok: boolean;
|
|
481
|
-
errors: Array<'STAGE_NOT_FOUND' | 'MISSING_BASE' | 'FORBIDDEN' | 'NOT_REBASED'>;
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
}
|
|
485
|
-
|
|
486
451
|
export declare namespace Result {
|
|
487
452
|
export type MutationFieldResult = CreateResult | UpdateResult | DeleteResult;
|
|
488
453
|
export interface CreateResult {
|
|
@@ -9,9 +9,7 @@ export { S3FileUploader } from './content/upload/S3FileUploader.js';
|
|
|
9
9
|
export { whereToFilter } from './content/params/whereToFilter.js';
|
|
10
10
|
export { formatContentApiRelativeUrl } from './content/formatContentApiRelativeUrl.js';
|
|
11
11
|
export { GraphQlClient } from './graphQlClient/GraphQlClient.js';
|
|
12
|
-
export { diffQuery } from './system/diffQuery.js';
|
|
13
12
|
export { formatSystemApiRelativeUrl } from './system/formatSystemApiRelativeUrl.js';
|
|
14
|
-
export { releaseTreeMutation } from './system/releaseTreeMutation.js';
|
|
15
13
|
export { loginMutation } from './tenant/loginMutation.js';
|
|
16
14
|
export { tenantApiRelativeUrl } from './tenant/tenantApiRelativeUrl.js';
|
|
17
15
|
export { getTenantErrorMessage, tenantErrorMessages } from './tenant/tenantErrorMessages.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
package/dist/production/index.js
CHANGED
|
@@ -9,9 +9,7 @@ export { S3FileUploader } from "./content/upload/S3FileUploader.js";
|
|
|
9
9
|
export { whereToFilter } from "./content/params/whereToFilter.js";
|
|
10
10
|
export { formatContentApiRelativeUrl } from "./content/formatContentApiRelativeUrl.js";
|
|
11
11
|
export { GraphQlClient } from "./graphQlClient/GraphQlClient.js";
|
|
12
|
-
export { diffQuery } from "./system/diffQuery.js";
|
|
13
12
|
export { formatSystemApiRelativeUrl } from "./system/formatSystemApiRelativeUrl.js";
|
|
14
|
-
export { releaseTreeMutation } from "./system/releaseTreeMutation.js";
|
|
15
13
|
export { loginMutation } from "./tenant/loginMutation.js";
|
|
16
14
|
export { tenantApiRelativeUrl } from "./tenant/tenantApiRelativeUrl.js";
|
|
17
15
|
export { getTenantErrorMessage, tenantErrorMessages } from "./tenant/tenantErrorMessages.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const diffQuery = `query($stage: String!, $filter: [TreeFilter!]!) {
|
|
2
|
-
diff(stage: $stage, filter: $filter) {
|
|
3
|
-
ok
|
|
4
|
-
errors
|
|
5
|
-
result {
|
|
6
|
-
base {
|
|
7
|
-
id
|
|
8
|
-
name
|
|
9
|
-
slug
|
|
10
|
-
}
|
|
11
|
-
head {
|
|
12
|
-
id
|
|
13
|
-
name
|
|
14
|
-
slug
|
|
15
|
-
}
|
|
16
|
-
events {
|
|
17
|
-
id
|
|
18
|
-
type
|
|
19
|
-
transactionId
|
|
20
|
-
dependencies
|
|
21
|
-
description
|
|
22
|
-
createdAt
|
|
23
|
-
identityDescription
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}`;
|
|
28
|
-
|
|
29
|
-
export { diffQuery };
|
|
30
|
-
//# sourceMappingURL=diffQuery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"diffQuery.js","sources":["../../../src/system/diffQuery.ts"],"sourcesContent":["import type { SystemEvent } from './events'\n\nexport interface DiffQueryResponse {\n\tdata: {\n\t\tdiff: {\n\t\t\tok: boolean\n\t\t\terrors: Array<'STAGE_NOT_FOUND' | 'MISSING_BASE' | 'NOT_REBASED'>\n\t\t\tresult: null | {\n\t\t\t\thead: {\n\t\t\t\t\tid: string\n\t\t\t\t\tname: string\n\t\t\t\t\tslug: string\n\t\t\t\t}\n\t\t\t\tbase: {\n\t\t\t\t\tid: string\n\t\t\t\t\tname: string\n\t\t\t\t\tslug: string\n\t\t\t\t}\n\t\t\t\tevents: SystemEvent[]\n\t\t\t}\n\t\t}\n\t}\n}\n\nexport const diffQuery = `query($stage: String!, $filter: [TreeFilter!]!) {\n\tdiff(stage: $stage, filter: $filter) {\n\t\tok\n\t\terrors\n\t\tresult {\n\t\t\tbase {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tslug\n\t\t\t}\n\t\t\thead {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tslug\n\t\t\t}\n\t\t\tevents {\n\t\t\t\tid\n\t\t\t\ttype\n\t\t\t\ttransactionId\n\t\t\t\tdependencies\n\t\t\t\tdescription\n\t\t\t\tcreatedAt\n\t\t\t\tidentityDescription\n\t\t\t}\n\t\t}\n\t}\n}`\n"],"names":[],"mappings":"MAwBa,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"releaseTreeMutation.js","sources":["../../../src/system/releaseTreeMutation.ts"],"sourcesContent":["export interface ReleaseTreeMutationResponse {\n\tdata: {\n\t\treleaseTree: {\n\t\t\tok: boolean\n\t\t\terrors: Array<'STAGE_NOT_FOUND' | 'MISSING_BASE' | 'FORBIDDEN' | 'NOT_REBASED'>\n\t\t}\n\t}\n}\n\nexport const releaseTreeMutation = `mutation ($stage: String!, $filter: [TreeFilter!]!) {\n\treleaseTree(stage: $stage, tree: $filter) {\n\t\tok\n\t\terrors\n\t}\n}`\n"],"names":[],"mappings":"MASa,sBAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;;;;"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const diffQuery = `query($stage: String!, $filter: [TreeFilter!]!) {
|
|
2
|
-
diff(stage: $stage, filter: $filter) {
|
|
3
|
-
ok
|
|
4
|
-
errors
|
|
5
|
-
result {
|
|
6
|
-
base {
|
|
7
|
-
id
|
|
8
|
-
name
|
|
9
|
-
slug
|
|
10
|
-
}
|
|
11
|
-
head {
|
|
12
|
-
id
|
|
13
|
-
name
|
|
14
|
-
slug
|
|
15
|
-
}
|
|
16
|
-
events {
|
|
17
|
-
id
|
|
18
|
-
type
|
|
19
|
-
transactionId
|
|
20
|
-
dependencies
|
|
21
|
-
description
|
|
22
|
-
createdAt
|
|
23
|
-
identityDescription
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}`;
|
|
28
|
-
export { diffQuery };
|
|
29
|
-
//# sourceMappingURL=diffQuery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"diffQuery.js","sources":["../../../src/system/diffQuery.ts"],"sourcesContent":["import type { SystemEvent } from './events'\n\nexport interface DiffQueryResponse {\n\tdata: {\n\t\tdiff: {\n\t\t\tok: boolean\n\t\t\terrors: Array<'STAGE_NOT_FOUND' | 'MISSING_BASE' | 'NOT_REBASED'>\n\t\t\tresult: null | {\n\t\t\t\thead: {\n\t\t\t\t\tid: string\n\t\t\t\t\tname: string\n\t\t\t\t\tslug: string\n\t\t\t\t}\n\t\t\t\tbase: {\n\t\t\t\t\tid: string\n\t\t\t\t\tname: string\n\t\t\t\t\tslug: string\n\t\t\t\t}\n\t\t\t\tevents: SystemEvent[]\n\t\t\t}\n\t\t}\n\t}\n}\n\nexport const diffQuery = `query($stage: String!, $filter: [TreeFilter!]!) {\n\tdiff(stage: $stage, filter: $filter) {\n\t\tok\n\t\terrors\n\t\tresult {\n\t\t\tbase {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tslug\n\t\t\t}\n\t\t\thead {\n\t\t\t\tid\n\t\t\t\tname\n\t\t\t\tslug\n\t\t\t}\n\t\t\tevents {\n\t\t\t\tid\n\t\t\t\ttype\n\t\t\t\ttransactionId\n\t\t\t\tdependencies\n\t\t\t\tdescription\n\t\t\t\tcreatedAt\n\t\t\t\tidentityDescription\n\t\t\t}\n\t\t}\n\t}\n}`\n"],"names":[],"mappings":"MAwBa,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"releaseTreeMutation.js","sources":["../../../src/system/releaseTreeMutation.ts"],"sourcesContent":["export interface ReleaseTreeMutationResponse {\n\tdata: {\n\t\treleaseTree: {\n\t\t\tok: boolean\n\t\t\terrors: Array<'STAGE_NOT_FOUND' | 'MISSING_BASE' | 'FORBIDDEN' | 'NOT_REBASED'>\n\t\t}\n\t}\n}\n\nexport const releaseTreeMutation = `mutation ($stage: String!, $filter: [TreeFilter!]!) {\n\treleaseTree(stage: $stage, tree: $filter) {\n\t\tok\n\t\terrors\n\t}\n}`\n"],"names":[],"mappings":"MASa,sBAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;;"}
|