@narrative.io/data-collaboration-sdk-ts 2.98.0 → 2.98.1-beta.0
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/build/authentication/index.d.ts +10 -2
- package/build/authentication/index.js +10 -0
- package/build/authentication/types.d.ts +3 -0
- package/build/collaboration-policy/core/jsonschema/json-schema-types.d.ts +45 -0
- package/build/collaboration-policy/core/jsonschema/json-schema-types.js +1 -0
- package/build/collaboration-policy/core/jsonschema/policy-branches.d.ts +49 -0
- package/build/collaboration-policy/core/jsonschema/policy-branches.js +1 -0
- package/build/collaboration-policy/core/jsonschema/policy-evaluator.d.ts +22 -0
- package/build/collaboration-policy/core/jsonschema/policy-evaluator.js +260 -0
- package/build/collaboration-policy/core/jsonschema/sql-builder.d.ts +79 -0
- package/build/collaboration-policy/core/jsonschema/sql-builder.js +306 -0
- package/build/collaboration-policy/core/jsonschema/sql-poc.d.ts +79 -0
- package/build/collaboration-policy/core/jsonschema/sql-poc.js +305 -0
- package/build/collaboration-policy/types/collaboration-policy.d.ts +20 -20
- package/build/nql/SubstraitParser.d.ts +771 -0
- package/build/nql/SubstraitParser.js +797 -0
- package/build/whoami/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -551,12 +551,12 @@ declare const CollaborationPolicy: z.ZodObject<{
|
|
|
551
551
|
name: z.ZodOptional<z.ZodString>;
|
|
552
552
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
553
553
|
args: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
554
|
-
type: z.ZodLiteral<"attribute">;
|
|
555
554
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
556
555
|
dot: z.ZodString;
|
|
557
556
|
}, z.core.$strict>, z.ZodObject<{
|
|
558
557
|
pointer: z.ZodString;
|
|
559
558
|
}, z.core.$strict>]>>;
|
|
559
|
+
type: z.ZodLiteral<"attribute">;
|
|
560
560
|
attribute_name: z.ZodString;
|
|
561
561
|
}, z.core.$strict>]>>;
|
|
562
562
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -565,12 +565,12 @@ declare const CollaborationPolicy: z.ZodObject<{
|
|
|
565
565
|
name: z.ZodOptional<z.ZodString>;
|
|
566
566
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
567
567
|
args: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
568
|
-
type: z.ZodLiteral<"attribute">;
|
|
569
568
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
570
569
|
dot: z.ZodString;
|
|
571
570
|
}, z.core.$strict>, z.ZodObject<{
|
|
572
571
|
pointer: z.ZodString;
|
|
573
572
|
}, z.core.$strict>]>>;
|
|
573
|
+
type: z.ZodLiteral<"attribute">;
|
|
574
574
|
attribute_name: z.ZodString;
|
|
575
575
|
}, z.core.$strict>]>>;
|
|
576
576
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -582,12 +582,12 @@ declare const CollaborationPolicy: z.ZodObject<{
|
|
|
582
582
|
name: z.ZodOptional<z.ZodString>;
|
|
583
583
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
584
584
|
left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
585
|
-
type: z.ZodLiteral<"attribute">;
|
|
586
585
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
587
586
|
dot: z.ZodString;
|
|
588
587
|
}, z.core.$strict>, z.ZodObject<{
|
|
589
588
|
pointer: z.ZodString;
|
|
590
589
|
}, z.core.$strict>]>>;
|
|
590
|
+
type: z.ZodLiteral<"attribute">;
|
|
591
591
|
attribute_name: z.ZodString;
|
|
592
592
|
}, z.core.$strict>]>;
|
|
593
593
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -599,21 +599,21 @@ declare const CollaborationPolicy: z.ZodObject<{
|
|
|
599
599
|
name: z.ZodOptional<z.ZodString>;
|
|
600
600
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
601
601
|
left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
602
|
-
type: z.ZodLiteral<"attribute">;
|
|
603
602
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
604
603
|
dot: z.ZodString;
|
|
605
604
|
}, z.core.$strict>, z.ZodObject<{
|
|
606
605
|
pointer: z.ZodString;
|
|
607
606
|
}, z.core.$strict>]>>;
|
|
607
|
+
type: z.ZodLiteral<"attribute">;
|
|
608
608
|
attribute_name: z.ZodString;
|
|
609
609
|
}, z.core.$strict>]>;
|
|
610
610
|
right: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
611
|
-
type: z.ZodLiteral<"attribute">;
|
|
612
611
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
613
612
|
dot: z.ZodString;
|
|
614
613
|
}, z.core.$strict>, z.ZodObject<{
|
|
615
614
|
pointer: z.ZodString;
|
|
616
615
|
}, z.core.$strict>]>>;
|
|
616
|
+
type: z.ZodLiteral<"attribute">;
|
|
617
617
|
attribute_name: z.ZodString;
|
|
618
618
|
}, z.core.$strict>]>>;
|
|
619
619
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -631,21 +631,21 @@ declare const CollaborationPolicy: z.ZodObject<{
|
|
|
631
631
|
name: z.ZodOptional<z.ZodString>;
|
|
632
632
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
633
633
|
left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
634
|
-
type: z.ZodLiteral<"attribute">;
|
|
635
634
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
636
635
|
dot: z.ZodString;
|
|
637
636
|
}, z.core.$strict>, z.ZodObject<{
|
|
638
637
|
pointer: z.ZodString;
|
|
639
638
|
}, z.core.$strict>]>>;
|
|
639
|
+
type: z.ZodLiteral<"attribute">;
|
|
640
640
|
attribute_name: z.ZodString;
|
|
641
641
|
}, z.core.$strict>]>;
|
|
642
642
|
right: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
643
|
-
type: z.ZodLiteral<"attribute">;
|
|
644
643
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
645
644
|
dot: z.ZodString;
|
|
646
645
|
}, z.core.$strict>, z.ZodObject<{
|
|
647
646
|
pointer: z.ZodString;
|
|
648
647
|
}, z.core.$strict>]>>;
|
|
648
|
+
type: z.ZodLiteral<"attribute">;
|
|
649
649
|
attribute_name: z.ZodString;
|
|
650
650
|
}, z.core.$strict>]>;
|
|
651
651
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -654,30 +654,30 @@ declare const CollaborationPolicy: z.ZodObject<{
|
|
|
654
654
|
name: z.ZodOptional<z.ZodString>;
|
|
655
655
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
656
656
|
operand: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
657
|
-
type: z.ZodLiteral<"attribute">;
|
|
658
657
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
659
658
|
dot: z.ZodString;
|
|
660
659
|
}, z.core.$strict>, z.ZodObject<{
|
|
661
660
|
pointer: z.ZodString;
|
|
662
661
|
}, z.core.$strict>]>>;
|
|
662
|
+
type: z.ZodLiteral<"attribute">;
|
|
663
663
|
attribute_name: z.ZodString;
|
|
664
664
|
}, z.core.$strict>]>;
|
|
665
665
|
lower: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
666
|
-
type: z.ZodLiteral<"attribute">;
|
|
667
666
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
668
667
|
dot: z.ZodString;
|
|
669
668
|
}, z.core.$strict>, z.ZodObject<{
|
|
670
669
|
pointer: z.ZodString;
|
|
671
670
|
}, z.core.$strict>]>>;
|
|
671
|
+
type: z.ZodLiteral<"attribute">;
|
|
672
672
|
attribute_name: z.ZodString;
|
|
673
673
|
}, z.core.$strict>]>;
|
|
674
674
|
upper: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
675
|
-
type: z.ZodLiteral<"attribute">;
|
|
676
675
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
677
676
|
dot: z.ZodString;
|
|
678
677
|
}, z.core.$strict>, z.ZodObject<{
|
|
679
678
|
pointer: z.ZodString;
|
|
680
679
|
}, z.core.$strict>]>>;
|
|
680
|
+
type: z.ZodLiteral<"attribute">;
|
|
681
681
|
attribute_name: z.ZodString;
|
|
682
682
|
}, z.core.$strict>]>;
|
|
683
683
|
}, z.core.$strict>]>>>;
|
|
@@ -1235,12 +1235,12 @@ export declare function buildCollaborationPolicyJsonSchema(options?: JsonSchemaO
|
|
|
1235
1235
|
name: z.ZodOptional<z.ZodString>;
|
|
1236
1236
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1237
1237
|
args: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1238
|
-
type: z.ZodLiteral<"attribute">;
|
|
1239
1238
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1240
1239
|
dot: z.ZodString;
|
|
1241
1240
|
}, z.core.$strict>, z.ZodObject<{
|
|
1242
1241
|
pointer: z.ZodString;
|
|
1243
1242
|
}, z.core.$strict>]>>;
|
|
1243
|
+
type: z.ZodLiteral<"attribute">;
|
|
1244
1244
|
attribute_name: z.ZodString;
|
|
1245
1245
|
}, z.core.$strict>]>>;
|
|
1246
1246
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1249,12 +1249,12 @@ export declare function buildCollaborationPolicyJsonSchema(options?: JsonSchemaO
|
|
|
1249
1249
|
name: z.ZodOptional<z.ZodString>;
|
|
1250
1250
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1251
1251
|
args: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1252
|
-
type: z.ZodLiteral<"attribute">;
|
|
1253
1252
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1254
1253
|
dot: z.ZodString;
|
|
1255
1254
|
}, z.core.$strict>, z.ZodObject<{
|
|
1256
1255
|
pointer: z.ZodString;
|
|
1257
1256
|
}, z.core.$strict>]>>;
|
|
1257
|
+
type: z.ZodLiteral<"attribute">;
|
|
1258
1258
|
attribute_name: z.ZodString;
|
|
1259
1259
|
}, z.core.$strict>]>>;
|
|
1260
1260
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1266,12 +1266,12 @@ export declare function buildCollaborationPolicyJsonSchema(options?: JsonSchemaO
|
|
|
1266
1266
|
name: z.ZodOptional<z.ZodString>;
|
|
1267
1267
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1268
1268
|
left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1269
|
-
type: z.ZodLiteral<"attribute">;
|
|
1270
1269
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1271
1270
|
dot: z.ZodString;
|
|
1272
1271
|
}, z.core.$strict>, z.ZodObject<{
|
|
1273
1272
|
pointer: z.ZodString;
|
|
1274
1273
|
}, z.core.$strict>]>>;
|
|
1274
|
+
type: z.ZodLiteral<"attribute">;
|
|
1275
1275
|
attribute_name: z.ZodString;
|
|
1276
1276
|
}, z.core.$strict>]>;
|
|
1277
1277
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1283,21 +1283,21 @@ export declare function buildCollaborationPolicyJsonSchema(options?: JsonSchemaO
|
|
|
1283
1283
|
name: z.ZodOptional<z.ZodString>;
|
|
1284
1284
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1285
1285
|
left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1286
|
-
type: z.ZodLiteral<"attribute">;
|
|
1287
1286
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1288
1287
|
dot: z.ZodString;
|
|
1289
1288
|
}, z.core.$strict>, z.ZodObject<{
|
|
1290
1289
|
pointer: z.ZodString;
|
|
1291
1290
|
}, z.core.$strict>]>>;
|
|
1291
|
+
type: z.ZodLiteral<"attribute">;
|
|
1292
1292
|
attribute_name: z.ZodString;
|
|
1293
1293
|
}, z.core.$strict>]>;
|
|
1294
1294
|
right: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1295
|
-
type: z.ZodLiteral<"attribute">;
|
|
1296
1295
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1297
1296
|
dot: z.ZodString;
|
|
1298
1297
|
}, z.core.$strict>, z.ZodObject<{
|
|
1299
1298
|
pointer: z.ZodString;
|
|
1300
1299
|
}, z.core.$strict>]>>;
|
|
1300
|
+
type: z.ZodLiteral<"attribute">;
|
|
1301
1301
|
attribute_name: z.ZodString;
|
|
1302
1302
|
}, z.core.$strict>]>>;
|
|
1303
1303
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1315,21 +1315,21 @@ export declare function buildCollaborationPolicyJsonSchema(options?: JsonSchemaO
|
|
|
1315
1315
|
name: z.ZodOptional<z.ZodString>;
|
|
1316
1316
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1317
1317
|
left: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1318
|
-
type: z.ZodLiteral<"attribute">;
|
|
1319
1318
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1320
1319
|
dot: z.ZodString;
|
|
1321
1320
|
}, z.core.$strict>, z.ZodObject<{
|
|
1322
1321
|
pointer: z.ZodString;
|
|
1323
1322
|
}, z.core.$strict>]>>;
|
|
1323
|
+
type: z.ZodLiteral<"attribute">;
|
|
1324
1324
|
attribute_name: z.ZodString;
|
|
1325
1325
|
}, z.core.$strict>]>;
|
|
1326
1326
|
right: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1327
|
-
type: z.ZodLiteral<"attribute">;
|
|
1328
1327
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1329
1328
|
dot: z.ZodString;
|
|
1330
1329
|
}, z.core.$strict>, z.ZodObject<{
|
|
1331
1330
|
pointer: z.ZodString;
|
|
1332
1331
|
}, z.core.$strict>]>>;
|
|
1332
|
+
type: z.ZodLiteral<"attribute">;
|
|
1333
1333
|
attribute_name: z.ZodString;
|
|
1334
1334
|
}, z.core.$strict>]>;
|
|
1335
1335
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1338,30 +1338,30 @@ export declare function buildCollaborationPolicyJsonSchema(options?: JsonSchemaO
|
|
|
1338
1338
|
name: z.ZodOptional<z.ZodString>;
|
|
1339
1339
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
1340
1340
|
operand: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1341
|
-
type: z.ZodLiteral<"attribute">;
|
|
1342
1341
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1343
1342
|
dot: z.ZodString;
|
|
1344
1343
|
}, z.core.$strict>, z.ZodObject<{
|
|
1345
1344
|
pointer: z.ZodString;
|
|
1346
1345
|
}, z.core.$strict>]>>;
|
|
1346
|
+
type: z.ZodLiteral<"attribute">;
|
|
1347
1347
|
attribute_name: z.ZodString;
|
|
1348
1348
|
}, z.core.$strict>]>;
|
|
1349
1349
|
lower: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1350
|
-
type: z.ZodLiteral<"attribute">;
|
|
1351
1350
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1352
1351
|
dot: z.ZodString;
|
|
1353
1352
|
}, z.core.$strict>, z.ZodObject<{
|
|
1354
1353
|
pointer: z.ZodString;
|
|
1355
1354
|
}, z.core.$strict>]>>;
|
|
1355
|
+
type: z.ZodLiteral<"attribute">;
|
|
1356
1356
|
attribute_name: z.ZodString;
|
|
1357
1357
|
}, z.core.$strict>]>;
|
|
1358
1358
|
upper: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1359
|
-
type: z.ZodLiteral<"attribute">;
|
|
1360
1359
|
path: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1361
1360
|
dot: z.ZodString;
|
|
1362
1361
|
}, z.core.$strict>, z.ZodObject<{
|
|
1363
1362
|
pointer: z.ZodString;
|
|
1364
1363
|
}, z.core.$strict>]>>;
|
|
1364
|
+
type: z.ZodLiteral<"attribute">;
|
|
1365
1365
|
attribute_name: z.ZodString;
|
|
1366
1366
|
}, z.core.$strict>]>;
|
|
1367
1367
|
}, z.core.$strict>]>>>;
|