@elyx-code/project-logic-tree 0.0.7106 → 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 +291 -291
  2. package/dist/index.d.ts +252 -2
  3. package/dist/index.js +52505 -50944
  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: {
@@ -5012,6 +5118,12 @@ export declare enum BaseValueDescriptorIds {
5012
5118
  id: string;
5013
5119
  dataType: {
5014
5120
  id: string;
5121
+ orString: {
5122
+ id: string;
5123
+ };
5124
+ orNull: {
5125
+ id: string;
5126
+ };
5015
5127
  };
5016
5128
  };
5017
5129
  maxKeys: {
@@ -11665,6 +11777,10 @@ export declare enum BaseValueDescriptorIds {
11665
11777
 
11666
11778
  export declare const cloudFileSystemListFilesPathInputDataTypeTransfer: IDataTypeTransfer;
11667
11779
 
11780
+ export declare const cloudFileSystemListFilesPathInputNullDataTypeTransfer: IDataTypeTransfer;
11781
+
11782
+ export declare const cloudFileSystemListFilesPathInputStringDataTypeTransfer: IDataTypeTransfer;
11783
+
11668
11784
  export declare const cloudFileSystemListFilesPathInputTransfer: IValueDescriptorTransfer;
11669
11785
 
11670
11786
  export declare const cloudFileSystemListFilesResponseDataTypeTransfer: IDataTypeTransfer;
@@ -12939,6 +13055,16 @@ export declare enum BaseValueDescriptorIds {
12939
13055
  ForeignKeyRefField = "foreign-key-ref-field"
12940
13056
  }
12941
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
+
12942
13068
  export declare const dataTypeEncodeBase64Bytes: IValueDescriptorTransfer;
12943
13069
 
12944
13070
  export declare const dataTypeEncodeBase64BytesDT: IDataTypeTransfer;
@@ -13024,7 +13150,10 @@ export declare enum BaseValueDescriptorIds {
13024
13150
  EncodeHex = "op-data-type-encode-hex",
13025
13151
  DecodeHex = "op-data-type-decode-hex",
13026
13152
  BytesToFileReference = "op-data-type-bytes-to-file-reference",
13027
- 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"
13028
13157
  }
13029
13158
 
13030
13159
  export declare enum DataTypeParentChildRelation {
@@ -13034,6 +13163,30 @@ export declare enum BaseValueDescriptorIds {
13034
13163
 
13035
13164
  export declare type DataTypeParentEntityState = UserManagedDataTypeParentEntityState | BuiltInBaseEntityState;
13036
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
+
13037
13190
  export declare type DataTypePayloadUnion = DataTypeState | DataTypeTypesUnion;
13038
13191
 
13039
13192
  export declare class DataTypeState extends UserManagedVersionedState implements IDataType, UserManagedEntityStateTemplate, UserManagedBaseState, ChildEntityBaseClass {
@@ -13767,6 +13920,9 @@ export declare enum BaseValueDescriptorIds {
13767
13920
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_DECODE_BASE64URL: string;
13768
13921
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_ENCODE_HEX: string;
13769
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;
13770
13926
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_BYTES_TO_FILE_REFERENCE: string;
13771
13927
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__DATA_TYPE_FILE_REFERENCE_TO_BYTES: string;
13772
13928
  BUILT_IN_OPERATIONS_IMPLEMENTATIONS__JSON_PARSE: string;
@@ -14619,6 +14775,14 @@ export declare enum BaseValueDescriptorIds {
14619
14775
 
14620
14776
  export declare const endpointHandlerStatusCodePropertyRef: IPropertyReference;
14621
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
+
14622
14786
  export declare const endpointPathParamsArgumentDeclaration: IValueDescriptorTransfer;
14623
14787
 
14624
14788
  export declare const endpointPathParamsArgumentDeclarationRef: IArgumentDeclarationReference;
@@ -19162,7 +19326,7 @@ export declare enum BaseValueDescriptorIds {
19162
19326
 
19163
19327
  export declare const gmailEmailsResponseNextPageTokenPropParentRef: IDefinitionEntityReference;
19164
19328
 
19165
- export declare const GOOGLE_DRIVE_MIME_TYPES: GoogleDriveMimeType[];
19329
+ export declare const GOOGLE_DRIVE_MIME_TYPES: string[];
19166
19330
 
19167
19331
  export declare const GOOGLE_DRIVE_SMART_FETCH_MODE_OPTIONS: readonly ["auto", "native", "plain-text", "binary"];
19168
19332
 
@@ -26025,6 +26189,22 @@ export declare enum BaseValueDescriptorIds {
26025
26189
  };
26026
26190
  }
26027
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
+
26028
26208
  export declare class OperationsImplementationsDataTypeEncodeBase64Module extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
26029
26209
  manifest: ExtensionManifest;
26030
26210
  module: {
@@ -26105,6 +26285,50 @@ export declare enum BaseValueDescriptorIds {
26105
26285
  };
26106
26286
  }
26107
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
+
26108
26332
  export declare class OperationsImplementationsDataTypeToBytesModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
26109
26333
  manifest: ExtensionManifest;
26110
26334
  module: {
@@ -29124,6 +29348,20 @@ export declare enum BaseValueDescriptorIds {
29124
29348
 
29125
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.";
29126
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
+
29127
29365
  export declare function parseDate(input: string): ISODateString;
29128
29366
 
29129
29367
  export declare const parseDateError: IValueDescriptorTransfer;
@@ -29136,6 +29374,16 @@ export declare enum BaseValueDescriptorIds {
29136
29374
 
29137
29375
  export declare const parseDateResponseDT: IDataTypeTransfer;
29138
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
+
29139
29387
  export declare const PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION: string;
29140
29388
 
29141
29389
  export declare const PASS_THROUGH_CALLABLE_TYPES: EntityType[];
@@ -33662,6 +33910,8 @@ export declare enum BaseValueDescriptorIds {
33662
33910
 
33663
33911
  export declare const upSqlRowTransformerEntityMethodVoidDataTypeParentRef: IDataTypeReference;
33664
33912
 
33913
+ export declare function uriToBytes(uri: string, getAuthToken?: () => Promise<string | null>): Promise<Uint8Array>;
33914
+
33665
33915
  export declare const urlDefaultValue: ILiteralValueTransfer;
33666
33916
 
33667
33917
  export declare const USER_MANAGED_ENTITY_TYPES: EntityType[];