@elyx-code/project-logic-tree 0.0.6873 → 0.0.6874
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 +178 -178
- package/dist/index.d.ts +50 -6
- package/dist/index.js +26648 -26594
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10593,6 +10593,32 @@ export declare enum BaseValueDescriptorIds {
|
|
|
10593
10593
|
|
|
10594
10594
|
export declare const cronJobBuiltInBaseEntityRef: IBuiltInBaseEntityReference;
|
|
10595
10595
|
|
|
10596
|
+
export declare class CronJobEntity extends BuiltInBaseEntityState {
|
|
10597
|
+
initialData: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer;
|
|
10598
|
+
readonly id: BaseEntityNames;
|
|
10599
|
+
readonly version: EntityVersion;
|
|
10600
|
+
readonly name: BaseEntityNames;
|
|
10601
|
+
readonly description: string | null;
|
|
10602
|
+
readonly type: EntityType.BuiltInBaseEntity;
|
|
10603
|
+
readonly abstract: boolean;
|
|
10604
|
+
readonly static: boolean;
|
|
10605
|
+
readonly properties: PropertyState[];
|
|
10606
|
+
readonly methods: ActionDescriptorState[];
|
|
10607
|
+
readonly abstractMethods: ActionDescriptorState[];
|
|
10608
|
+
readonly extends: BuiltInBaseEntityState | PrimitiveEntityState | null;
|
|
10609
|
+
errors: EntityError[];
|
|
10610
|
+
project: ProjectState;
|
|
10611
|
+
constructor(parentProjectState: ProjectState);
|
|
10612
|
+
}
|
|
10613
|
+
|
|
10614
|
+
export declare enum CronjobExpressionValidationErrorCodes {
|
|
10615
|
+
InvalidCharacters = "cron-invalid-characters",
|
|
10616
|
+
MustHaveSixFields = "cron-must-have-six-fields",
|
|
10617
|
+
DayOfMonthAndWeekConflict = "cron-day-of-month-and-week-conflict"
|
|
10618
|
+
}
|
|
10619
|
+
|
|
10620
|
+
export declare function cronJobExpressionValueValidation(self: PropertyState, value: LiteralValueType): IValueValidationResult<LiteralValueType, CronjobExpressionValidationErrorCodes | CommonStringValidationErrorCodes>;
|
|
10621
|
+
|
|
10596
10622
|
export declare const cronJobHandlerVoidDataType: IDataTypeTransfer;
|
|
10597
10623
|
|
|
10598
10624
|
export declare const cronJobHandlerVoidDataTypeParentRef: IActionDescriptorReference;
|
|
@@ -20858,12 +20884,12 @@ export declare enum BaseValueDescriptorIds {
|
|
|
20858
20884
|
|
|
20859
20885
|
export declare const httpResponseHeadersReturnRef: IValueDescriptorReference;
|
|
20860
20886
|
|
|
20861
|
-
export declare enum
|
|
20887
|
+
export declare enum HttpStatusCodeValidationErrorCodes {
|
|
20862
20888
|
StatusCodeMustBeNumber = "status-code-must-be-number",
|
|
20863
20889
|
StatusCodeMustBeBetween100And599 = "status-code-must-be-between-100-and-599"
|
|
20864
20890
|
}
|
|
20865
20891
|
|
|
20866
|
-
export declare function httpStatusCodeValueValidation(self: ActionDescriptorState, value: LiteralValueType): IValueValidationResult<LiteralValueType,
|
|
20892
|
+
export declare function httpStatusCodeValueValidation(self: ActionDescriptorState, value: LiteralValueType): IValueValidationResult<LiteralValueType, HttpStatusCodeValidationErrorCodes>;
|
|
20867
20893
|
|
|
20868
20894
|
/** Humanize the difference between two times, e.g., "in 5 minutes" or "2 hours". */
|
|
20869
20895
|
export declare function humanizeDiff(a: ISODateString, b: ISODateString, withSuffix?: boolean): string;
|
|
@@ -31325,6 +31351,24 @@ export declare enum BaseValueDescriptorIds {
|
|
|
31325
31351
|
|
|
31326
31352
|
export declare const relationalDatabaseBuiltInBaseEntityUsernamePropertyRef: IPropertyReference;
|
|
31327
31353
|
|
|
31354
|
+
export declare class RelationalDatabaseEntity extends BuiltInBaseEntityState {
|
|
31355
|
+
initialData: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer;
|
|
31356
|
+
readonly id: BaseEntityNames;
|
|
31357
|
+
readonly version: EntityVersion;
|
|
31358
|
+
readonly name: BaseEntityNames;
|
|
31359
|
+
readonly description: string | null;
|
|
31360
|
+
readonly type: EntityType.BuiltInBaseEntity;
|
|
31361
|
+
readonly abstract: boolean;
|
|
31362
|
+
readonly static: boolean;
|
|
31363
|
+
readonly properties: PropertyState[];
|
|
31364
|
+
readonly methods: ActionDescriptorState[];
|
|
31365
|
+
readonly abstractMethods: ActionDescriptorState[];
|
|
31366
|
+
readonly extends: BuiltInBaseEntityState | PrimitiveEntityState | null;
|
|
31367
|
+
errors: EntityError[];
|
|
31368
|
+
project: ProjectState;
|
|
31369
|
+
constructor(parentProjectState: ProjectState);
|
|
31370
|
+
}
|
|
31371
|
+
|
|
31328
31372
|
export declare class RelationalDatabaseInfrastructureResource extends InfrastructureResource implements IRelationalDatabaseInfrastructureResource {
|
|
31329
31373
|
resourceType: InfrastructureResourceType.RelationalDatabase;
|
|
31330
31374
|
owners: Map<EntityId, DefinitionEntityState>;
|
|
@@ -33992,13 +34036,13 @@ export declare enum BaseValueDescriptorIds {
|
|
|
33992
34036
|
|
|
33993
34037
|
export declare function transitionProjectVersion(from: ChangeSet | 'initial', to: ChangeSet | 'initial', project: ProjectState): IProjectVersionTransitionConfig;
|
|
33994
34038
|
|
|
33995
|
-
export declare function translateLogicErrorCode(error: EntityError<SharedEntityErrorCode | EntityInstanceErrorCode |
|
|
34039
|
+
export declare function translateLogicErrorCode(error: EntityError<SharedEntityErrorCode | EntityInstanceErrorCode | HttpStatusCodeValidationErrorCodes | CronjobExpressionValidationErrorCodes | UUIDV4ValidationErrorCodes | CommonStringValidationErrorCodes>): string;
|
|
33996
34040
|
|
|
33997
|
-
export declare function translateLogicErrorCodeShort(error: EntityError<SharedEntityErrorCode | EntityInstanceErrorCode |
|
|
34041
|
+
export declare function translateLogicErrorCodeShort(error: EntityError<SharedEntityErrorCode | EntityInstanceErrorCode | HttpStatusCodeValidationErrorCodes | UUIDV4ValidationErrorCodes | CommonStringValidationErrorCodes>): string;
|
|
33998
34042
|
|
|
33999
|
-
export declare function translateLogicErrorCodeShortWithEntityName(error: EntityError<SharedEntityErrorCode | EntityInstanceErrorCode |
|
|
34043
|
+
export declare function translateLogicErrorCodeShortWithEntityName(error: EntityError<SharedEntityErrorCode | EntityInstanceErrorCode | HttpStatusCodeValidationErrorCodes | UUIDV4ValidationErrorCodes | CommonStringValidationErrorCodes>): string;
|
|
34000
34044
|
|
|
34001
|
-
export declare function translateLogicErrorCodeWithEntityName(error: EntityError<SharedEntityErrorCode | EntityInstanceErrorCode |
|
|
34045
|
+
export declare function translateLogicErrorCodeWithEntityName(error: EntityError<SharedEntityErrorCode | EntityInstanceErrorCode | HttpStatusCodeValidationErrorCodes | UUIDV4ValidationErrorCodes | CommonStringValidationErrorCodes>): string;
|
|
34002
34046
|
|
|
34003
34047
|
export declare function traverseChangeSet(changeSet: ChangeSet, onAdded: (entity: UserManagedEntityState) => void, onUpdated: (entity: UserManagedEntityState) => void, onRemoved: (entity: UserManagedEntityState) => void, onAffected: (entity: UserManagedEntityState) => void): void;
|
|
34004
34048
|
|