@fluidframework/aqueduct 0.56.5 → 0.57.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/dist/container-services/containerServices.d.ts +2 -2
- package/dist/container-services/containerServices.d.ts.map +1 -1
- package/dist/container-services/containerServices.js.map +1 -1
- package/dist/data-object-factories/dataObjectFactory.d.ts +2 -2
- package/dist/data-object-factories/dataObjectFactory.d.ts.map +1 -1
- package/dist/data-object-factories/dataObjectFactory.js.map +1 -1
- package/dist/data-object-factories/pureDataObjectFactory.d.ts +8 -8
- package/dist/data-object-factories/pureDataObjectFactory.d.ts.map +1 -1
- package/dist/data-object-factories/pureDataObjectFactory.js.map +1 -1
- package/dist/data-objects/index.d.ts +1 -1
- package/dist/data-objects/index.d.ts.map +1 -1
- package/dist/data-objects/index.js.map +1 -1
- package/dist/data-objects/pureDataObject.d.ts +16 -21
- package/dist/data-objects/pureDataObject.d.ts.map +1 -1
- package/dist/data-objects/pureDataObject.js +7 -23
- package/dist/data-objects/pureDataObject.js.map +1 -1
- package/dist/data-objects/types.d.ts +2 -7
- package/dist/data-objects/types.d.ts.map +1 -1
- package/dist/data-objects/types.js.map +1 -1
- package/dist/test/tsconfig.tsbuildinfo +54 -160
- package/dist/utils/containerInteractions.d.ts +4 -4
- package/dist/utils/containerInteractions.d.ts.map +1 -1
- package/dist/utils/containerInteractions.js.map +1 -1
- package/lib/container-services/containerServices.js.map +1 -1
- package/lib/data-object-factories/dataObjectFactory.js.map +1 -1
- package/lib/data-object-factories/pureDataObjectFactory.js.map +1 -1
- package/lib/data-objects/index.js.map +1 -1
- package/lib/data-objects/pureDataObject.js +7 -23
- package/lib/data-objects/pureDataObject.js.map +1 -1
- package/lib/data-objects/types.js.map +1 -1
- package/lib/utils/containerInteractions.js.map +1 -1
- package/package.json +15 -15
|
@@ -522,8 +522,8 @@
|
|
|
522
522
|
"affectsGlobalScope": false
|
|
523
523
|
},
|
|
524
524
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/error.d.ts": {
|
|
525
|
-
"version": "
|
|
526
|
-
"signature": "
|
|
525
|
+
"version": "9217b29cd8c092fd796ab5309d0dc3cb4e63c9d32aff49e3137ab74e20d6caa2",
|
|
526
|
+
"signature": "9217b29cd8c092fd796ab5309d0dc3cb4e63c9d32aff49e3137ab74e20d6caa2",
|
|
527
527
|
"affectsGlobalScope": false
|
|
528
528
|
},
|
|
529
529
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidModule.d.ts": {
|
|
@@ -532,18 +532,18 @@
|
|
|
532
532
|
"affectsGlobalScope": false
|
|
533
533
|
},
|
|
534
534
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts": {
|
|
535
|
-
"version": "
|
|
536
|
-
"signature": "
|
|
535
|
+
"version": "34c3d5cfa7f01c2c116a0db84b92c0b3bc598cb282bb230b1df4a9a525519207",
|
|
536
|
+
"signature": "34c3d5cfa7f01c2c116a0db84b92c0b3bc598cb282bb230b1df4a9a525519207",
|
|
537
537
|
"affectsGlobalScope": false
|
|
538
538
|
},
|
|
539
539
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/runtime.d.ts": {
|
|
540
|
-
"version": "
|
|
541
|
-
"signature": "
|
|
540
|
+
"version": "26c98bfa706fffbaf75ec5795c3f28914613246702c394ee016f781a9bea03f4",
|
|
541
|
+
"signature": "26c98bfa706fffbaf75ec5795c3f28914613246702c394ee016f781a9bea03f4",
|
|
542
542
|
"affectsGlobalScope": false
|
|
543
543
|
},
|
|
544
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
545
|
-
"version": "
|
|
546
|
-
"signature": "
|
|
544
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts": {
|
|
545
|
+
"version": "419d3554e67aed44fbad75878a168ec530032ea11a2572c769e98d15b91cad81",
|
|
546
|
+
"signature": "419d3554e67aed44fbad75878a168ec530032ea11a2572c769e98d15b91cad81",
|
|
547
547
|
"affectsGlobalScope": false
|
|
548
548
|
},
|
|
549
549
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidPackage.d.ts": {
|
|
@@ -557,13 +557,13 @@
|
|
|
557
557
|
"affectsGlobalScope": false
|
|
558
558
|
},
|
|
559
559
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/index.d.ts": {
|
|
560
|
-
"version": "
|
|
561
|
-
"signature": "
|
|
560
|
+
"version": "4e651c414c5ad235f54cff3a4aca867edaafdec42f563fff5debf416e8132723",
|
|
561
|
+
"signature": "4e651c414c5ad235f54cff3a4aca867edaafdec42f563fff5debf416e8132723",
|
|
562
562
|
"affectsGlobalScope": false
|
|
563
563
|
},
|
|
564
564
|
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts": {
|
|
565
|
-
"version": "
|
|
566
|
-
"signature": "
|
|
565
|
+
"version": "eff90c8fb7521204ef889ea0684748a7ff8a1b62a7e0cc23ace822a96d1bff44",
|
|
566
|
+
"signature": "eff90c8fb7521204ef889ea0684748a7ff8a1b62a7e0cc23ace822a96d1bff44",
|
|
567
567
|
"affectsGlobalScope": false
|
|
568
568
|
},
|
|
569
569
|
"../../../../runtime/runtime-definitions/dist/garbageCollection.d.ts": {
|
|
@@ -582,13 +582,13 @@
|
|
|
582
582
|
"affectsGlobalScope": false
|
|
583
583
|
},
|
|
584
584
|
"../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts": {
|
|
585
|
-
"version": "
|
|
586
|
-
"signature": "
|
|
585
|
+
"version": "e1ba1e707ed1b2d3cee85d4d37da9d40bb89adf5266c9220133d73b28bb6a79a",
|
|
586
|
+
"signature": "e1ba1e707ed1b2d3cee85d4d37da9d40bb89adf5266c9220133d73b28bb6a79a",
|
|
587
587
|
"affectsGlobalScope": false
|
|
588
588
|
},
|
|
589
589
|
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts": {
|
|
590
|
-
"version": "
|
|
591
|
-
"signature": "
|
|
590
|
+
"version": "bcb2b5ec9bb438a4a2ec0b66e7c623ed32784dedc3ef49b6ef48c700085dd803",
|
|
591
|
+
"signature": "bcb2b5ec9bb438a4a2ec0b66e7c623ed32784dedc3ef49b6ef48c700085dd803",
|
|
592
592
|
"affectsGlobalScope": false
|
|
593
593
|
},
|
|
594
594
|
"../../../../runtime/runtime-definitions/dist/index.d.ts": {
|
|
@@ -597,8 +597,8 @@
|
|
|
597
597
|
"affectsGlobalScope": false
|
|
598
598
|
},
|
|
599
599
|
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts": {
|
|
600
|
-
"version": "
|
|
601
|
-
"signature": "
|
|
600
|
+
"version": "0e368dbd4c727af2fa8b246fa54574abc97a11b81d185304e464bb715bc78064",
|
|
601
|
+
"signature": "0e368dbd4c727af2fa8b246fa54574abc97a11b81d185304e464bb715bc78064",
|
|
602
602
|
"affectsGlobalScope": false
|
|
603
603
|
},
|
|
604
604
|
"../../../../runtime/container-runtime-definitions/dist/index.d.ts": {
|
|
@@ -717,8 +717,8 @@
|
|
|
717
717
|
"affectsGlobalScope": false
|
|
718
718
|
},
|
|
719
719
|
"../container-services/containerServices.d.ts": {
|
|
720
|
-
"version": "
|
|
721
|
-
"signature": "
|
|
720
|
+
"version": "ba92aeb236b7772678af8fb07bb94c60f4a80b0cfbca187b782cdbb3da865951",
|
|
721
|
+
"signature": "ba92aeb236b7772678af8fb07bb94c60f4a80b0cfbca187b782cdbb3da865951",
|
|
722
722
|
"affectsGlobalScope": false
|
|
723
723
|
},
|
|
724
724
|
"../container-services/index.d.ts": {
|
|
@@ -737,8 +737,8 @@
|
|
|
737
737
|
"affectsGlobalScope": false
|
|
738
738
|
},
|
|
739
739
|
"../../../view-interfaces/dist/mountableView.d.ts": {
|
|
740
|
-
"version": "
|
|
741
|
-
"signature": "
|
|
740
|
+
"version": "d222657ed86e3666f87d8dfea01469fd3bb844672c2e1325b0eb72abd4d44ec4",
|
|
741
|
+
"signature": "d222657ed86e3666f87d8dfea01469fd3bb844672c2e1325b0eb72abd4d44ec4",
|
|
742
742
|
"affectsGlobalScope": false
|
|
743
743
|
},
|
|
744
744
|
"../../../view-interfaces/dist/index.d.ts": {
|
|
@@ -812,16 +812,12 @@
|
|
|
812
812
|
],
|
|
813
813
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts": [
|
|
814
814
|
"../../../../../node_modules/@fluidframework/common-definitions/dist/index.d.ts",
|
|
815
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
815
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
816
816
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
817
817
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
818
818
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
819
819
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/index.d.ts",
|
|
820
|
-
"
|
|
821
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
822
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
823
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
824
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
820
|
+
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
825
821
|
],
|
|
826
822
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/error.d.ts": [
|
|
827
823
|
"../../../../../node_modules/@fluidframework/common-definitions/dist/index.d.ts"
|
|
@@ -837,22 +833,18 @@
|
|
|
837
833
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/error.d.ts",
|
|
838
834
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidModule.d.ts",
|
|
839
835
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidPackage.d.ts",
|
|
840
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
836
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
841
837
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
842
838
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/proxyLoader.d.ts",
|
|
843
839
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/runtime.d.ts"
|
|
844
840
|
],
|
|
845
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
841
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts": [
|
|
846
842
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
847
843
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
848
844
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/runtime.d.ts",
|
|
849
845
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
850
846
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
851
|
-
"
|
|
852
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
853
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
854
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
855
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
847
|
+
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
856
848
|
],
|
|
857
849
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts": [
|
|
858
850
|
"../../../../../node_modules/@fluidframework/common-definitions/dist/index.d.ts",
|
|
@@ -860,17 +852,13 @@
|
|
|
860
852
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
861
853
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/error.d.ts",
|
|
862
854
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidModule.d.ts",
|
|
863
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
855
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
864
856
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/runtime.d.ts",
|
|
865
857
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
866
858
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/index.d.ts",
|
|
867
859
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
868
860
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/index.d.ts",
|
|
869
|
-
"
|
|
870
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
871
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
872
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
873
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
861
|
+
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
874
862
|
],
|
|
875
863
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/proxyLoader.d.ts": [
|
|
876
864
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
@@ -925,14 +913,10 @@
|
|
|
925
913
|
],
|
|
926
914
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts": [
|
|
927
915
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
928
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
916
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
929
917
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
930
918
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
931
|
-
"
|
|
932
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
933
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
934
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
935
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
919
|
+
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
936
920
|
],
|
|
937
921
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/clients.d.ts": [
|
|
938
922
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/users.d.ts"
|
|
@@ -1238,45 +1222,25 @@
|
|
|
1238
1222
|
],
|
|
1239
1223
|
"../../../view-interfaces/dist/htmlView.d.ts": [
|
|
1240
1224
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
1241
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
1225
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
1242
1226
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1243
1227
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1244
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts"
|
|
1245
|
-
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts",
|
|
1246
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1247
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1248
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1228
|
+
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts"
|
|
1249
1229
|
],
|
|
1250
1230
|
"../../../view-interfaces/dist/index.d.ts": [
|
|
1251
1231
|
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1252
1232
|
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1253
1233
|
],
|
|
1254
1234
|
"../../../view-interfaces/dist/mountableView.d.ts": [
|
|
1255
|
-
"../../../../../node_modules/@fluidframework/
|
|
1256
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/chaincode.d.ts",
|
|
1257
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1258
|
-
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1259
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1260
|
-
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts",
|
|
1261
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1262
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1263
|
-
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
1235
|
+
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts"
|
|
1264
1236
|
],
|
|
1265
1237
|
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts": [
|
|
1266
1238
|
"../../../../../node_modules/@fluidframework/common-definitions/dist/index.d.ts",
|
|
1267
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
1268
1239
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/index.d.ts",
|
|
1269
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/chaincode.d.ts",
|
|
1270
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1271
1240
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1272
1241
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/index.d.ts",
|
|
1273
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1274
1242
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/index.d.ts",
|
|
1275
|
-
"../../../../runtime/runtime-definitions/dist/
|
|
1276
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1277
|
-
"../../../../runtime/runtime-definitions/dist/index.d.ts",
|
|
1278
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1279
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1243
|
+
"../../../../runtime/runtime-definitions/dist/index.d.ts"
|
|
1280
1244
|
],
|
|
1281
1245
|
"../../../../runtime/container-runtime-definitions/dist/index.d.ts": [
|
|
1282
1246
|
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts"
|
|
@@ -1320,27 +1284,10 @@
|
|
|
1320
1284
|
"../../../../runtime/runtime-definitions/dist/summary.d.ts"
|
|
1321
1285
|
],
|
|
1322
1286
|
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts": [
|
|
1323
|
-
"
|
|
1324
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/chaincode.d.ts",
|
|
1325
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1326
|
-
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1327
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1328
|
-
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts",
|
|
1329
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts",
|
|
1330
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1331
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1332
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1287
|
+
"../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts"
|
|
1333
1288
|
],
|
|
1334
1289
|
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts": [
|
|
1335
|
-
"
|
|
1336
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/chaincode.d.ts",
|
|
1337
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1338
|
-
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1339
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1340
|
-
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts",
|
|
1341
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1342
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1343
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1290
|
+
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts"
|
|
1344
1291
|
],
|
|
1345
1292
|
"../../../../runtime/runtime-definitions/dist/index.d.ts": [
|
|
1346
1293
|
"../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts",
|
|
@@ -1438,16 +1385,12 @@
|
|
|
1438
1385
|
],
|
|
1439
1386
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts": [
|
|
1440
1387
|
"../../../../../node_modules/@fluidframework/common-definitions/dist/index.d.ts",
|
|
1441
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
1388
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
1442
1389
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1443
1390
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1444
1391
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1445
1392
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/index.d.ts",
|
|
1446
|
-
"
|
|
1447
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1448
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1449
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1450
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1393
|
+
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
1451
1394
|
],
|
|
1452
1395
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/error.d.ts": [
|
|
1453
1396
|
"../../../../../node_modules/@fluidframework/common-definitions/dist/index.d.ts"
|
|
@@ -1463,22 +1406,18 @@
|
|
|
1463
1406
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/error.d.ts",
|
|
1464
1407
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidModule.d.ts",
|
|
1465
1408
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidPackage.d.ts",
|
|
1466
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
1409
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
1467
1410
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1468
1411
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/proxyLoader.d.ts",
|
|
1469
1412
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/runtime.d.ts"
|
|
1470
1413
|
],
|
|
1471
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
1414
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts": [
|
|
1472
1415
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
1473
1416
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1474
1417
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/runtime.d.ts",
|
|
1475
1418
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1476
1419
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1477
|
-
"
|
|
1478
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1479
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1480
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1481
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1420
|
+
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
1482
1421
|
],
|
|
1483
1422
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts": [
|
|
1484
1423
|
"../../../../../node_modules/@fluidframework/common-definitions/dist/index.d.ts",
|
|
@@ -1486,17 +1425,13 @@
|
|
|
1486
1425
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
1487
1426
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/error.d.ts",
|
|
1488
1427
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidModule.d.ts",
|
|
1489
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
1428
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
1490
1429
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/runtime.d.ts",
|
|
1491
1430
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1492
1431
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/index.d.ts",
|
|
1493
1432
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1494
1433
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/index.d.ts",
|
|
1495
|
-
"
|
|
1496
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1497
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1498
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1499
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1434
|
+
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
1500
1435
|
],
|
|
1501
1436
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/proxyLoader.d.ts": [
|
|
1502
1437
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
@@ -1551,14 +1486,10 @@
|
|
|
1551
1486
|
],
|
|
1552
1487
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts": [
|
|
1553
1488
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
1554
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
1489
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
1555
1490
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1556
1491
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1557
|
-
"
|
|
1558
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1559
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1560
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1561
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1492
|
+
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
1562
1493
|
],
|
|
1563
1494
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/clients.d.ts": [
|
|
1564
1495
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/users.d.ts"
|
|
@@ -1848,45 +1779,25 @@
|
|
|
1848
1779
|
],
|
|
1849
1780
|
"../../../view-interfaces/dist/htmlView.d.ts": [
|
|
1850
1781
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
1851
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
1782
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
1852
1783
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1853
1784
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1854
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts"
|
|
1855
|
-
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts",
|
|
1856
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1857
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1858
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1785
|
+
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts"
|
|
1859
1786
|
],
|
|
1860
1787
|
"../../../view-interfaces/dist/index.d.ts": [
|
|
1861
1788
|
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1862
1789
|
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1863
1790
|
],
|
|
1864
1791
|
"../../../view-interfaces/dist/mountableView.d.ts": [
|
|
1865
|
-
"../../../../../node_modules/@fluidframework/
|
|
1866
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/chaincode.d.ts",
|
|
1867
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1868
|
-
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1869
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1870
|
-
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts",
|
|
1871
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1872
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1873
|
-
"../../../view-interfaces/dist/htmlView.d.ts"
|
|
1792
|
+
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts"
|
|
1874
1793
|
],
|
|
1875
1794
|
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts": [
|
|
1876
1795
|
"../../../../../node_modules/@fluidframework/common-definitions/dist/index.d.ts",
|
|
1877
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/deltas.d.ts",
|
|
1878
1796
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/index.d.ts",
|
|
1879
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/chaincode.d.ts",
|
|
1880
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1881
1797
|
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1882
1798
|
"../../../../../node_modules/@fluidframework/driver-definitions/dist/index.d.ts",
|
|
1883
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1884
1799
|
"../../../../../node_modules/@fluidframework/protocol-definitions/dist/index.d.ts",
|
|
1885
|
-
"../../../../runtime/runtime-definitions/dist/
|
|
1886
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1887
|
-
"../../../../runtime/runtime-definitions/dist/index.d.ts",
|
|
1888
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1889
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1800
|
+
"../../../../runtime/runtime-definitions/dist/index.d.ts"
|
|
1890
1801
|
],
|
|
1891
1802
|
"../../../../runtime/container-runtime-definitions/dist/index.d.ts": [
|
|
1892
1803
|
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts"
|
|
@@ -1930,27 +1841,10 @@
|
|
|
1930
1841
|
"../../../../runtime/runtime-definitions/dist/summary.d.ts"
|
|
1931
1842
|
],
|
|
1932
1843
|
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts": [
|
|
1933
|
-
"
|
|
1934
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/chaincode.d.ts",
|
|
1935
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1936
|
-
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1937
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1938
|
-
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts",
|
|
1939
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts",
|
|
1940
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts",
|
|
1941
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1942
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1844
|
+
"../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts"
|
|
1943
1845
|
],
|
|
1944
1846
|
"../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts": [
|
|
1945
|
-
"
|
|
1946
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/chaincode.d.ts",
|
|
1947
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
1948
|
-
"../../../../../node_modules/@fluidframework/core-interfaces/dist/index.d.ts",
|
|
1949
|
-
"../../../../../node_modules/@fluidframework/driver-definitions/dist/urlResolver.d.ts",
|
|
1950
|
-
"../../../../runtime/container-runtime-definitions/dist/containerRuntime.d.ts",
|
|
1951
|
-
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts",
|
|
1952
|
-
"../../../view-interfaces/dist/htmlView.d.ts",
|
|
1953
|
-
"../../../view-interfaces/dist/mountableView.d.ts"
|
|
1847
|
+
"../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts"
|
|
1954
1848
|
],
|
|
1955
1849
|
"../../../../runtime/runtime-definitions/dist/index.d.ts": [
|
|
1956
1850
|
"../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts",
|
|
@@ -2044,7 +1938,7 @@
|
|
|
2044
1938
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidModule.d.ts",
|
|
2045
1939
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/fluidPackage.d.ts",
|
|
2046
1940
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/index.d.ts",
|
|
2047
|
-
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/
|
|
1941
|
+
"../../../../../node_modules/@fluidframework/container-definitions/dist/legacy/index.d.ts",
|
|
2048
1942
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/loader.d.ts",
|
|
2049
1943
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/proxyLoader.d.ts",
|
|
2050
1944
|
"../../../../../node_modules/@fluidframework/container-definitions/dist/runtime.d.ts",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { FluidObject
|
|
5
|
+
import { FluidObject } from "@fluidframework/core-interfaces";
|
|
6
6
|
import { IContainer } from "@fluidframework/container-definitions";
|
|
7
7
|
/**
|
|
8
8
|
* Helper function for getting the default Fluid Object from a Container. This function only works for
|
|
@@ -12,7 +12,7 @@ import { IContainer } from "@fluidframework/container-definitions";
|
|
|
12
12
|
*
|
|
13
13
|
* @param container - Container you're attempting to get the object from
|
|
14
14
|
*/
|
|
15
|
-
export declare function getDefaultObjectFromContainer<T =
|
|
15
|
+
export declare function getDefaultObjectFromContainer<T = FluidObject>(container: IContainer): Promise<T>;
|
|
16
16
|
/**
|
|
17
17
|
* Helper function for getting as Fluid Object from a Container given a Unique Id. This function only works for
|
|
18
18
|
* Containers that support getting FluidObjects via request.
|
|
@@ -22,7 +22,7 @@ export declare function getDefaultObjectFromContainer<T = IFluidObject & FluidOb
|
|
|
22
22
|
* @param id - Unique id of the FluidObject
|
|
23
23
|
* @param container - Container you're attempting to get the object from
|
|
24
24
|
*/
|
|
25
|
-
export declare function getObjectWithIdFromContainer<T =
|
|
25
|
+
export declare function getObjectWithIdFromContainer<T = FluidObject>(id: string, container: IContainer): Promise<T>;
|
|
26
26
|
/**
|
|
27
27
|
* Helper function for getting a Fluid Object from a Container given a path/url. This function only works for
|
|
28
28
|
* Containers that support getting FluidObjects via request.
|
|
@@ -32,5 +32,5 @@ export declare function getObjectWithIdFromContainer<T = IFluidObject & FluidObj
|
|
|
32
32
|
* @param path - Unique path/url of the FluidObject
|
|
33
33
|
* @param container - Container you're attempting to get the object from
|
|
34
34
|
*/
|
|
35
|
-
export declare function getObjectFromContainer<T =
|
|
35
|
+
export declare function getObjectFromContainer<T = FluidObject>(path: string, container: IContainer): Promise<T>;
|
|
36
36
|
//# sourceMappingURL=containerInteractions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerInteractions.d.ts","sourceRoot":"","sources":["../../src/utils/containerInteractions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"containerInteractions.d.ts","sourceRoot":"","sources":["../../src/utils/containerInteractions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAEnE;;;;;;;GAOG;AACH,wBAAsB,6BAA6B,CAAC,CAAC,GAAG,WAAW,EAAE,SAAS,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,CAatG;AAED;;;;;;;;GAQG;AACH,wBAAsB,4BAA4B,CAAC,CAAC,GAAG,WAAW,EAC9D,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,CAajD;AAED;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAAC,CAAC,GAAG,WAAW,EACxD,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,CAWnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerInteractions.js","sourceRoot":"","sources":["../../src/utils/containerInteractions.ts"],"names":[],"mappings":";;;AAOA;;;;;;;GAOG;AACI,KAAK,UAAU,6BAA6B,
|
|
1
|
+
{"version":3,"file":"containerInteractions.js","sourceRoot":"","sources":["../../src/utils/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Y,EAAE,SAAqB;IACnC,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC;IAExD,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,IAAI,QAAQ,CAAC,QAAQ,KAAK,cAAc,EAAE;QACjE,MAAM,IAAI,KAAK,CAAC,mDAAmD,IAAI,GAAG,CAAC,CAAC;KAC/E;SAAM,IAAI,QAAQ,CAAC,KAAK,KAAK,SAAS,EAAE;QACrC,MAAM,IAAI,KAAK,CAAC,iCAAiC,IAAI,GAAG,CAAC,CAAC;KAC7D;IAED,+DAA+D;IAC/D,OAAO,QAAQ,CAAC,KAAK,CAAC;AAC1B,CAAC;AAZD,wDAYC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\nimport { FluidObject } from \"@fluidframework/core-interfaces\";\nimport { IContainer } from \"@fluidframework/container-definitions\";\n\n/**\n * Helper function for getting the default Fluid Object from a Container. This function only works for\n * Containers that support \"/\" request.\n *\n * T - defines the type you expect to be returned\n *\n * @param container - Container you're attempting to get the object from\n */\nexport async function getDefaultObjectFromContainer<T = FluidObject>(container: IContainer): Promise<T> {\n const url = \"/\";\n const response = await container.request({ url });\n\n // Verify the response\n if (response.status !== 200 || response.mimeType !== \"fluid/object\") {\n throw new Error(`Unable to retrieve Fluid object at URL: \"${url}\"`);\n } else if (response.value === undefined) {\n throw new Error(`Empty response from URL: \"${url}\"`);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return response.value;\n}\n\n/**\n * Helper function for getting as Fluid Object from a Container given a Unique Id. This function only works for\n * Containers that support getting FluidObjects via request.\n *\n * T - defines the type you expect to be returned\n *\n * @param id - Unique id of the FluidObject\n * @param container - Container you're attempting to get the object from\n */\nexport async function getObjectWithIdFromContainer<T = FluidObject>(\n id: string, container: IContainer): Promise<T> {\n const url = `/${id}`;\n const response = await container.request({ url });\n\n // Verify the response\n if (response.status !== 200 || response.mimeType !== \"fluid/object\") {\n throw new Error(`Unable to retrieve Fluid object with ID: \"${id}\" from URL: \"${url}\"`);\n } else if (response.value === undefined) {\n throw new Error(`Empty response for ID: \"${id}\" from URL: \"${url}\"`);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return response.value;\n}\n\n/**\n * Helper function for getting a Fluid Object from a Container given a path/url. This function only works for\n * Containers that support getting FluidObjects via request.\n *\n * T - defines the type you expect to be returned\n *\n * @param path - Unique path/url of the FluidObject\n * @param container - Container you're attempting to get the object from\n */\nexport async function getObjectFromContainer<T = FluidObject>(\n path: string, container: IContainer): Promise<T> {\n const response = await container.request({ url: path });\n\n if (response.status !== 200 || response.mimeType !== \"fluid/object\") {\n throw new Error(`Unable to retrieve Fluid object with from URL: \"${path}\"`);\n } else if (response.value === undefined) {\n throw new Error(`Empty response for from URL: \"${path}\"`);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n return response.value;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerServices.js","sourceRoot":"","sources":["../../src/container-services/containerServices.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAEH,iBAAiB,EACjB,mBAAmB,GACtB,MAAM,+BAA+B,CAAC;AAEvC,iCAAiC;AACjC,MAAM,CAAC,MAAM,oBAAoB,GAAG,WAAW,CAAC;AAKhD;;GAEG;AACH,MAAM,OAAgB,oBAAoB;IAGtC,YAA+B,OAA0B;QAA1B,YAAO,GAAP,OAAO,CAAmB;IACzD,CAAC;IAHD,IAAW,YAAY,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;IAKnC,KAAK,CAAC,OAAO,CAAC,OAAiB;QAClC,OAAO;YACH,MAAM,EAAE,GAAG;YACX,QAAQ,EAAE,cAAc;YACxB,KAAK,EAAE,IAAI;SACd,CAAC;IACN,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,gCAAgC;IAGlC,YAC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C,MAAM,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;QAC/C,IAAI,MAAM,EAAE;YACR,OAAO,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;SACrC;QAED,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;YACpB,qFAAqF;YACrF,OAAO,mBAAmB,CAAC,GAAG,EAAE,0DAA0D,EAAE,OAAO,CAAC,CAAC;SACxG;QAED,4CAA4C;QAC5C,OAAO;YACH,MAAM,EAAE,GAAG;YACX,QAAQ,EAAE,cAAc;YACxB,KAAK,EAAE,OAAO;SACjB,CAAC;IACN,CAAC,CAAC;AACN,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IResponse,
|
|
1
|
+
{"version":3,"file":"containerServices.js","sourceRoot":"","sources":["../../src/container-services/containerServices.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAEH,iBAAiB,EACjB,mBAAmB,GACtB,MAAM,+BAA+B,CAAC;AAEvC,iCAAiC;AACjC,MAAM,CAAC,MAAM,oBAAoB,GAAG,WAAW,CAAC;AAKhD;;GAEG;AACH,MAAM,OAAgB,oBAAoB;IAGtC,YAA+B,OAA0B;QAA1B,YAAO,GAAP,OAAO,CAAmB;IACzD,CAAC;IAHD,IAAW,YAAY,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;IAKnC,KAAK,CAAC,OAAO,CAAC,OAAiB;QAClC,OAAO;YACH,MAAM,EAAE,GAAG;YACX,QAAQ,EAAE,cAAc;YACxB,KAAK,EAAE,IAAI;SACd,CAAC;IACN,CAAC;CACJ;AAED;;GAEG;AACH,MAAM,gCAAgC;IAGlC,YACqB,SAA+D;QAA/D,cAAS,GAAT,SAAS,CAAsD;IAChF,CAAC;IAEE,KAAK,CAAC,UAAU,CAAC,OAA0B;QAC9C,IAAI,CAAC,IAAI,CAA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AC,UAAU,CAAC,CAAC;SACrC;QAED,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;YACpB,qFAAqF;YACrF,OAAO,mBAAmB,CAAC,GAAG,EAAE,0DAA0D,EAAE,OAAO,CAAC,CAAC;SACxG;QAED,4CAA4C;QAC5C,OAAO;YACH,MAAM,EAAE,GAAG;YACX,QAAQ,EAAE,cAAc;YACxB,KAAK,EAAE,OAAO;SACjB,CAAC;IACN,CAAC,CAAC;AACN,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IResponse, IFluidRouter, IRequest, FluidObject } from \"@fluidframework/core-interfaces\";\nimport { IContainerRuntime } from \"@fluidframework/container-runtime-definitions\";\nimport { RuntimeRequestHandler } from \"@fluidframework/request-handler\";\nimport {\n RequestParser,\n create404Response,\n createResponseError,\n} from \"@fluidframework/runtime-utils\";\n\n// TODO: should this just be \"s\"?\nexport const serviceRoutePathRoot = \"_services\";\n\nexport type ContainerServiceRegistryEntries = Iterable<[string, (runtime: IContainerRuntime) =>\n Promise<FluidObject>]>;\n\n/**\n * This class is a simple starter class for building a Container Service. It simply provides routing\n */\nexport abstract class BaseContainerService implements IFluidRouter {\n public get IFluidRouter() { return this; }\n\n constructor(protected readonly runtime: IContainerRuntime) {\n }\n\n public async request(request: IRequest): Promise<IResponse> {\n return {\n status: 200,\n mimeType: \"fluid/object\",\n value: this,\n };\n }\n}\n\n/**\n * ContainerService Factory that will only create one instance of the service for the Container.\n */\nclass SingletonContainerServiceFactory {\n private service: Promise<FluidObject> | undefined;\n\n public constructor(\n private readonly serviceFn: (runtime: IContainerRuntime) => Promise<FluidObject>,\n ) { }\n\n public async getService(runtime: IContainerRuntime): Promise<FluidObject<IFluidRouter>> {\n if (!this.service) {\n this.service = this.serviceFn(runtime);\n }\n return this.service;\n }\n}\n\n/**\n * Given a collection of IContainerServices will produce a RequestHandler for them all\n * @param serviceRegistry - Collection of Container Services\n */\nexport const generateContainerServicesRequestHandler =\n (serviceRegistry: ContainerServiceRegistryEntries): RuntimeRequestHandler => {\n const factories: Map<string, SingletonContainerServiceFactory> = new Map();\n new Map(serviceRegistry).forEach((fn, id) => {\n factories.set(id, new SingletonContainerServiceFactory(fn));\n });\n\n return async (request: RequestParser, runtime: IContainerRuntime) => {\n if (request.pathParts[0] !== serviceRoutePathRoot) {\n // If the request is not for a service we return undefined so the next handler can use it\n return undefined;\n }\n\n if (request.pathParts.length < 2) {\n // If there is not service to route to then return a failure\n return createResponseError(400, \"request did not specify a service to route to\", request);\n }\n\n const factory = factories.get(request.pathParts[1]);\n if (!factory) {\n // If we can't find a registry entry then return\n return create404Response(request);\n }\n\n const service = await factory.getService(runtime);\n const router = service.IFluidRouter;\n const subRequest = request.createSubRequest(2);\n if (router) {\n return router.request(subRequest);\n }\n\n if (!request.isLeaf(2)) {\n // If there is not terminating route but a sub-route was requested then we will fail.\n return createResponseError(400, \"request sub-url for service that doesn't support routing\", request);\n }\n\n // Otherwise we will just return the service\n return {\n status: 200,\n mimeType: \"fluid/object\",\n value: service,\n };\n };\n };\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataObjectFactory.js","sourceRoot":"","sources":["../../src/data-object-factories/dataObjectFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,SAAS,GACZ,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;;;;;GAOG;AACH,MAAM,OAAO,iBACT,SAAQ,qBAA8B;IAEtC,YACI,IAAY,EACZ,IAA8C,EAC9C,gBAA4C,EAAE,EAC9C,
|
|
1
|
+
{"version":3,"file":"dataObjectFactory.js","sourceRoot":"","sources":["../../src/data-object-factories/dataObjectFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,SAAS,GACZ,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE;;;;;;;GAOG;AACH,MAAM,OAAO,iBACT,SAAQ,qBAA8B;IAEtC,YACI,IAAY,EACZ,IAA8C,EAC9C,gBAA4C,EAAE,EAC9C,iBAAoE,EACpE,eAAoD,EACpD,iBAA+C,qBAAqB;QAEpE,MAAM,aAAa,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC;QAEzC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,gBAAgB,CAAC,IAAI,CAAC,EAAE;YAC1E,sCAAsC;YACtC,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC,CAAC;SACpD;QAED,0GAA0G;QAC1G,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU,CAAC,IAAI,CAAC,EAAE;YACpE,gCAAgC;YAChC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;SAC9C;QAED,KAAK,CACD,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,cAAc,CACjB,CAAC;IACN,CAAC;CACJ","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n DirectoryFactory,\n MapFactory,\n SharedDirectory,\n SharedMap,\n} from \"@fluidframework/map\";\nimport {\n NamedFluidDataStoreRegistryEntries,\n} from \"@fluidframework/runtime-definitions\";\nimport { IChannelFactory } from \"@fluidframework/datastore-definitions\";\nimport { FluidObjectSymbolProvider } from \"@fluidframework/synthesize\";\nimport { FluidDataStoreRuntime } from \"@fluidframework/datastore\";\n\nimport { DataObject, DataObjectTypes, IDataObjectProps } from \"../data-objects\";\nimport { PureDataObjectFactory } from \"./pureDataObjectFactory\";\n\n/**\n * DataObjectFactory is the IFluidDataStoreFactory for use with DataObjects.\n * It facilitates DataObject's features (such as its shared directory) by\n * ensuring relevant shared objects etc are available to the factory.\n *\n * @typeParam TObj - DataObject (concrete type)\n * @typeParam I - The input types for the DataObject\n */\nexport class DataObjectFactory<TObj extends DataObject<I>, I extends DataObjectTypes = DataObjectTypes>\n extends PureDataObjectFactory<TObj, I>\n{\n constructor(\n type: string,\n ctor: new (props: IDataObjectProps<I>) => TObj,\n sharedObjects: readonly IChannelFactory[] = [],\n optionalProviders: FluidObjectSymbolProvider<I[\"OptionalProviders\"]>,\n registryEntries?: NamedFluidDataStoreRegistryEntries,\n runtimeFactory: typeof FluidDataStoreRuntime = FluidDataStoreRuntime,\n ) {\n const mergedObjects = [...sharedObjects];\n\n if (!sharedObjects.find((factory) => factory.type === DirectoryFactory.Type)) {\n // User did not register for directory\n mergedObjects.push(SharedDirectory.getFactory());\n }\n\n // TODO: Remove SharedMap factory when compatibility with SharedMap DataObject is no longer needed in 0.10\n if (!sharedObjects.find((factory) => factory.type === MapFactory.Type)) {\n // User did not register for map\n mergedObjects.push(SharedMap.getFactory());\n }\n\n super(\n type,\n ctor,\n mergedObjects,\n optionalProviders,\n registryEntries,\n runtimeFactory,\n );\n }\n}\n"]}
|