@elyx-code/project-logic-tree 0.0.6904 → 0.0.6908
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/index.cjs +1 -1
- package/dist/index.d.ts +15 -3
- package/dist/index.js +20 -3
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import { InfrastructureResourceType } from '@elyx-code/definitions';
|
|
|
29
29
|
import { IPublication } from '@elyx-code/definitions';
|
|
30
30
|
import { IRelationalDatabaseDetails } from '@elyx-code/definitions';
|
|
31
31
|
import { IRelationalDatabaseInfrastructureResource } from '@elyx-code/definitions';
|
|
32
|
+
import { IRichProjectRoleDTO } from '@elyx-code/definitions';
|
|
32
33
|
import { IServerlessFunctionDetails } from '@elyx-code/definitions';
|
|
33
34
|
import { IServerlessFunctionInfrastructureResource } from '@elyx-code/definitions';
|
|
34
35
|
import { IWebsocketsClient } from '@elyx-code/common-ts-utils';
|
|
@@ -11899,7 +11900,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
11899
11900
|
get logicLoadingPromise(): Promise<void> | null;
|
|
11900
11901
|
get logic(): ProjectState | null;
|
|
11901
11902
|
get lastPublishedProjectState(): ProjectState | null;
|
|
11902
|
-
get
|
|
11903
|
+
get branchHead(): IActiveBranchHeadResult | null;
|
|
11903
11904
|
get projectId(): EntityId;
|
|
11904
11905
|
get sessionId(): string | null;
|
|
11905
11906
|
get userAuthorId(): string;
|
|
@@ -11918,6 +11919,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
11918
11919
|
get undoableStackValueIndex(): number;
|
|
11919
11920
|
set undoableStackValueIndex(value: number);
|
|
11920
11921
|
get activeWorkspace(): IWorkspace;
|
|
11922
|
+
get branches(): IBranch[];
|
|
11923
|
+
get roles(): IRichProjectRoleDTO[];
|
|
11921
11924
|
get PROJECT_NOTIFICATIONS_CHANNEL(): string;
|
|
11922
11925
|
getAccessToken(): Promise<string | null>;
|
|
11923
11926
|
getRefreshToken(): Promise<string | null>;
|
|
@@ -11940,6 +11943,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
11940
11943
|
getValueTypePreference(valueOwnerId: EntityId): DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null;
|
|
11941
11944
|
setValueTypePreference(valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null): void;
|
|
11942
11945
|
implementFeature(featureId: string): Promise<PersistChangeSetEntityActionRequestPayload>;
|
|
11946
|
+
getProjectRoles(): Promise<IRichProjectRoleDTO[]>;
|
|
11943
11947
|
}
|
|
11944
11948
|
|
|
11945
11949
|
export declare type DefaultExtensionContext = DefaultEditorContext | DefaultProjectLogicContext | DefaultPublicationRunContext;
|
|
@@ -12092,7 +12096,9 @@ export declare enum BaseValueDescriptorIds {
|
|
|
12092
12096
|
get id(): string;
|
|
12093
12097
|
get projectAutoIncrementPublicationCount(): number;
|
|
12094
12098
|
get projectPublishedSemanticVersion(): string;
|
|
12099
|
+
get envIdentifier(): string;
|
|
12095
12100
|
get projectVersion(): string;
|
|
12101
|
+
get projectBranchId(): string;
|
|
12096
12102
|
get projectId(): string;
|
|
12097
12103
|
get triggeredBy(): string;
|
|
12098
12104
|
get createdAt(): string;
|
|
@@ -21253,7 +21259,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
21253
21259
|
}
|
|
21254
21260
|
|
|
21255
21261
|
export declare interface IActiveBranchHeadResult {
|
|
21256
|
-
|
|
21262
|
+
branchId: string;
|
|
21257
21263
|
headVersion: string;
|
|
21258
21264
|
userAuthor: string;
|
|
21259
21265
|
timestamp: string;
|
|
@@ -21592,6 +21598,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
21592
21598
|
name: string;
|
|
21593
21599
|
identifier: string;
|
|
21594
21600
|
createdAt: string;
|
|
21601
|
+
default: boolean;
|
|
21595
21602
|
}
|
|
21596
21603
|
|
|
21597
21604
|
export declare interface IBranchHead {
|
|
@@ -22110,7 +22117,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
22110
22117
|
env: IEnvConfig;
|
|
22111
22118
|
logic: ProjectState | null;
|
|
22112
22119
|
lastPublishedProjectState: ProjectState | null;
|
|
22113
|
-
|
|
22120
|
+
branchHead: IActiveBranchHeadResult | null;
|
|
22114
22121
|
projectId: EntityId;
|
|
22115
22122
|
id: string;
|
|
22116
22123
|
sessionId: string | null;
|
|
@@ -22129,6 +22136,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
22129
22136
|
publications: PublicationRun[];
|
|
22130
22137
|
liveResources: InfrastructureResource_2[] | null;
|
|
22131
22138
|
activeWorkspace: IWorkspace;
|
|
22139
|
+
branches: IBranch[];
|
|
22140
|
+
roles: IRichProjectRoleDTO[];
|
|
22132
22141
|
onProjectHeadLoadedCallback: null | ((projectState: ProjectState) => void);
|
|
22133
22142
|
onLogicLoadingCompleteCallback: null | ((chunk: any) => void);
|
|
22134
22143
|
onProjectSetupErrorCallback: null | ((error: any) => void);
|
|
@@ -22181,6 +22190,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
22181
22190
|
requestExtension<T = any>(moduleId: string): IRegisteredExtension<T>;
|
|
22182
22191
|
initRegistry(): Promise<ExtensionsRegistry<any>>;
|
|
22183
22192
|
implementFeature(featureId: string): Promise<PersistChangeSetEntityActionRequestPayload>;
|
|
22193
|
+
getProjectRoles(): Promise<IRichProjectRoleDTO[]>;
|
|
22184
22194
|
}
|
|
22185
22195
|
|
|
22186
22196
|
export declare interface IEditorContext extends ExtensionContextBase<ExtensionContextType.Editor>, Omit<IEditor, 'onLogicLoadingComplete' | 'onLogicLoadingCompleteCallback' | 'onProjectHeadLoaded' | 'onProjectHeadLoadedCallback' | 'onProjectSetupError' | 'onProjectSetupErrorCallback' | 'onRenderedCallback' | 'handleIncommingWebsocketMessage' | 'handleNotificationChannelsMessage' | 'handlePersistChangeSetMessage' | 'handleReconnectingWebsocket' | 'handleChunkedChangeSetMessage' | 'getLogic' | 'injectLocalImplementationOfSearchExecution' | 'setup' | 'destroy' | 'requestExtension' | 'socket' | 'events' | 'initRegistry' | 'extensionsRegistry' | 'on' | 'emit' | 'off' | 'contextType' | 'registerNonDefaultLocalImplementationsOfModules'> {
|
|
@@ -31301,7 +31311,9 @@ export declare enum BaseValueDescriptorIds {
|
|
|
31301
31311
|
id: string;
|
|
31302
31312
|
projectAutoIncrementPublicationCount: number;
|
|
31303
31313
|
projectPublishedSemanticVersion: string;
|
|
31314
|
+
envIdentifier: string;
|
|
31304
31315
|
projectVersion: string;
|
|
31316
|
+
projectBranchId: string;
|
|
31305
31317
|
projectId: string;
|
|
31306
31318
|
triggeredBy: string;
|
|
31307
31319
|
createdAt: string;
|
package/dist/index.js
CHANGED
|
@@ -122287,8 +122287,8 @@ class dB extends eV {
|
|
|
122287
122287
|
get lastPublishedProjectState() {
|
|
122288
122288
|
return this._editor.lastPublishedProjectState;
|
|
122289
122289
|
}
|
|
122290
|
-
get
|
|
122291
|
-
return this._editor.
|
|
122290
|
+
get branchHead() {
|
|
122291
|
+
return this._editor.branchHead;
|
|
122292
122292
|
}
|
|
122293
122293
|
get projectId() {
|
|
122294
122294
|
return this._editor.projectId;
|
|
@@ -122344,6 +122344,12 @@ class dB extends eV {
|
|
|
122344
122344
|
get activeWorkspace() {
|
|
122345
122345
|
return this._editor.activeWorkspace;
|
|
122346
122346
|
}
|
|
122347
|
+
get branches() {
|
|
122348
|
+
return this._editor.branches;
|
|
122349
|
+
}
|
|
122350
|
+
get roles() {
|
|
122351
|
+
return this._editor.roles;
|
|
122352
|
+
}
|
|
122347
122353
|
get PROJECT_NOTIFICATIONS_CHANNEL() {
|
|
122348
122354
|
return this._editor.PROJECT_NOTIFICATIONS_CHANNEL;
|
|
122349
122355
|
}
|
|
@@ -122405,6 +122411,9 @@ class dB extends eV {
|
|
|
122405
122411
|
implementFeature(p) {
|
|
122406
122412
|
return this._editor.implementFeature(p);
|
|
122407
122413
|
}
|
|
122414
|
+
getProjectRoles() {
|
|
122415
|
+
return this._editor.getProjectRoles();
|
|
122416
|
+
}
|
|
122408
122417
|
}
|
|
122409
122418
|
function Qqi(s, p) {
|
|
122410
122419
|
return p instanceof dB ? p : new dB(s, p);
|
|
@@ -122422,9 +122431,15 @@ class uB extends eV {
|
|
|
122422
122431
|
get projectPublishedSemanticVersion() {
|
|
122423
122432
|
return this._publicationRun.projectPublishedSemanticVersion;
|
|
122424
122433
|
}
|
|
122434
|
+
get envIdentifier() {
|
|
122435
|
+
return this._publicationRun.envIdentifier;
|
|
122436
|
+
}
|
|
122425
122437
|
get projectVersion() {
|
|
122426
122438
|
return this._publicationRun.projectVersion;
|
|
122427
122439
|
}
|
|
122440
|
+
get projectBranchId() {
|
|
122441
|
+
return this._publicationRun.projectBranchId;
|
|
122442
|
+
}
|
|
122428
122443
|
get projectId() {
|
|
122429
122444
|
return this._publicationRun.projectId;
|
|
122430
122445
|
}
|
|
@@ -128005,7 +128020,9 @@ class TZi {
|
|
|
128005
128020
|
R(this, "id");
|
|
128006
128021
|
R(this, "projectAutoIncrementPublicationCount");
|
|
128007
128022
|
R(this, "projectPublishedSemanticVersion");
|
|
128023
|
+
R(this, "envIdentifier");
|
|
128008
128024
|
R(this, "projectVersion");
|
|
128025
|
+
R(this, "projectBranchId");
|
|
128009
128026
|
R(this, "projectId");
|
|
128010
128027
|
R(this, "triggeredBy");
|
|
128011
128028
|
R(this, "createdAt");
|
|
@@ -128019,7 +128036,7 @@ class TZi {
|
|
|
128019
128036
|
R(this, "finalStatus", null);
|
|
128020
128037
|
R(this, "contextType", ne.PublicationRun);
|
|
128021
128038
|
R(this, "extensionsRegistry");
|
|
128022
|
-
this.id = p.id, this.projectAutoIncrementPublicationCount = p.projectAutoIncrementPublicationCount, this.projectPublishedSemanticVersion = p.projectPublishedSemanticVersion, this.projectVersion = p.projectVersion, this.projectId = p.projectId, this.triggeredBy = p.triggeredBy, this.createdAt = p.createdAt, this.updatedAt = p.updatedAt, this.status = p.status, this.editor = i, this.initRegistry();
|
|
128039
|
+
this.id = p.id, this.projectAutoIncrementPublicationCount = p.projectAutoIncrementPublicationCount, this.projectPublishedSemanticVersion = p.projectPublishedSemanticVersion, this.envIdentifier = p.envIdentifier, this.projectVersion = p.projectVersion, this.projectBranchId = p.projectBranchId, this.projectId = p.projectId, this.triggeredBy = p.triggeredBy, this.createdAt = p.createdAt, this.updatedAt = p.updatedAt, this.status = p.status, this.editor = i, this.initRegistry();
|
|
128023
128040
|
}
|
|
128024
128041
|
get off() {
|
|
128025
128042
|
return this.extensionsRegistry.off;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6908",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"log:project": "tsx --tsconfig tsconfig.scripts.json scripts/describe-project.ts"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@elyx-code/definitions": "^0.0.
|
|
41
|
+
"@elyx-code/definitions": "^0.0.79999",
|
|
42
42
|
"axios": "^1.9.0",
|
|
43
43
|
"dayjs": "^1.11.13",
|
|
44
44
|
"sql-parser-cst": "^0.33.1",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@aws-sdk/client-s3": "^3.850.0",
|
|
50
|
-
"@elyx-code/common-ts-utils": "^0.0.
|
|
50
|
+
"@elyx-code/common-ts-utils": "^0.0.131",
|
|
51
51
|
"@elyx-code/compiler": "^0.0.8014",
|
|
52
52
|
"@nangohq/node": "^0.58.4",
|
|
53
53
|
"@nangohq/types": "^0.58.4",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"yaml": "^2.7.1"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@elyx-code/common-ts-utils": "^0.0.
|
|
68
|
+
"@elyx-code/common-ts-utils": "^0.0.131",
|
|
69
69
|
"sql-parser-cst": "^0.33.1"
|
|
70
70
|
},
|
|
71
71
|
"peerDependenciesMeta": {
|