attlaz-client 1.21.12 → 1.21.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.
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
export declare enum EntityType {
|
|
2
|
+
Organisation = "organisation",
|
|
2
3
|
Workspace = "workspace",
|
|
3
4
|
Project = "project",
|
|
4
5
|
ProjectEnvironment = "project-environment",
|
|
5
6
|
Flow = "flow",
|
|
6
7
|
FlowRun = "flow-run",
|
|
7
8
|
User = "user",
|
|
9
|
+
UserAuthProvider = "user-auth-provider",
|
|
8
10
|
WorkspaceMember = "workspace-member",
|
|
9
11
|
Adapter = "adapter",
|
|
10
12
|
AdapterConnection = "adapter-connection",
|
|
11
13
|
Trigger = "trigger",
|
|
12
14
|
Channel = "channel",
|
|
13
|
-
ChannelSubscriber = "channel-subscriber"
|
|
15
|
+
ChannelSubscriber = "channel-subscriber",
|
|
16
|
+
CodeSourceAccount = "code-source-account",
|
|
17
|
+
CodeSource = "code-source",
|
|
18
|
+
CodeSourceDeploy = "code-source-deploy",
|
|
19
|
+
StorageBucket = "storage-bucket",
|
|
20
|
+
LogStream = "log-stream"
|
|
14
21
|
}
|
|
15
22
|
export declare namespace EntityType {
|
|
16
23
|
const fromString: (input: string) => EntityType;
|
package/dist/Model/EntityType.js
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
import { Utils } from '../Utils.js';
|
|
2
2
|
export var EntityType;
|
|
3
3
|
(function (EntityType) {
|
|
4
|
+
EntityType["Organisation"] = "organisation";
|
|
4
5
|
EntityType["Workspace"] = "workspace";
|
|
5
6
|
EntityType["Project"] = "project";
|
|
6
7
|
EntityType["ProjectEnvironment"] = "project-environment";
|
|
7
8
|
EntityType["Flow"] = "flow";
|
|
8
9
|
EntityType["FlowRun"] = "flow-run";
|
|
9
10
|
EntityType["User"] = "user";
|
|
11
|
+
EntityType["UserAuthProvider"] = "user-auth-provider";
|
|
10
12
|
EntityType["WorkspaceMember"] = "workspace-member";
|
|
11
13
|
EntityType["Adapter"] = "adapter";
|
|
12
14
|
EntityType["AdapterConnection"] = "adapter-connection";
|
|
13
15
|
EntityType["Trigger"] = "trigger";
|
|
14
16
|
EntityType["Channel"] = "channel";
|
|
15
17
|
EntityType["ChannelSubscriber"] = "channel-subscriber";
|
|
18
|
+
EntityType["CodeSourceAccount"] = "code-source-account";
|
|
19
|
+
EntityType["CodeSource"] = "code-source";
|
|
20
|
+
EntityType["CodeSourceDeploy"] = "code-source-deploy";
|
|
21
|
+
EntityType["StorageBucket"] = "storage-bucket";
|
|
22
|
+
EntityType["LogStream"] = "log-stream";
|
|
16
23
|
})(EntityType || (EntityType = {}));
|
|
17
24
|
(function (EntityType) {
|
|
18
25
|
EntityType.fromString = (input) => {
|
|
@@ -10,11 +10,14 @@ import { EntityType } from '../EntityType.js';
|
|
|
10
10
|
import { WorkspaceMember } from '../Workspace/WorkspaceMember.js';
|
|
11
11
|
import { Trigger } from '../Trigger/Trigger.js';
|
|
12
12
|
import { Subscriber } from '../Messaging/Subscriber.js';
|
|
13
|
+
import { CodeSourceAccount } from '../Deployment/CodeSourceAccount.js';
|
|
14
|
+
import { CodeSource } from '../Deployment/CodeSource.js';
|
|
15
|
+
import { CodeDeploy } from '../Project/CodeDeploy.js';
|
|
13
16
|
export declare class SearchResult {
|
|
14
17
|
type: EntityType;
|
|
15
18
|
label: string;
|
|
16
19
|
description: string;
|
|
17
|
-
entity: Workspace | WorkspaceMember | Project | ProjectEnvironment | Flow | FlowRun | Trigger | Channel | Subscriber | Adapter | AdapterConnection;
|
|
20
|
+
entity: Workspace | WorkspaceMember | Project | ProjectEnvironment | Flow | FlowRun | Trigger | Channel | Subscriber | Adapter | AdapterConnection | CodeSourceAccount | CodeSource | CodeDeploy;
|
|
18
21
|
score: number;
|
|
19
22
|
static parse(rawResult: Record<string, unknown>): SearchResult;
|
|
20
23
|
}
|
|
@@ -10,6 +10,9 @@ import { EntityType } from '../EntityType.js';
|
|
|
10
10
|
import { WorkspaceMember } from '../Workspace/WorkspaceMember.js';
|
|
11
11
|
import { Trigger } from '../Trigger/Trigger.js';
|
|
12
12
|
import { Subscriber } from '../Messaging/Subscriber.js';
|
|
13
|
+
import { CodeSourceAccount } from '../Deployment/CodeSourceAccount.js';
|
|
14
|
+
import { CodeSource } from '../Deployment/CodeSource.js';
|
|
15
|
+
import { CodeDeploy } from '../Project/CodeDeploy.js';
|
|
13
16
|
export class SearchResult {
|
|
14
17
|
type;
|
|
15
18
|
label;
|
|
@@ -25,6 +28,10 @@ export class SearchResult {
|
|
|
25
28
|
searchResult.score = rawResult.score;
|
|
26
29
|
const rawEntity = rawResult.entity;
|
|
27
30
|
switch (searchResult.type) {
|
|
31
|
+
case EntityType.Organisation:
|
|
32
|
+
// TODO: implement
|
|
33
|
+
searchResult.entity = rawEntity;
|
|
34
|
+
break;
|
|
28
35
|
case EntityType.Workspace:
|
|
29
36
|
searchResult.entity = Workspace.parse(rawEntity);
|
|
30
37
|
break;
|
|
@@ -58,6 +65,23 @@ export class SearchResult {
|
|
|
58
65
|
case EntityType.Trigger:
|
|
59
66
|
searchResult.entity = Trigger.parse(rawEntity);
|
|
60
67
|
break;
|
|
68
|
+
case EntityType.CodeSourceAccount:
|
|
69
|
+
searchResult.entity = CodeSourceAccount.parse(rawEntity);
|
|
70
|
+
break;
|
|
71
|
+
case EntityType.CodeSource:
|
|
72
|
+
searchResult.entity = CodeSource.parse(rawEntity);
|
|
73
|
+
break;
|
|
74
|
+
case EntityType.CodeSourceDeploy:
|
|
75
|
+
searchResult.entity = CodeDeploy.parse(rawEntity);
|
|
76
|
+
break;
|
|
77
|
+
case EntityType.StorageBucket:
|
|
78
|
+
// TODO: implement
|
|
79
|
+
searchResult.entity = rawEntity;
|
|
80
|
+
break;
|
|
81
|
+
case EntityType.LogStream:
|
|
82
|
+
// TODO: implement
|
|
83
|
+
searchResult.entity = rawEntity;
|
|
84
|
+
break;
|
|
61
85
|
default:
|
|
62
86
|
throw new Error('Unknown search result type "' + searchResult.type + '"');
|
|
63
87
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.21.
|
|
1
|
+
export declare const VERSION = "1.21.12";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.21.
|
|
1
|
+
export const VERSION = "1.21.12";
|