@elyx-code/project-logic-tree 0.0.7107 → 0.0.7108

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.
Files changed (4) hide show
  1. package/dist/index.cjs +315 -315
  2. package/dist/index.d.ts +239 -1
  3. package/dist/index.js +53075 -51669
  4. 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: {
@@ -12949,6 +13055,16 @@ export declare enum BaseValueDescriptorIds {
12949
13055
  ForeignKeyRefField = "foreign-key-ref-field"
12950
13056
  }
12951
13057
 
13058
+ export declare const dataTypeDetectMimeTypeFromBytesBytesDT: IDataTypeTransfer;
13059
+
13060
+ export declare const dataTypeDetectMimeTypeFromBytesBytesValue: IValueDescriptorTransfer;
13061
+
13062
+ export declare const dataTypeDetectMimeTypeFromBytesError: IValueDescriptorTransfer;
13063
+
13064
+ export declare const dataTypeDetectMimeTypeFromBytesOperation: IActionDescriptorTransfer;
13065
+
13066
+ export declare const dataTypeDetectMimeTypeFromBytesResponseDT: IDataTypeTransfer;
13067
+
12952
13068
  export declare const dataTypeEncodeBase64Bytes: IValueDescriptorTransfer;
12953
13069
 
12954
13070
  export declare const dataTypeEncodeBase64BytesDT: IDataTypeTransfer;
@@ -13034,7 +13150,10 @@ export declare enum BaseValueDescriptorIds {
13034
13150
  EncodeHex = "op-data-type-encode-hex",
13035
13151
  DecodeHex = "op-data-type-decode-hex",
13036
13152
  BytesToFileReference = "op-data-type-bytes-to-file-reference",
13037
- FileReferenceToBytes = "op-data-type-file-reference-to-bytes"
13153
+ FileReferenceToBytes = "op-data-type-file-reference-to-bytes",
13154
+ ParseMultipartBody = "op-data-type-parse-multipart-body",
13155
+ ParseDataUri = "op-data-type-parse-data-uri",
13156
+ DetectMimeTypeFromBytes = "op-data-type-detect-mime-type-from-bytes"
13038
13157
  }
13039
13158
 
13040
13159
  export declare enum DataTypeParentChildRelation {
@@ -13044,6 +13163,30 @@ export declare enum BaseValueDescriptorIds {
13044
13163
 
13045
13164
  export declare type DataTypeParentEntityState = UserManagedDataTypeParentEntityState | BuiltInBaseEntityState;
13046
13165
 
13166
+ export declare const dataTypeParseDataUriDataUriDT: IDataTypeTransfer;
13167
+
13168
+ export declare const dataTypeParseDataUriDataUriValue: IValueDescriptorTransfer;
13169
+
13170
+ export declare const dataTypeParseDataUriError: IValueDescriptorTransfer;
13171
+
13172
+ export declare const dataTypeParseDataUriOperation: IActionDescriptorTransfer;
13173
+
13174
+ export declare const dataTypeParseDataUriResponseDT: IDataTypeTransfer;
13175
+
13176
+ export declare const dataTypeParseMultipartBodyBodyDT: IDataTypeTransfer;
13177
+
13178
+ export declare const dataTypeParseMultipartBodyBodyValue: IValueDescriptorTransfer;
13179
+
13180
+ export declare const dataTypeParseMultipartBodyError: IValueDescriptorTransfer;
13181
+
13182
+ export declare const dataTypeParseMultipartBodyHeadersDT: IDataTypeTransfer;
13183
+
13184
+ export declare const dataTypeParseMultipartBodyHeadersValue: IValueDescriptorTransfer;
13185
+
13186
+ export declare const dataTypeParseMultipartBodyOperation: IActionDescriptorTransfer;
13187
+
13188
+ export declare const dataTypeParseMultipartBodyResponseDT: IDataTypeTransfer;
13189
+
13047
13190
  export declare type DataTypePayloadUnion = DataTypeState | DataTypeTypesUnion;
13048
13191
 
13049
13192
  export declare class DataTypeState extends UserManagedVersionedState implements IDataType, UserManagedEntityStateTemplate, UserManagedBaseState, ChildEntityBaseClass {
@@ -13777,6 +13920,9 @@ export declare enum BaseValueDescriptorIds {
13777
13920
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_DECODE_BASE64URL: string;
13778
13921
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_ENCODE_HEX: string;
13779
13922
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_DECODE_HEX: string;
13923
+ BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_PARSE_MULTIPART_BODY: string;
13924
+ BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_PARSE_DATA_URI: string;
13925
+ BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_DETECT_MIME_TYPE_FROM_BYTES: string;
13780
13926
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_BYTES_TO_FILE_REFERENCE: string;
13781
13927
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_FILE_REFERENCE_TO_BYTES: string;
13782
13928
  BUILT_IN_OPERATIONS_IMPLEMENTATIONS__JSON_PARSE: string;
@@ -14629,6 +14775,14 @@ export declare enum BaseValueDescriptorIds {
14629
14775
 
14630
14776
  export declare const endpointHandlerStatusCodePropertyRef: IPropertyReference;
14631
14777
 
14778
+ export declare const endpointIsBodyBase64EncodedArgumentDeclaration: IValueDescriptorTransfer;
14779
+
14780
+ export declare const endpointIsBodyBase64EncodedArgumentDeclarationRef: IValueDescriptorReference;
14781
+
14782
+ export declare const endpointIsBodyBase64EncodedVariableDataType: IDataTypeTransfer;
14783
+
14784
+ export declare const endpointIsBodyBase64EncodedVariableDataTypeRef: IDataTypeReference;
14785
+
14632
14786
  export declare const endpointPathParamsArgumentDeclaration: IValueDescriptorTransfer;
14633
14787
 
14634
14788
  export declare const endpointPathParamsArgumentDeclarationRef: IArgumentDeclarationReference;
@@ -26035,6 +26189,22 @@ export declare enum BaseValueDescriptorIds {
26035
26189
  };
26036
26190
  }
26037
26191
 
26192
+ export declare class OperationsImplementationsDataTypeDetectMimeTypeFromBytesModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
26193
+ manifest: ExtensionManifest;
26194
+ module: {
26195
+ init: (ctxs: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
26196
+ main: (entity: OperationState, inputs: IDynamicValue[]) => Promise<{
26197
+ value: ExecutionTerminationType;
26198
+ error: null;
26199
+ result: string;
26200
+ } | {
26201
+ value: ExecutionTerminationType;
26202
+ error: unknown;
26203
+ result: null;
26204
+ }>;
26205
+ };
26206
+ }
26207
+
26038
26208
  export declare class OperationsImplementationsDataTypeEncodeBase64Module extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
26039
26209
  manifest: ExtensionManifest;
26040
26210
  module: {
@@ -26115,6 +26285,50 @@ export declare enum BaseValueDescriptorIds {
26115
26285
  };
26116
26286
  }
26117
26287
 
26288
+ export declare class OperationsImplementationsDataTypeParseDataUriModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
26289
+ manifest: ExtensionManifest;
26290
+ module: {
26291
+ init: (ctxs: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
26292
+ main: (entity: OperationState, inputs: IDynamicValue[]) => Promise<{
26293
+ value: ExecutionTerminationType;
26294
+ error: null;
26295
+ result: {
26296
+ mimeType: string;
26297
+ base64: string;
26298
+ bytes: Uint8Array<ArrayBufferLike>;
26299
+ };
26300
+ } | {
26301
+ value: ExecutionTerminationType;
26302
+ error: unknown;
26303
+ result: null;
26304
+ }>;
26305
+ };
26306
+ }
26307
+
26308
+ export declare class OperationsImplementationsDataTypeParseMultipartBodyModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
26309
+ manifest: ExtensionManifest;
26310
+ module: {
26311
+ init: (ctxs: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
26312
+ main: (entity: OperationState, inputs: IDynamicValue[]) => Promise<{
26313
+ value: ExecutionTerminationType;
26314
+ error: null;
26315
+ result: {
26316
+ files: {
26317
+ name: string;
26318
+ mimeType: string;
26319
+ size: number;
26320
+ uri: string;
26321
+ }[];
26322
+ fields: Record<string, string>;
26323
+ };
26324
+ } | {
26325
+ value: ExecutionTerminationType;
26326
+ error: unknown;
26327
+ result: null;
26328
+ }>;
26329
+ };
26330
+ }
26331
+
26118
26332
  export declare class OperationsImplementationsDataTypeToBytesModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
26119
26333
  manifest: ExtensionManifest;
26120
26334
  module: {
@@ -29134,6 +29348,20 @@ export declare enum BaseValueDescriptorIds {
29134
29348
 
29135
29349
  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
29350
 
29351
+ export declare const parseDataUriBase64Prop: IPropertyTransfer;
29352
+
29353
+ export declare const parseDataUriBase64PropDT: IDataTypeTransfer;
29354
+
29355
+ export declare const parseDataUriBytesProp: IPropertyTransfer;
29356
+
29357
+ export declare const parseDataUriBytesPropDT: IDataTypeTransfer;
29358
+
29359
+ export declare const parseDataUriMimeTypeProp: IPropertyTransfer;
29360
+
29361
+ export declare const parseDataUriMimeTypePropDT: IDataTypeTransfer;
29362
+
29363
+ export declare const parseDataUriResponseEntityTransfer: IDefinitionEntityTransfer;
29364
+
29137
29365
  export declare function parseDate(input: string): ISODateString;
29138
29366
 
29139
29367
  export declare const parseDateError: IValueDescriptorTransfer;
@@ -29146,6 +29374,16 @@ export declare enum BaseValueDescriptorIds {
29146
29374
 
29147
29375
  export declare const parseDateResponseDT: IDataTypeTransfer;
29148
29376
 
29377
+ export declare const parseMultipartBodyFieldsProp: IPropertyTransfer;
29378
+
29379
+ export declare const parseMultipartBodyFieldsPropDT: IDataTypeTransfer;
29380
+
29381
+ export declare const parseMultipartBodyFilesProp: IPropertyTransfer;
29382
+
29383
+ export declare const parseMultipartBodyFilesPropDT: IDataTypeTransfer;
29384
+
29385
+ export declare const parseMultipartBodyResponseEntityTransfer: IDefinitionEntityTransfer;
29386
+
29149
29387
  export declare const PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION: string;
29150
29388
 
29151
29389
  export declare const PASS_THROUGH_CALLABLE_TYPES: EntityType[];