@elyx-code/project-logic-tree 0.0.7107 → 0.0.7109
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 +315 -315
- package/dist/index.d.ts +241 -1
- package/dist/index.js +53709 -51891
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1276,6 +1276,15 @@ export declare enum BaseValueDescriptorIds {
|
|
|
1276
1276
|
id: string;
|
|
1277
1277
|
};
|
|
1278
1278
|
};
|
|
1279
|
+
isBodyBase64Encoded: {
|
|
1280
|
+
id: string;
|
|
1281
|
+
dataType: {
|
|
1282
|
+
id: string;
|
|
1283
|
+
};
|
|
1284
|
+
defaultValue: {
|
|
1285
|
+
id: string;
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1279
1288
|
};
|
|
1280
1289
|
dataType: {
|
|
1281
1290
|
id: string;
|
|
@@ -4450,6 +4459,103 @@ export declare enum BaseValueDescriptorIds {
|
|
|
4450
4459
|
id: string;
|
|
4451
4460
|
};
|
|
4452
4461
|
};
|
|
4462
|
+
"op-data-type-parse-multipart-body": {
|
|
4463
|
+
id: DataTypeOperations;
|
|
4464
|
+
inputs: {
|
|
4465
|
+
body: {
|
|
4466
|
+
id: string;
|
|
4467
|
+
dataType: {
|
|
4468
|
+
id: string;
|
|
4469
|
+
};
|
|
4470
|
+
};
|
|
4471
|
+
headers: {
|
|
4472
|
+
id: string;
|
|
4473
|
+
dataType: {
|
|
4474
|
+
id: string;
|
|
4475
|
+
};
|
|
4476
|
+
};
|
|
4477
|
+
};
|
|
4478
|
+
dataType: {
|
|
4479
|
+
id: string;
|
|
4480
|
+
entity: {
|
|
4481
|
+
id: string;
|
|
4482
|
+
properties: {
|
|
4483
|
+
files: {
|
|
4484
|
+
id: string;
|
|
4485
|
+
dataType: {
|
|
4486
|
+
id: string;
|
|
4487
|
+
};
|
|
4488
|
+
};
|
|
4489
|
+
fields: {
|
|
4490
|
+
id: string;
|
|
4491
|
+
dataType: {
|
|
4492
|
+
id: string;
|
|
4493
|
+
};
|
|
4494
|
+
};
|
|
4495
|
+
};
|
|
4496
|
+
};
|
|
4497
|
+
};
|
|
4498
|
+
error: {
|
|
4499
|
+
id: string;
|
|
4500
|
+
};
|
|
4501
|
+
};
|
|
4502
|
+
"op-data-type-parse-data-uri": {
|
|
4503
|
+
id: DataTypeOperations;
|
|
4504
|
+
inputs: {
|
|
4505
|
+
dataUri: {
|
|
4506
|
+
id: string;
|
|
4507
|
+
dataType: {
|
|
4508
|
+
id: string;
|
|
4509
|
+
};
|
|
4510
|
+
};
|
|
4511
|
+
};
|
|
4512
|
+
dataType: {
|
|
4513
|
+
id: string;
|
|
4514
|
+
entity: {
|
|
4515
|
+
id: string;
|
|
4516
|
+
properties: {
|
|
4517
|
+
mimeType: {
|
|
4518
|
+
id: string;
|
|
4519
|
+
dataType: {
|
|
4520
|
+
id: string;
|
|
4521
|
+
};
|
|
4522
|
+
};
|
|
4523
|
+
base64: {
|
|
4524
|
+
id: string;
|
|
4525
|
+
dataType: {
|
|
4526
|
+
id: string;
|
|
4527
|
+
};
|
|
4528
|
+
};
|
|
4529
|
+
bytes: {
|
|
4530
|
+
id: string;
|
|
4531
|
+
dataType: {
|
|
4532
|
+
id: string;
|
|
4533
|
+
};
|
|
4534
|
+
};
|
|
4535
|
+
};
|
|
4536
|
+
};
|
|
4537
|
+
};
|
|
4538
|
+
error: {
|
|
4539
|
+
id: string;
|
|
4540
|
+
};
|
|
4541
|
+
};
|
|
4542
|
+
"op-data-type-detect-mime-type-from-bytes": {
|
|
4543
|
+
id: DataTypeOperations;
|
|
4544
|
+
inputs: {
|
|
4545
|
+
bytes: {
|
|
4546
|
+
id: string;
|
|
4547
|
+
dataType: {
|
|
4548
|
+
id: string;
|
|
4549
|
+
};
|
|
4550
|
+
};
|
|
4551
|
+
};
|
|
4552
|
+
dataType: {
|
|
4553
|
+
id: string;
|
|
4554
|
+
};
|
|
4555
|
+
error: {
|
|
4556
|
+
id: string;
|
|
4557
|
+
};
|
|
4558
|
+
};
|
|
4453
4559
|
"op-json-parse": {
|
|
4454
4560
|
id: JsonOperations;
|
|
4455
4561
|
inputs: {
|
|
@@ -11069,6 +11175,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
11069
11175
|
|
|
11070
11176
|
export declare function checkHasBaseEntity(entity: DefinitionEntityState | BuiltInBaseEntityState, baseEntityName: BaseEntityNames): boolean;
|
|
11071
11177
|
|
|
11178
|
+
export declare function checkHasBasePrimitive(entity: PrimitiveEntityState, primitiveType: PrimitiveTypes): boolean;
|
|
11179
|
+
|
|
11072
11180
|
export declare function checkHasMetadataChanged(currentEntityState: EntityState, newMetadata: Partial<Element_2 | ElementTransfer | ElementShallowTransfer>): boolean;
|
|
11073
11181
|
|
|
11074
11182
|
/**
|
|
@@ -12949,6 +13057,16 @@ export declare enum BaseValueDescriptorIds {
|
|
|
12949
13057
|
ForeignKeyRefField = "foreign-key-ref-field"
|
|
12950
13058
|
}
|
|
12951
13059
|
|
|
13060
|
+
export declare const dataTypeDetectMimeTypeFromBytesBytesDT: IDataTypeTransfer;
|
|
13061
|
+
|
|
13062
|
+
export declare const dataTypeDetectMimeTypeFromBytesBytesValue: IValueDescriptorTransfer;
|
|
13063
|
+
|
|
13064
|
+
export declare const dataTypeDetectMimeTypeFromBytesError: IValueDescriptorTransfer;
|
|
13065
|
+
|
|
13066
|
+
export declare const dataTypeDetectMimeTypeFromBytesOperation: IActionDescriptorTransfer;
|
|
13067
|
+
|
|
13068
|
+
export declare const dataTypeDetectMimeTypeFromBytesResponseDT: IDataTypeTransfer;
|
|
13069
|
+
|
|
12952
13070
|
export declare const dataTypeEncodeBase64Bytes: IValueDescriptorTransfer;
|
|
12953
13071
|
|
|
12954
13072
|
export declare const dataTypeEncodeBase64BytesDT: IDataTypeTransfer;
|
|
@@ -13034,7 +13152,10 @@ export declare enum BaseValueDescriptorIds {
|
|
|
13034
13152
|
EncodeHex = "op-data-type-encode-hex",
|
|
13035
13153
|
DecodeHex = "op-data-type-decode-hex",
|
|
13036
13154
|
BytesToFileReference = "op-data-type-bytes-to-file-reference",
|
|
13037
|
-
FileReferenceToBytes = "op-data-type-file-reference-to-bytes"
|
|
13155
|
+
FileReferenceToBytes = "op-data-type-file-reference-to-bytes",
|
|
13156
|
+
ParseMultipartBody = "op-data-type-parse-multipart-body",
|
|
13157
|
+
ParseDataUri = "op-data-type-parse-data-uri",
|
|
13158
|
+
DetectMimeTypeFromBytes = "op-data-type-detect-mime-type-from-bytes"
|
|
13038
13159
|
}
|
|
13039
13160
|
|
|
13040
13161
|
export declare enum DataTypeParentChildRelation {
|
|
@@ -13044,6 +13165,30 @@ export declare enum BaseValueDescriptorIds {
|
|
|
13044
13165
|
|
|
13045
13166
|
export declare type DataTypeParentEntityState = UserManagedDataTypeParentEntityState | BuiltInBaseEntityState;
|
|
13046
13167
|
|
|
13168
|
+
export declare const dataTypeParseDataUriDataUriDT: IDataTypeTransfer;
|
|
13169
|
+
|
|
13170
|
+
export declare const dataTypeParseDataUriDataUriValue: IValueDescriptorTransfer;
|
|
13171
|
+
|
|
13172
|
+
export declare const dataTypeParseDataUriError: IValueDescriptorTransfer;
|
|
13173
|
+
|
|
13174
|
+
export declare const dataTypeParseDataUriOperation: IActionDescriptorTransfer;
|
|
13175
|
+
|
|
13176
|
+
export declare const dataTypeParseDataUriResponseDT: IDataTypeTransfer;
|
|
13177
|
+
|
|
13178
|
+
export declare const dataTypeParseMultipartBodyBodyDT: IDataTypeTransfer;
|
|
13179
|
+
|
|
13180
|
+
export declare const dataTypeParseMultipartBodyBodyValue: IValueDescriptorTransfer;
|
|
13181
|
+
|
|
13182
|
+
export declare const dataTypeParseMultipartBodyError: IValueDescriptorTransfer;
|
|
13183
|
+
|
|
13184
|
+
export declare const dataTypeParseMultipartBodyHeadersDT: IDataTypeTransfer;
|
|
13185
|
+
|
|
13186
|
+
export declare const dataTypeParseMultipartBodyHeadersValue: IValueDescriptorTransfer;
|
|
13187
|
+
|
|
13188
|
+
export declare const dataTypeParseMultipartBodyOperation: IActionDescriptorTransfer;
|
|
13189
|
+
|
|
13190
|
+
export declare const dataTypeParseMultipartBodyResponseDT: IDataTypeTransfer;
|
|
13191
|
+
|
|
13047
13192
|
export declare type DataTypePayloadUnion = DataTypeState | DataTypeTypesUnion;
|
|
13048
13193
|
|
|
13049
13194
|
export declare class DataTypeState extends UserManagedVersionedState implements IDataType, UserManagedEntityStateTemplate, UserManagedBaseState, ChildEntityBaseClass {
|
|
@@ -13777,6 +13922,9 @@ export declare enum BaseValueDescriptorIds {
|
|
|
13777
13922
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_DECODE_BASE64URL: string;
|
|
13778
13923
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_ENCODE_HEX: string;
|
|
13779
13924
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_DECODE_HEX: string;
|
|
13925
|
+
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_PARSE_MULTIPART_BODY: string;
|
|
13926
|
+
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_PARSE_DATA_URI: string;
|
|
13927
|
+
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_DETECT_MIME_TYPE_FROM_BYTES: string;
|
|
13780
13928
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_BYTES_TO_FILE_REFERENCE: string;
|
|
13781
13929
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_FILE_REFERENCE_TO_BYTES: string;
|
|
13782
13930
|
BUILT_IN_OPERATIONS_IMPLEMENTATIONS__JSON_PARSE: string;
|
|
@@ -14629,6 +14777,14 @@ export declare enum BaseValueDescriptorIds {
|
|
|
14629
14777
|
|
|
14630
14778
|
export declare const endpointHandlerStatusCodePropertyRef: IPropertyReference;
|
|
14631
14779
|
|
|
14780
|
+
export declare const endpointIsBodyBase64EncodedArgumentDeclaration: IValueDescriptorTransfer;
|
|
14781
|
+
|
|
14782
|
+
export declare const endpointIsBodyBase64EncodedArgumentDeclarationRef: IValueDescriptorReference;
|
|
14783
|
+
|
|
14784
|
+
export declare const endpointIsBodyBase64EncodedVariableDataType: IDataTypeTransfer;
|
|
14785
|
+
|
|
14786
|
+
export declare const endpointIsBodyBase64EncodedVariableDataTypeRef: IDataTypeReference;
|
|
14787
|
+
|
|
14632
14788
|
export declare const endpointPathParamsArgumentDeclaration: IValueDescriptorTransfer;
|
|
14633
14789
|
|
|
14634
14790
|
export declare const endpointPathParamsArgumentDeclarationRef: IArgumentDeclarationReference;
|
|
@@ -26035,6 +26191,22 @@ export declare enum BaseValueDescriptorIds {
|
|
|
26035
26191
|
};
|
|
26036
26192
|
}
|
|
26037
26193
|
|
|
26194
|
+
export declare class OperationsImplementationsDataTypeDetectMimeTypeFromBytesModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
|
|
26195
|
+
manifest: ExtensionManifest;
|
|
26196
|
+
module: {
|
|
26197
|
+
init: (ctxs: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
|
|
26198
|
+
main: (entity: OperationState, inputs: IDynamicValue[]) => Promise<{
|
|
26199
|
+
value: ExecutionTerminationType;
|
|
26200
|
+
error: null;
|
|
26201
|
+
result: string;
|
|
26202
|
+
} | {
|
|
26203
|
+
value: ExecutionTerminationType;
|
|
26204
|
+
error: unknown;
|
|
26205
|
+
result: null;
|
|
26206
|
+
}>;
|
|
26207
|
+
};
|
|
26208
|
+
}
|
|
26209
|
+
|
|
26038
26210
|
export declare class OperationsImplementationsDataTypeEncodeBase64Module extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
|
|
26039
26211
|
manifest: ExtensionManifest;
|
|
26040
26212
|
module: {
|
|
@@ -26115,6 +26287,50 @@ export declare enum BaseValueDescriptorIds {
|
|
|
26115
26287
|
};
|
|
26116
26288
|
}
|
|
26117
26289
|
|
|
26290
|
+
export declare class OperationsImplementationsDataTypeParseDataUriModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
|
|
26291
|
+
manifest: ExtensionManifest;
|
|
26292
|
+
module: {
|
|
26293
|
+
init: (ctxs: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
|
|
26294
|
+
main: (entity: OperationState, inputs: IDynamicValue[]) => Promise<{
|
|
26295
|
+
value: ExecutionTerminationType;
|
|
26296
|
+
error: null;
|
|
26297
|
+
result: {
|
|
26298
|
+
mimeType: string;
|
|
26299
|
+
base64: string;
|
|
26300
|
+
bytes: Uint8Array<ArrayBufferLike>;
|
|
26301
|
+
};
|
|
26302
|
+
} | {
|
|
26303
|
+
value: ExecutionTerminationType;
|
|
26304
|
+
error: unknown;
|
|
26305
|
+
result: null;
|
|
26306
|
+
}>;
|
|
26307
|
+
};
|
|
26308
|
+
}
|
|
26309
|
+
|
|
26310
|
+
export declare class OperationsImplementationsDataTypeParseMultipartBodyModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
|
|
26311
|
+
manifest: ExtensionManifest;
|
|
26312
|
+
module: {
|
|
26313
|
+
init: (ctxs: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
|
|
26314
|
+
main: (entity: OperationState, inputs: IDynamicValue[]) => Promise<{
|
|
26315
|
+
value: ExecutionTerminationType;
|
|
26316
|
+
error: null;
|
|
26317
|
+
result: {
|
|
26318
|
+
files: {
|
|
26319
|
+
name: string;
|
|
26320
|
+
mimeType: string;
|
|
26321
|
+
size: number;
|
|
26322
|
+
uri: string;
|
|
26323
|
+
}[];
|
|
26324
|
+
fields: Record<string, string>;
|
|
26325
|
+
};
|
|
26326
|
+
} | {
|
|
26327
|
+
value: ExecutionTerminationType;
|
|
26328
|
+
error: unknown;
|
|
26329
|
+
result: null;
|
|
26330
|
+
}>;
|
|
26331
|
+
};
|
|
26332
|
+
}
|
|
26333
|
+
|
|
26118
26334
|
export declare class OperationsImplementationsDataTypeToBytesModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
|
|
26119
26335
|
manifest: ExtensionManifest;
|
|
26120
26336
|
module: {
|
|
@@ -29134,6 +29350,20 @@ export declare enum BaseValueDescriptorIds {
|
|
|
29134
29350
|
|
|
29135
29351
|
export declare const PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION = "If an explicit 'parent' isn't given for a callable entity, the scope will be auto-calculated to match the parent scope of the caller entity.\nIf the entity that should be the parent of a callable entity is unclear, you can always skip the 'parent' property and the system will automatically calculate the parent based on the caller entity.";
|
|
29136
29352
|
|
|
29353
|
+
export declare const parseDataUriBase64Prop: IPropertyTransfer;
|
|
29354
|
+
|
|
29355
|
+
export declare const parseDataUriBase64PropDT: IDataTypeTransfer;
|
|
29356
|
+
|
|
29357
|
+
export declare const parseDataUriBytesProp: IPropertyTransfer;
|
|
29358
|
+
|
|
29359
|
+
export declare const parseDataUriBytesPropDT: IDataTypeTransfer;
|
|
29360
|
+
|
|
29361
|
+
export declare const parseDataUriMimeTypeProp: IPropertyTransfer;
|
|
29362
|
+
|
|
29363
|
+
export declare const parseDataUriMimeTypePropDT: IDataTypeTransfer;
|
|
29364
|
+
|
|
29365
|
+
export declare const parseDataUriResponseEntityTransfer: IDefinitionEntityTransfer;
|
|
29366
|
+
|
|
29137
29367
|
export declare function parseDate(input: string): ISODateString;
|
|
29138
29368
|
|
|
29139
29369
|
export declare const parseDateError: IValueDescriptorTransfer;
|
|
@@ -29146,6 +29376,16 @@ export declare enum BaseValueDescriptorIds {
|
|
|
29146
29376
|
|
|
29147
29377
|
export declare const parseDateResponseDT: IDataTypeTransfer;
|
|
29148
29378
|
|
|
29379
|
+
export declare const parseMultipartBodyFieldsProp: IPropertyTransfer;
|
|
29380
|
+
|
|
29381
|
+
export declare const parseMultipartBodyFieldsPropDT: IDataTypeTransfer;
|
|
29382
|
+
|
|
29383
|
+
export declare const parseMultipartBodyFilesProp: IPropertyTransfer;
|
|
29384
|
+
|
|
29385
|
+
export declare const parseMultipartBodyFilesPropDT: IDataTypeTransfer;
|
|
29386
|
+
|
|
29387
|
+
export declare const parseMultipartBodyResponseEntityTransfer: IDefinitionEntityTransfer;
|
|
29388
|
+
|
|
29149
29389
|
export declare const PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION: string;
|
|
29150
29390
|
|
|
29151
29391
|
export declare const PASS_THROUGH_CALLABLE_TYPES: EntityType[];
|