@contrail/entity-types 1.1.63-alpha-assortments-0 → 1.1.63
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/lib/index.d.ts +10 -8
- package/lib/index.js +10 -8
- package/lib/workspace-principal.d.ts +24 -0
- package/lib/workspace-principal.js +9 -0
- package/lib/workspace.d.ts +32 -0
- package/lib/workspace.js +9 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
|
+
export * from './app';
|
|
1
2
|
export * from './app-access-grant';
|
|
2
3
|
export * from './app-api-key';
|
|
3
4
|
export * from './app-code-package';
|
|
5
|
+
export * from './app-extension';
|
|
6
|
+
export * from './app-extension-definition';
|
|
4
7
|
export * from './app-org';
|
|
5
8
|
export * from './app-version';
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './app-extension';
|
|
8
|
-
export * from './app';
|
|
9
|
+
export * from './asset';
|
|
9
10
|
export * from './assortment';
|
|
10
11
|
export * from './assortment-item';
|
|
11
12
|
export * from './assortment-summary';
|
|
12
|
-
export * from './asset';
|
|
13
13
|
export * from './base-managed-entity';
|
|
14
14
|
export * from './client';
|
|
15
|
+
export * from './composite-plans-summary';
|
|
15
16
|
export * from './content';
|
|
16
17
|
export * from './contentholder-content';
|
|
17
|
-
export * from './composite-plans-summary';
|
|
18
18
|
export * from './file';
|
|
19
19
|
export * from './item';
|
|
20
20
|
export * from './loader';
|
|
21
21
|
export * from './log-level';
|
|
22
22
|
export * from './org';
|
|
23
|
-
export * from './
|
|
23
|
+
export * from './org-managed-entity';
|
|
24
24
|
export * from './project';
|
|
25
|
+
export * from './project-item';
|
|
25
26
|
export * from './property-type';
|
|
26
|
-
export * from './org-managed-entity';
|
|
27
|
-
export * from './subscription';
|
|
28
27
|
export * from './shared-links';
|
|
28
|
+
export * from './subscription';
|
|
29
29
|
export * from './type-managed-entity';
|
|
30
30
|
export * from './user';
|
|
31
|
+
export * from './workspace';
|
|
31
32
|
export * from './workspace-managed-entity';
|
|
33
|
+
export * from './workspace-principal';
|
package/lib/index.js
CHANGED
|
@@ -14,34 +14,36 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./app"), exports);
|
|
17
18
|
__exportStar(require("./app-access-grant"), exports);
|
|
18
19
|
__exportStar(require("./app-api-key"), exports);
|
|
19
20
|
__exportStar(require("./app-code-package"), exports);
|
|
21
|
+
__exportStar(require("./app-extension"), exports);
|
|
22
|
+
__exportStar(require("./app-extension-definition"), exports);
|
|
20
23
|
__exportStar(require("./app-org"), exports);
|
|
21
24
|
__exportStar(require("./app-version"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./app-extension"), exports);
|
|
24
|
-
__exportStar(require("./app"), exports);
|
|
25
|
+
__exportStar(require("./asset"), exports);
|
|
25
26
|
__exportStar(require("./assortment"), exports);
|
|
26
27
|
__exportStar(require("./assortment-item"), exports);
|
|
27
28
|
__exportStar(require("./assortment-summary"), exports);
|
|
28
|
-
__exportStar(require("./asset"), exports);
|
|
29
29
|
__exportStar(require("./base-managed-entity"), exports);
|
|
30
30
|
__exportStar(require("./client"), exports);
|
|
31
|
+
__exportStar(require("./composite-plans-summary"), exports);
|
|
31
32
|
__exportStar(require("./content"), exports);
|
|
32
33
|
__exportStar(require("./contentholder-content"), exports);
|
|
33
|
-
__exportStar(require("./composite-plans-summary"), exports);
|
|
34
34
|
__exportStar(require("./file"), exports);
|
|
35
35
|
__exportStar(require("./item"), exports);
|
|
36
36
|
__exportStar(require("./loader"), exports);
|
|
37
37
|
__exportStar(require("./log-level"), exports);
|
|
38
38
|
__exportStar(require("./org"), exports);
|
|
39
|
-
__exportStar(require("./
|
|
39
|
+
__exportStar(require("./org-managed-entity"), exports);
|
|
40
40
|
__exportStar(require("./project"), exports);
|
|
41
|
+
__exportStar(require("./project-item"), exports);
|
|
41
42
|
__exportStar(require("./property-type"), exports);
|
|
42
|
-
__exportStar(require("./org-managed-entity"), exports);
|
|
43
|
-
__exportStar(require("./subscription"), exports);
|
|
44
43
|
__exportStar(require("./shared-links"), exports);
|
|
44
|
+
__exportStar(require("./subscription"), exports);
|
|
45
45
|
__exportStar(require("./type-managed-entity"), exports);
|
|
46
46
|
__exportStar(require("./user"), exports);
|
|
47
|
+
__exportStar(require("./workspace"), exports);
|
|
47
48
|
__exportStar(require("./workspace-managed-entity"), exports);
|
|
49
|
+
__exportStar(require("./workspace-principal"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TypeManagedEntity } from './type-managed-entity';
|
|
2
|
+
import { Workspace, WorkspaceType } from './workspace';
|
|
3
|
+
export declare enum WorkspacePrincipalRole {
|
|
4
|
+
admin = "ADMIN",
|
|
5
|
+
member = "MEMBER",
|
|
6
|
+
viewer = "VIEWER"
|
|
7
|
+
}
|
|
8
|
+
export interface WorkspacePrincipal extends TypeManagedEntity {
|
|
9
|
+
id: string;
|
|
10
|
+
createdOn?: Date;
|
|
11
|
+
updatedOn?: Date;
|
|
12
|
+
createdById?: string;
|
|
13
|
+
updatedById?: string;
|
|
14
|
+
createdBy?: any;
|
|
15
|
+
updatedBy?: any;
|
|
16
|
+
typeId?: string;
|
|
17
|
+
orgId?: string;
|
|
18
|
+
workspaceId?: string;
|
|
19
|
+
workspace?: Workspace;
|
|
20
|
+
workspaceType: WorkspaceType;
|
|
21
|
+
principalReference?: string;
|
|
22
|
+
principal?: any;
|
|
23
|
+
role?: WorkspacePrincipalRole;
|
|
24
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspacePrincipalRole = void 0;
|
|
4
|
+
var WorkspacePrincipalRole;
|
|
5
|
+
(function (WorkspacePrincipalRole) {
|
|
6
|
+
WorkspacePrincipalRole["admin"] = "ADMIN";
|
|
7
|
+
WorkspacePrincipalRole["member"] = "MEMBER";
|
|
8
|
+
WorkspacePrincipalRole["viewer"] = "VIEWER";
|
|
9
|
+
})(WorkspacePrincipalRole = exports.WorkspacePrincipalRole || (exports.WorkspacePrincipalRole = {}));
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TypeManagedEntity } from './type-managed-entity';
|
|
2
|
+
import { WorkspacePrincipal } from './workspace-principal';
|
|
3
|
+
export declare enum WorkspaceType {
|
|
4
|
+
project = "PROJECT",
|
|
5
|
+
folder = "FOLDER",
|
|
6
|
+
library = "LIBRARY"
|
|
7
|
+
}
|
|
8
|
+
export interface Workspace extends TypeManagedEntity {
|
|
9
|
+
id: string;
|
|
10
|
+
createdOn?: Date;
|
|
11
|
+
updatedOn?: Date;
|
|
12
|
+
createdById?: string;
|
|
13
|
+
updatedById?: string;
|
|
14
|
+
createdBy?: any;
|
|
15
|
+
updatedBy?: any;
|
|
16
|
+
typeId?: string;
|
|
17
|
+
orgId?: string;
|
|
18
|
+
name: string;
|
|
19
|
+
workspaceType?: WorkspaceType;
|
|
20
|
+
thumbnail?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
isArchived?: boolean;
|
|
23
|
+
parentId?: string;
|
|
24
|
+
parentWorkspace?: any;
|
|
25
|
+
projectId?: string;
|
|
26
|
+
project?: any;
|
|
27
|
+
rootWorkspaceId?: string;
|
|
28
|
+
rootWorkspace?: any;
|
|
29
|
+
rootWorkspaceType?: WorkspaceType;
|
|
30
|
+
workspacePrincipals?: WorkspacePrincipal[];
|
|
31
|
+
policyOwner: boolean;
|
|
32
|
+
}
|
package/lib/workspace.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkspaceType = void 0;
|
|
4
|
+
var WorkspaceType;
|
|
5
|
+
(function (WorkspaceType) {
|
|
6
|
+
WorkspaceType["project"] = "PROJECT";
|
|
7
|
+
WorkspaceType["folder"] = "FOLDER";
|
|
8
|
+
WorkspaceType["library"] = "LIBRARY";
|
|
9
|
+
})(WorkspaceType = exports.WorkspaceType || (exports.WorkspaceType = {}));
|