@fluidframework/container-definitions 2.0.0-dev.7.4.0.215747 → 2.0.0-dev.7.4.0.216897

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 (67) hide show
  1. package/api-extractor-lint.json +13 -0
  2. package/api-report/container-definitions.api.md +52 -54
  3. package/dist/audience.d.ts +2 -2
  4. package/dist/audience.js.map +1 -1
  5. package/dist/browserPackage.d.ts +3 -3
  6. package/dist/browserPackage.js +1 -1
  7. package/dist/browserPackage.js.map +1 -1
  8. package/dist/container-definitions-alpha.d.ts +73 -1395
  9. package/dist/container-definitions-beta.d.ts +72 -1366
  10. package/dist/container-definitions-public.d.ts +72 -1366
  11. package/dist/container-definitions-untrimmed.d.ts +56 -56
  12. package/dist/deltas.d.ts +7 -7
  13. package/dist/deltas.js.map +1 -1
  14. package/dist/error.d.ts +5 -6
  15. package/dist/error.d.ts.map +1 -1
  16. package/dist/error.js +2 -2
  17. package/dist/error.js.map +1 -1
  18. package/dist/fluidModule.d.ts +1 -1
  19. package/dist/fluidModule.js.map +1 -1
  20. package/dist/fluidPackage.d.ts +9 -9
  21. package/dist/fluidPackage.js +3 -3
  22. package/dist/fluidPackage.js.map +1 -1
  23. package/dist/loader.d.ts +21 -18
  24. package/dist/loader.d.ts.map +1 -1
  25. package/dist/loader.js +1 -1
  26. package/dist/loader.js.map +1 -1
  27. package/dist/runtime.d.ts +8 -10
  28. package/dist/runtime.d.ts.map +1 -1
  29. package/dist/runtime.js +2 -2
  30. package/dist/runtime.js.map +1 -1
  31. package/lib/audience.d.ts +2 -2
  32. package/lib/audience.js.map +1 -1
  33. package/lib/browserPackage.d.ts +3 -3
  34. package/lib/browserPackage.js +1 -1
  35. package/lib/browserPackage.js.map +1 -1
  36. package/lib/container-definitions-alpha.d.ts +73 -1395
  37. package/lib/container-definitions-beta.d.ts +72 -1366
  38. package/lib/container-definitions-public.d.ts +72 -1366
  39. package/lib/container-definitions-untrimmed.d.ts +56 -56
  40. package/lib/deltas.d.ts +7 -7
  41. package/lib/deltas.js.map +1 -1
  42. package/lib/error.d.ts +5 -6
  43. package/lib/error.d.ts.map +1 -1
  44. package/lib/error.js +2 -2
  45. package/lib/error.js.map +1 -1
  46. package/lib/fluidModule.d.ts +1 -1
  47. package/lib/fluidModule.js.map +1 -1
  48. package/lib/fluidPackage.d.ts +9 -9
  49. package/lib/fluidPackage.js +3 -3
  50. package/lib/fluidPackage.js.map +1 -1
  51. package/lib/loader.d.ts +21 -18
  52. package/lib/loader.d.ts.map +1 -1
  53. package/lib/loader.js +1 -1
  54. package/lib/loader.js.map +1 -1
  55. package/lib/runtime.d.ts +8 -10
  56. package/lib/runtime.d.ts.map +1 -1
  57. package/lib/runtime.js +2 -2
  58. package/lib/runtime.js.map +1 -1
  59. package/package.json +5 -4
  60. package/src/audience.ts +2 -2
  61. package/src/browserPackage.ts +3 -3
  62. package/src/deltas.ts +7 -7
  63. package/src/error.ts +5 -6
  64. package/src/fluidModule.ts +1 -1
  65. package/src/fluidPackage.ts +9 -9
  66. package/src/loader.ts +21 -18
  67. package/src/runtime.ts +8 -10
@@ -39,7 +39,7 @@ import { MessageType } from '@fluidframework/protocol-definitions';
39
39
  /**
40
40
  * The attachment state of some Fluid data (e.g. a container or data store), denoting whether it is uploaded to the
41
41
  * service. The transition from detached to attached state is a one-way transition.
42
- * @public
42
+ * @internal
43
43
  */
44
44
  export declare enum AttachState {
45
45
  /**
@@ -61,33 +61,37 @@ export declare enum AttachState {
61
61
  /**
62
62
  * Namespace for the different connection states a container can be in.
63
63
  * PLEASE NOTE: The sequence of the numerical values does no correspond to the typical connection state progression.
64
- * @public
64
+ * @internal
65
65
  */
66
66
  export declare namespace ConnectionState {
67
67
  /**
68
68
  * The container is not connected to the delta server.
69
69
  * Note - When in this state the container may be about to reconnect,
70
70
  * or may remain disconnected until explicitly told to connect.
71
+ * @internal
71
72
  */
72
73
  export type Disconnected = 0;
73
74
  /**
74
75
  * The container is disconnected but actively trying to establish a new connection.
75
76
  * PLEASE NOTE that this numerical value falls out of the order you may expect for this state.
77
+ * @internal
76
78
  */
77
79
  export type EstablishingConnection = 3;
78
80
  /**
79
81
  * The container has an inbound connection only, and is catching up to the latest known state from the service.
82
+ * @internal
80
83
  */
81
84
  export type CatchingUp = 1;
82
85
  /**
83
86
  * The container is fully connected and syncing.
87
+ * @internal
84
88
  */
85
89
  export type Connected = 2;
86
90
  }
87
91
 
88
92
  /**
89
93
  * Type defining the different states of connectivity a Container can be in.
90
- * @public
94
+ * @internal
91
95
  */
92
96
  export declare type ConnectionState = ConnectionState.Disconnected | ConnectionState.EstablishingConnection | ConnectionState.CatchingUp | ConnectionState.Connected;
93
97
 
@@ -95,7 +99,7 @@ export declare type ConnectionState = ConnectionState.Disconnected | ConnectionS
95
99
  * Different error types the Container may report out to the Host.
96
100
  *
97
101
  * @deprecated ContainerErrorType is being deprecated as a public export. Please use {@link ContainerErrorTypes#clientSessionExpiredError} instead.
98
- * @public
102
+ * @internal
99
103
  */
100
104
  export declare enum ContainerErrorType {
101
105
  /**
@@ -127,7 +131,7 @@ export declare enum ContainerErrorType {
127
131
 
128
132
  /**
129
133
  * Different error types the ClientSession may report out to the Host.
130
- * @public
134
+ * @internal
131
135
  */
132
136
  export declare const ContainerErrorTypes: {
133
137
  /**
@@ -143,13 +147,13 @@ export declare const ContainerErrorTypes: {
143
147
  };
144
148
 
145
149
  /**
146
- * @public
150
+ * @internal
147
151
  */
148
152
  export declare type ContainerErrorTypes = (typeof ContainerErrorTypes)[keyof typeof ContainerErrorTypes];
149
153
 
150
154
  /**
151
155
  * Represents warnings raised on container.
152
- * @public
156
+ * @internal
153
157
  */
154
158
  export declare interface ContainerWarning extends IErrorBase {
155
159
  /**
@@ -165,7 +169,7 @@ export declare interface ContainerWarning extends IErrorBase {
165
169
  *
166
170
  * See {@link https://nodejs.org/api/events.html#class-eventemitter | here} for an overview of the `EventEmitter`
167
171
  * class.
168
- * @public
172
+ * @internal
169
173
  */
170
174
  export declare interface IAudience extends EventEmitter {
171
175
  /**
@@ -185,7 +189,7 @@ export declare interface IAudience extends EventEmitter {
185
189
 
186
190
  /**
187
191
  * Manages the state and the members for {@link IAudience}
188
- * @public
192
+ * @internal
189
193
  */
190
194
  export declare interface IAudienceOwner extends IAudience {
191
195
  /**
@@ -201,7 +205,7 @@ export declare interface IAudienceOwner extends IAudience {
201
205
 
202
206
  /**
203
207
  * Payload type for IContainerContext.submitBatchFn()
204
- * @public
208
+ * @internal
205
209
  */
206
210
  export declare interface IBatchMessage {
207
211
  contents?: string;
@@ -213,7 +217,7 @@ export declare interface IBatchMessage {
213
217
  /**
214
218
  * Fluid code loader resolves a code module matching the document schema, i.e. code details, such as
215
219
  * a package name and package version range.
216
- * @public
220
+ * @internal
217
221
  */
218
222
  export declare interface ICodeDetailsLoader extends Partial<IProvideFluidCodeDetailsComparer> {
219
223
  /**
@@ -227,7 +231,7 @@ export declare interface ICodeDetailsLoader extends Partial<IProvideFluidCodeDet
227
231
 
228
232
  /**
229
233
  * Contract representing the result of a newly established connection to the server for syncing deltas.
230
- * @public
234
+ * @internal
231
235
  */
232
236
  export declare interface IConnectionDetails {
233
237
  clientId: string;
@@ -248,7 +252,7 @@ export declare interface IConnectionDetails {
248
252
 
249
253
  /**
250
254
  * The Host's view of a Container and its connection to storage
251
- * @public
255
+ * @internal
252
256
  */
253
257
  export declare interface IContainer extends IEventProvider<IContainerEvents>, IFluidRouter {
254
258
  /**
@@ -423,7 +427,6 @@ export declare interface IContainer extends IEventProvider<IContainerEvents>, IF
423
427
  /**
424
428
  * Allows the host to have the container force to be in read-only mode
425
429
  * @param readonly - Boolean that toggles if read-only policies will be enforced
426
- * @alpha
427
430
  */
428
431
  forceReadonly?(readonly: boolean): any;
429
432
  /**
@@ -437,7 +440,7 @@ export declare interface IContainer extends IEventProvider<IContainerEvents>, IF
437
440
  * IContainerContext is fundamentally just the set of things that an IRuntimeFactory (and IRuntime) will consume from the
438
441
  * loader layer. It gets passed into the IRuntimeFactory.instantiateRuntime call. Only include members on this interface
439
442
  * if you intend them to be consumed/called from the runtime layer.
440
- * @public
443
+ * @internal
441
444
  */
442
445
  export declare interface IContainerContext {
443
446
  readonly options: ILoaderOptions;
@@ -505,7 +508,7 @@ export declare interface IContainerContext {
505
508
 
506
509
  /**
507
510
  * Events emitted by the {@link IContainer} "upwards" to the Loader and Host.
508
- * @public
511
+ * @internal
509
512
  */
510
513
  export declare interface IContainerEvents extends IEvent {
511
514
  /**
@@ -649,7 +652,7 @@ export declare interface IContainerEvents extends IEvent {
649
652
  }
650
653
 
651
654
  /**
652
- * @public
655
+ * @internal
653
656
  */
654
657
  export declare interface IContainerLoadMode {
655
658
  opsBeforeReturn?: undefined | "sequenceNumber" | "cached" | "all";
@@ -674,14 +677,13 @@ export declare interface IContainerLoadMode {
674
677
  * - {@link @fluidframework/odsp-driver-definitions#OdspErrorType}
675
678
  *
676
679
  * - {@link @fluidframework/routerlicious-driver#RouterliciousErrorType}
677
- *
678
- * @public
680
+ * @internal
679
681
  */
680
682
  export declare type ICriticalContainerError = IErrorBase;
681
683
 
682
684
  /**
683
685
  * Manages the transmission of ops between the runtime and storage.
684
- * @public
686
+ * @internal
685
687
  */
686
688
  export declare interface IDeltaManager<T, U> extends IEventProvider<IDeltaManagerEvents>, IDeltaSender {
687
689
  /**
@@ -750,7 +752,7 @@ export declare interface IDeltaManager<T, U> extends IEventProvider<IDeltaManage
750
752
 
751
753
  /**
752
754
  * Events emitted by {@link IDeltaManager}.
753
- * @public
755
+ * @internal
754
756
  */
755
757
  export declare interface IDeltaManagerEvents extends IEvent {
756
758
  /**
@@ -820,7 +822,7 @@ export declare interface IDeltaManagerEvents extends IEvent {
820
822
 
821
823
  /**
822
824
  * Queue of ops to be sent to or processed from storage
823
- * @public
825
+ * @internal
824
826
  */
825
827
  export declare interface IDeltaQueue<T> extends IEventProvider<IDeltaQueueEvents<T>>, IDisposable {
826
828
  /**
@@ -866,7 +868,7 @@ export declare interface IDeltaQueue<T> extends IEventProvider<IDeltaQueueEvents
866
868
 
867
869
  /**
868
870
  * Events emitted by {@link IDeltaQueue}.
869
- * @public
871
+ * @internal
870
872
  */
871
873
  export declare interface IDeltaQueueEvents<T> extends IErrorEvent {
872
874
  /**
@@ -907,7 +909,7 @@ export declare interface IDeltaQueueEvents<T> extends IErrorEvent {
907
909
 
908
910
  /**
909
911
  * Contract supporting delivery of outbound messages to the server
910
- * @public
912
+ * @internal
911
913
  */
912
914
  export declare interface IDeltaSender {
913
915
  /**
@@ -920,7 +922,7 @@ export { IErrorBase }
920
922
 
921
923
  /**
922
924
  * A Fluid package for specification for browser environments
923
- * @public
925
+ * @internal
924
926
  */
925
927
  export declare interface IFluidBrowserPackage extends IFluidPackage {
926
928
  /**
@@ -940,7 +942,7 @@ export declare interface IFluidBrowserPackage extends IFluidPackage {
940
942
 
941
943
  /**
942
944
  * A specific Fluid package environment for browsers
943
- * @public
945
+ * @internal
944
946
  */
945
947
  export declare interface IFluidBrowserPackageEnvironment extends IFluidPackageEnvironment {
946
948
  /**
@@ -963,7 +965,7 @@ export declare interface IFluidBrowserPackageEnvironment extends IFluidPackageEn
963
965
 
964
966
  /**
965
967
  * Data structure used to describe the code to load on the Fluid document
966
- * @public
968
+ * @internal
967
969
  */
968
970
  export declare interface IFluidCodeDetails {
969
971
  /**
@@ -981,13 +983,13 @@ export declare interface IFluidCodeDetails {
981
983
  }
982
984
 
983
985
  /**
984
- * @public
986
+ * @internal
985
987
  */
986
988
  export declare const IFluidCodeDetailsComparer: keyof IProvideFluidCodeDetailsComparer;
987
989
 
988
990
  /**
989
991
  * Provides capability to compare Fluid code details.
990
- * @public
992
+ * @internal
991
993
  */
992
994
  export declare interface IFluidCodeDetailsComparer extends IProvideFluidCodeDetailsComparer {
993
995
  /**
@@ -1016,7 +1018,7 @@ export declare interface IFluidCodeDetailsComparer extends IProvideFluidCodeDeta
1016
1018
 
1017
1019
  /**
1018
1020
  * Package manager configuration. Provides a key value mapping of config values
1019
- * @public
1021
+ * @internal
1020
1022
  */
1021
1023
  export declare interface IFluidCodeDetailsConfig {
1022
1024
  readonly [key: string]: string;
@@ -1028,7 +1030,7 @@ export declare interface IFluidCodeDetailsConfig {
1028
1030
  * The Fluid code resolver is coupled to a specific cdn and knows how to resolve
1029
1031
  * the code detail for loading from that cdn. This include resolving to the most recent
1030
1032
  * version of package that supports the provided code details.
1031
- * @public
1033
+ * @internal
1032
1034
  */
1033
1035
  export declare interface IFluidCodeResolver {
1034
1036
  /**
@@ -1041,7 +1043,7 @@ export declare interface IFluidCodeResolver {
1041
1043
  }
1042
1044
 
1043
1045
  /**
1044
- * @public
1046
+ * @internal
1045
1047
  */
1046
1048
  export declare interface IFluidModule {
1047
1049
  fluidExport: FluidObject<IRuntimeFactory & IProvideFluidCodeDetailsComparer>;
@@ -1049,7 +1051,7 @@ export declare interface IFluidModule {
1049
1051
 
1050
1052
  /**
1051
1053
  * Encapsulates a module entry point with corresponding code details.
1052
- * @public
1054
+ * @internal
1053
1055
  */
1054
1056
  export declare interface IFluidModuleWithDetails {
1055
1057
  /**
@@ -1070,7 +1072,7 @@ export declare interface IFluidModuleWithDetails {
1070
1072
  * While compatible with the npm package format it is not necessary that that package is an
1071
1073
  * npm package:
1072
1074
  * {@link https://stackoverflow.com/questions/10065564/add-custom-metadata-or-config-to-package-json-is-it-valid}
1073
- * @public
1075
+ * @internal
1074
1076
  */
1075
1077
  export declare interface IFluidPackage {
1076
1078
  /**
@@ -1097,7 +1099,7 @@ export declare interface IFluidPackage {
1097
1099
 
1098
1100
  /**
1099
1101
  * Specifies an environment on Fluid property of a IFluidPackage.
1100
- * @public
1102
+ * @internal
1101
1103
  */
1102
1104
  export declare interface IFluidPackageEnvironment {
1103
1105
  /**
@@ -1124,7 +1126,7 @@ export { IGenericError }
1124
1126
 
1125
1127
  /**
1126
1128
  * Defines list of properties expected for getPendingLocalState
1127
- * @alpha
1129
+ * @internal
1128
1130
  */
1129
1131
  export declare interface IGetPendingLocalStateProps {
1130
1132
  /**
@@ -1144,7 +1146,7 @@ export declare interface IGetPendingLocalStateProps {
1144
1146
 
1145
1147
  /**
1146
1148
  * The Host's view of the Loader, used for loading Containers
1147
- * @public
1149
+ * @internal
1148
1150
  */
1149
1151
  export declare interface IHostLoader extends ILoader {
1150
1152
  /**
@@ -1167,7 +1169,7 @@ export declare interface IHostLoader extends ILoader {
1167
1169
 
1168
1170
  /**
1169
1171
  * The Runtime's view of the Loader, used for loading Containers
1170
- * @public
1172
+ * @internal
1171
1173
  */
1172
1174
  export declare interface ILoader extends Partial<IProvideLoader> {
1173
1175
  /**
@@ -1192,7 +1194,7 @@ export declare interface ILoader extends Partial<IProvideLoader> {
1192
1194
 
1193
1195
  /**
1194
1196
  * Set of Request Headers that the Loader understands and may inspect or modify
1195
- * @public
1197
+ * @internal
1196
1198
  */
1197
1199
  export declare interface ILoaderHeader {
1198
1200
  /**
@@ -1211,7 +1213,7 @@ export declare interface ILoaderHeader {
1211
1213
  }
1212
1214
 
1213
1215
  /**
1214
- * @public
1216
+ * @internal
1215
1217
  */
1216
1218
  export declare type ILoaderOptions = {
1217
1219
  [key in string | number]: any;
@@ -1244,7 +1246,7 @@ export declare type ILoaderOptions = {
1244
1246
  * @deprecated 0.48, This API will be removed in 0.50
1245
1247
  * No replacement since it is not expected anyone will depend on this outside container-loader
1246
1248
  * See {@link https://github.com/microsoft/FluidFramework/issues/9711} for context.
1247
- * @public
1249
+ * @internal
1248
1250
  */
1249
1251
  export declare interface IPendingLocalState {
1250
1252
  url: string;
@@ -1252,21 +1254,21 @@ export declare interface IPendingLocalState {
1252
1254
  }
1253
1255
 
1254
1256
  /**
1255
- * @public
1257
+ * @internal
1256
1258
  */
1257
1259
  export declare interface IProvideFluidCodeDetailsComparer {
1258
1260
  readonly IFluidCodeDetailsComparer: IFluidCodeDetailsComparer;
1259
1261
  }
1260
1262
 
1261
1263
  /**
1262
- * @public
1264
+ * @internal
1263
1265
  */
1264
1266
  export declare interface IProvideLoader {
1265
1267
  readonly ILoader: ILoader;
1266
1268
  }
1267
1269
 
1268
1270
  /**
1269
- * @public
1271
+ * @internal
1270
1272
  */
1271
1273
  export declare interface IProvideRuntimeFactory {
1272
1274
  readonly IRuntimeFactory: IRuntimeFactory;
@@ -1275,7 +1277,7 @@ export declare interface IProvideRuntimeFactory {
1275
1277
  /**
1276
1278
  * The interface returned from a IFluidCodeResolver which represents IFluidCodeDetails
1277
1279
  * that have been resolved and are ready to load
1278
- * @public
1280
+ * @internal
1279
1281
  */
1280
1282
  export declare interface IResolvedFluidCodeDetails extends IFluidCodeDetails {
1281
1283
  /**
@@ -1291,7 +1293,7 @@ export declare interface IResolvedFluidCodeDetails extends IFluidCodeDetails {
1291
1293
  /**
1292
1294
  * The IRuntime represents an instantiation of a code package within a Container.
1293
1295
  * Primarily held by the ContainerContext to be able to interact with the running instance of the Container.
1294
- * @public
1296
+ * @internal
1295
1297
  */
1296
1298
  export declare interface IRuntime extends IDisposable {
1297
1299
  /**
@@ -1326,8 +1328,6 @@ export declare interface IRuntime extends IDisposable {
1326
1328
  setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
1327
1329
  /**
1328
1330
  * Get pending local state in a serializable format to be given back to a newly loaded container
1329
- * @alpha
1330
- * {@link https://github.com/microsoft/FluidFramework/packages/tree/main/loader/container-loader/closeAndGetPendingLocalState.md}
1331
1331
  */
1332
1332
  getPendingLocalState(props?: IGetPendingLocalStateProps): unknown;
1333
1333
  /**
@@ -1351,7 +1351,7 @@ export declare interface IRuntime extends IDisposable {
1351
1351
  }
1352
1352
 
1353
1353
  /**
1354
- * @public
1354
+ * @internal
1355
1355
  */
1356
1356
  export declare const IRuntimeFactory: keyof IProvideRuntimeFactory;
1357
1357
 
@@ -1360,7 +1360,7 @@ export declare const IRuntimeFactory: keyof IProvideRuntimeFactory;
1360
1360
  *
1361
1361
  * Provides the entry point for the ContainerContext to load the proper IRuntime
1362
1362
  * to start up the running instance of the Container.
1363
- * @public
1363
+ * @internal
1364
1364
  */
1365
1365
  export declare interface IRuntimeFactory extends IProvideRuntimeFactory {
1366
1366
  /**
@@ -1376,20 +1376,20 @@ export declare interface IRuntimeFactory extends IProvideRuntimeFactory {
1376
1376
  /**
1377
1377
  * Determines if any object is an IFluidBrowserPackage
1378
1378
  * @param maybePkg - The object to check for compatibility with IFluidBrowserPackage
1379
- * @public
1379
+ * @internal
1380
1380
  */
1381
1381
  export declare const isFluidBrowserPackage: (maybePkg: unknown) => maybePkg is Readonly<IFluidBrowserPackage>;
1382
1382
 
1383
1383
  /**
1384
1384
  * Determines if any object is an IFluidCodeDetails
1385
- * @public
1385
+ * @internal
1386
1386
  */
1387
1387
  export declare const isFluidCodeDetails: (details: unknown) => details is Readonly<IFluidCodeDetails>;
1388
1388
 
1389
1389
  /**
1390
1390
  * Check if the package.json defines a Fluid package
1391
1391
  * @param pkg - the package json data to check if it is a Fluid package.
1392
- * @public
1392
+ * @internal
1393
1393
  */
1394
1394
  export declare const isFluidPackage: (pkg: unknown) => pkg is Readonly<IFluidPackage>;
1395
1395
 
@@ -1398,7 +1398,7 @@ export declare const isFluidPackage: (pkg: unknown) => pkg is Readonly<IFluidPac
1398
1398
  * in separate property: {@link ISnapshotTreeWithBlobContents.blobsContents}.
1399
1399
  *
1400
1400
  * @remarks This is used as the `ContainerContext`'s base snapshot when attaching.
1401
- * @public
1401
+ * @internal
1402
1402
  */
1403
1403
  export declare interface ISnapshotTreeWithBlobContents extends ISnapshotTree {
1404
1404
  blobsContents: {
@@ -1415,7 +1415,7 @@ export { IUsageError }
1415
1415
 
1416
1416
  /**
1417
1417
  * Accepted header keys for requests coming to the Loader
1418
- * @public
1418
+ * @internal
1419
1419
  */
1420
1420
  export declare enum LoaderHeader {
1421
1421
  /**
@@ -1444,7 +1444,7 @@ export declare enum LoaderHeader {
1444
1444
  }
1445
1445
 
1446
1446
  /**
1447
- * @public
1447
+ * @internal
1448
1448
  */
1449
1449
  export declare type ReadOnlyInfo = {
1450
1450
  readonly readonly: false | undefined;
package/dist/deltas.d.ts CHANGED
@@ -7,7 +7,7 @@ import { IAnyDriverError } from "@fluidframework/driver-definitions";
7
7
  import { IClientConfiguration, IClientDetails, IDocumentMessage, ISequencedDocumentMessage, ISignalMessage, ITokenClaims } from "@fluidframework/protocol-definitions";
8
8
  /**
9
9
  * Contract representing the result of a newly established connection to the server for syncing deltas.
10
- * @public
10
+ * @internal
11
11
  */
12
12
  export interface IConnectionDetails {
13
13
  clientId: string;
@@ -27,7 +27,7 @@ export interface IConnectionDetails {
27
27
  }
28
28
  /**
29
29
  * Contract supporting delivery of outbound messages to the server
30
- * @public
30
+ * @internal
31
31
  */
32
32
  export interface IDeltaSender {
33
33
  /**
@@ -37,7 +37,7 @@ export interface IDeltaSender {
37
37
  }
38
38
  /**
39
39
  * Events emitted by {@link IDeltaManager}.
40
- * @public
40
+ * @internal
41
41
  */
42
42
  export interface IDeltaManagerEvents extends IEvent {
43
43
  /**
@@ -106,7 +106,7 @@ export interface IDeltaManagerEvents extends IEvent {
106
106
  }
107
107
  /**
108
108
  * Manages the transmission of ops between the runtime and storage.
109
- * @public
109
+ * @internal
110
110
  */
111
111
  export interface IDeltaManager<T, U> extends IEventProvider<IDeltaManagerEvents>, IDeltaSender {
112
112
  /**
@@ -174,7 +174,7 @@ export interface IDeltaManager<T, U> extends IEventProvider<IDeltaManagerEvents>
174
174
  }
175
175
  /**
176
176
  * Events emitted by {@link IDeltaQueue}.
177
- * @public
177
+ * @internal
178
178
  */
179
179
  export interface IDeltaQueueEvents<T> extends IErrorEvent {
180
180
  /**
@@ -214,7 +214,7 @@ export interface IDeltaQueueEvents<T> extends IErrorEvent {
214
214
  }
215
215
  /**
216
216
  * Queue of ops to be sent to or processed from storage
217
- * @public
217
+ * @internal
218
218
  */
219
219
  export interface IDeltaQueue<T> extends IEventProvider<IDeltaQueueEvents<T>>, IDisposable {
220
220
  /**
@@ -258,7 +258,7 @@ export interface IDeltaQueue<T> extends IEventProvider<IDeltaQueueEvents<T>>, ID
258
258
  }>;
259
259
  }
260
260
  /**
261
- * @public
261
+ * @internal
262
262
  */
263
263
  export type ReadOnlyInfo = {
264
264
  readonly readonly: false | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"deltas.js","sourceRoot":"","sources":["../src/deltas.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIDisposable,\n\tIEventProvider,\n\tIEvent,\n\tIErrorEvent,\n\tIErrorBase,\n} from \"@fluidframework/core-interfaces\";\nimport { IAnyDriverError } from \"@fluidframework/driver-definitions\";\nimport {\n\tIClientConfiguration,\n\tIClientDetails,\n\tIDocumentMessage,\n\tISequencedDocumentMessage,\n\tISignalMessage,\n\tITokenClaims,\n} from \"@fluidframework/protocol-definitions\";\n\n/**\n * Contract representing the result of a newly established connection to the server for syncing deltas.\n * @public\n */\nexport interface IConnectionDetails {\n\tclientId: string;\n\tclaims: ITokenClaims;\n\tserviceConfiguration: IClientConfiguration;\n\n\t/**\n\t * Last known sequence number to ordering service at the time of connection.\n\t *\n\t * @remarks\n\t *\n\t * It may lap actual last sequence number (quite a bit, if container is very active).\n\t * But it's the best information for client to figure out how far it is behind, at least\n\t * for \"read\" connections. \"write\" connections may use own \"join\" op to similar information,\n\t * that is likely to be more up-to-date.\n\t */\n\tcheckpointSequenceNumber: number | undefined;\n}\n\n/**\n * Contract supporting delivery of outbound messages to the server\n * @public\n */\nexport interface IDeltaSender {\n\t/**\n\t * Flush all pending messages through the outbound queue\n\t */\n\tflush(): void;\n}\n\n/**\n * Events emitted by {@link IDeltaManager}.\n * @public\n */\nexport interface IDeltaManagerEvents extends IEvent {\n\t/**\n\t * @deprecated No replacement API recommended.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t(event: \"prepareSend\", listener: (messageBuffer: any[]) => void);\n\n\t/**\n\t * @deprecated No replacement API recommended.\n\t */\n\t(event: \"submitOp\", listener: (message: IDocumentMessage) => void);\n\n\t/**\n\t * Emitted immediately after processing an incoming operation (op).\n\t *\n\t * @remarks\n\t *\n\t * Note: this event is not intended for general use.\n\t * Prefer to listen to events on the appropriate ultimate recipients of the ops, rather than listening to the\n\t * ops directly on the {@link IDeltaManager}.\n\t *\n\t * Listener parameters:\n\t *\n\t * - `message`: The op that was processed.\n\t *\n\t * - `processingTime`: The amount of time it took to process the inbound operation (op), expressed in milliseconds.\n\t */\n\t(event: \"op\", listener: (message: ISequencedDocumentMessage, processingTime: number) => void);\n\n\t/**\n\t * Emitted periodically with latest information on network roundtrip latency\n\t */\n\t(event: \"pong\", listener: (latency: number) => void);\n\n\t/**\n\t * Emitted when the {@link IDeltaManager} completes connecting to the Fluid service.\n\t *\n\t * @remarks\n\t * This occurs once we've received the connect_document_success message from the server,\n\t * and happens prior to the client's join message (if there is a join message).\n\t *\n\t * Listener parameters:\n\t *\n\t * - `details`: Connection metadata.\n\t *\n\t * - `opsBehind`: An estimate of far behind the client is relative to the service in terms of ops.\n\t * Will not be specified if an estimate cannot be determined.\n\t */\n\t(event: \"connect\", listener: (details: IConnectionDetails, opsBehind?: number) => void);\n\n\t/**\n\t * Emitted when the {@link IDeltaManager} becomes disconnected from the Fluid service.\n\t *\n\t * @remarks Listener parameters:\n\t *\n\t * - `reason`: Describes the reason for which the delta manager was disconnected.\n\t * - `error` : error if any for the disconnect.\n\t */\n\t(event: \"disconnect\", listener: (reason: string, error?: IAnyDriverError) => void);\n\n\t/**\n\t * Emitted when read/write permissions change.\n\t *\n\t * @remarks Listener parameters:\n\t *\n\t * - `readonly`: Whether or not the delta manager is now read-only.\n\t */\n\t(\n\t\tevent: \"readonly\",\n\t\tlistener: (\n\t\t\treadonly: boolean,\n\t\t\treadonlyConnectionReason?: { reason: string; error?: IErrorBase },\n\t\t) => void,\n\t);\n}\n\n/**\n * Manages the transmission of ops between the runtime and storage.\n * @public\n */\nexport interface IDeltaManager<T, U> extends IEventProvider<IDeltaManagerEvents>, IDeltaSender {\n\t/**\n\t * The queue of inbound delta messages\n\t */\n\treadonly inbound: IDeltaQueue<T>;\n\n\t/**\n\t * The queue of outbound delta messages\n\t */\n\treadonly outbound: IDeltaQueue<U[]>;\n\n\t/**\n\t * The queue of inbound delta signals\n\t */\n\treadonly inboundSignal: IDeltaQueue<ISignalMessage>;\n\n\t/**\n\t * The current minimum sequence number\n\t */\n\treadonly minimumSequenceNumber: number;\n\n\t/**\n\t * The last sequence number processed by the delta manager\n\t */\n\treadonly lastSequenceNumber: number;\n\n\t/**\n\t * The last message processed by the delta manager\n\t */\n\treadonly lastMessage: ISequencedDocumentMessage | undefined;\n\n\t/**\n\t * The latest sequence number the delta manager is aware of\n\t */\n\treadonly lastKnownSeqNumber: number;\n\n\t/**\n\t * The initial sequence number set when attaching the op handler\n\t */\n\treadonly initialSequenceNumber: number;\n\n\t/**\n\t * Tells if current connection has checkpoint information.\n\t * I.e. we know how far behind the client was at the time of establishing connection\n\t */\n\treadonly hasCheckpointSequenceNumber: boolean;\n\n\t/**\n\t * Details of client\n\t */\n\treadonly clientDetails: IClientDetails;\n\n\t/**\n\t * Protocol version being used to communicate with the service\n\t */\n\treadonly version: string;\n\n\t/**\n\t * Max message size allowed to the delta manager\n\t */\n\treadonly maxMessageSize: number;\n\n\t/**\n\t * Service configuration provided by the service.\n\t */\n\treadonly serviceConfiguration: IClientConfiguration | undefined;\n\n\t/**\n\t * Flag to indicate whether the client can write or not.\n\t */\n\treadonly active: boolean;\n\n\treadonly readOnlyInfo: ReadOnlyInfo;\n\n\t/**\n\t * Submit a signal to the service to be broadcast to other connected clients, but not persisted\n\t */\n\t// TODO: use `unknown` instead (API breaking)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tsubmitSignal(content: any, targetClientId?: string): void;\n}\n\n/**\n * Events emitted by {@link IDeltaQueue}.\n * @public\n */\nexport interface IDeltaQueueEvents<T> extends IErrorEvent {\n\t/**\n\t * Emitted when a task is enqueued.\n\t *\n\t * @remarks Listener parameters:\n\t *\n\t * - `task`: The task being enqueued.\n\t */\n\t(event: \"push\", listener: (task: T) => void);\n\n\t/**\n\t * Emitted immediately after processing an enqueued task and removing it from the queue.\n\t *\n\t * @remarks\n\t *\n\t * Note: this event is not intended for general use.\n\t * Prefer to listen to events on the appropriate ultimate recipients of the ops, rather than listening to the\n\t * ops directly on the {@link IDeltaQueue}.\n\t *\n\t * Listener parameters:\n\t *\n\t * - `task`: The task that was processed.\n\t */\n\t(event: \"op\", listener: (task: T) => void);\n\n\t/**\n\t * Emitted when the queue of tasks to process is emptied.\n\t *\n\t * @remarks Listener parameters:\n\t *\n\t * - `count`: The number of events (`T`) processed before becoming idle.\n\t *\n\t * - `duration`: The amount of time it took to process elements (in milliseconds).\n\t *\n\t * @see {@link IDeltaQueue.idle}\n\t */\n\t(event: \"idle\", listener: (count: number, duration: number) => void);\n}\n\n/**\n * Queue of ops to be sent to or processed from storage\n * @public\n */\nexport interface IDeltaQueue<T> extends IEventProvider<IDeltaQueueEvents<T>>, IDisposable {\n\t/**\n\t * Flag indicating whether or not the queue was paused\n\t */\n\tpaused: boolean;\n\n\t/**\n\t * The number of messages remaining in the queue\n\t */\n\tlength: number;\n\n\t/**\n\t * Flag indicating whether or not the queue is idle.\n\t * I.e. there are no remaining messages to processes.\n\t */\n\tidle: boolean;\n\n\t/**\n\t * Pauses processing on the queue.\n\t *\n\t * @returns A promise which resolves when processing has been paused.\n\t */\n\tpause(): Promise<void>;\n\n\t/**\n\t * Resumes processing on the queue\n\t */\n\tresume(): void;\n\n\t/**\n\t * Peeks at the next message in the queue\n\t */\n\tpeek(): T | undefined;\n\n\t/**\n\t * Returns all the items in the queue as an array. Does not remove them from the queue.\n\t */\n\ttoArray(): T[];\n\n\t/**\n\t * returns number of ops processed and time it took to process these ops.\n\t * Zeros if queue did not process anything (had no messages, was paused or had hit an error before)\n\t */\n\twaitTillProcessingDone(): Promise<{ count: number; duration: number }>;\n}\n\n/**\n * @public\n */\nexport type ReadOnlyInfo =\n\t| {\n\t\t\treadonly readonly: false | undefined;\n\t }\n\t| {\n\t\t\treadonly readonly: true;\n\n\t\t\t/**\n\t\t\t * Read-only because `forceReadOnly()` was called.\n\t\t\t */\n\t\t\treadonly forced: boolean;\n\n\t\t\t/**\n\t\t\t * Read-only because client does not have write permissions for document.\n\t\t\t */\n\t\t\treadonly permissions: boolean | undefined;\n\n\t\t\t/**\n\t\t\t * Read-only with no delta stream connection.\n\t\t\t */\n\t\t\treadonly storageOnly: boolean;\n\n\t\t\t/**\n\t\t\t * Extra info on why connection to delta stream is not possible.\n\t\t\t *\n\t\t\t * @remarks This info might be provided if {@link ReadOnlyInfo.storageOnly} is set to `true`.\n\t\t\t */\n\t\t\treadonly storageOnlyReason?: string;\n\t };\n"]}
1
+ {"version":3,"file":"deltas.js","sourceRoot":"","sources":["../src/deltas.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIDisposable,\n\tIEventProvider,\n\tIEvent,\n\tIErrorEvent,\n\tIErrorBase,\n} from \"@fluidframework/core-interfaces\";\nimport { IAnyDriverError } from \"@fluidframework/driver-definitions\";\nimport {\n\tIClientConfiguration,\n\tIClientDetails,\n\tIDocumentMessage,\n\tISequencedDocumentMessage,\n\tISignalMessage,\n\tITokenClaims,\n} from \"@fluidframework/protocol-definitions\";\n\n/**\n * Contract representing the result of a newly established connection to the server for syncing deltas.\n * @internal\n */\nexport interface IConnectionDetails {\n\tclientId: string;\n\tclaims: ITokenClaims;\n\tserviceConfiguration: IClientConfiguration;\n\n\t/**\n\t * Last known sequence number to ordering service at the time of connection.\n\t *\n\t * @remarks\n\t *\n\t * It may lap actual last sequence number (quite a bit, if container is very active).\n\t * But it's the best information for client to figure out how far it is behind, at least\n\t * for \"read\" connections. \"write\" connections may use own \"join\" op to similar information,\n\t * that is likely to be more up-to-date.\n\t */\n\tcheckpointSequenceNumber: number | undefined;\n}\n\n/**\n * Contract supporting delivery of outbound messages to the server\n * @internal\n */\nexport interface IDeltaSender {\n\t/**\n\t * Flush all pending messages through the outbound queue\n\t */\n\tflush(): void;\n}\n\n/**\n * Events emitted by {@link IDeltaManager}.\n * @internal\n */\nexport interface IDeltaManagerEvents extends IEvent {\n\t/**\n\t * @deprecated No replacement API recommended.\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t(event: \"prepareSend\", listener: (messageBuffer: any[]) => void);\n\n\t/**\n\t * @deprecated No replacement API recommended.\n\t */\n\t(event: \"submitOp\", listener: (message: IDocumentMessage) => void);\n\n\t/**\n\t * Emitted immediately after processing an incoming operation (op).\n\t *\n\t * @remarks\n\t *\n\t * Note: this event is not intended for general use.\n\t * Prefer to listen to events on the appropriate ultimate recipients of the ops, rather than listening to the\n\t * ops directly on the {@link IDeltaManager}.\n\t *\n\t * Listener parameters:\n\t *\n\t * - `message`: The op that was processed.\n\t *\n\t * - `processingTime`: The amount of time it took to process the inbound operation (op), expressed in milliseconds.\n\t */\n\t(event: \"op\", listener: (message: ISequencedDocumentMessage, processingTime: number) => void);\n\n\t/**\n\t * Emitted periodically with latest information on network roundtrip latency\n\t */\n\t(event: \"pong\", listener: (latency: number) => void);\n\n\t/**\n\t * Emitted when the {@link IDeltaManager} completes connecting to the Fluid service.\n\t *\n\t * @remarks\n\t * This occurs once we've received the connect_document_success message from the server,\n\t * and happens prior to the client's join message (if there is a join message).\n\t *\n\t * Listener parameters:\n\t *\n\t * - `details`: Connection metadata.\n\t *\n\t * - `opsBehind`: An estimate of far behind the client is relative to the service in terms of ops.\n\t * Will not be specified if an estimate cannot be determined.\n\t */\n\t(event: \"connect\", listener: (details: IConnectionDetails, opsBehind?: number) => void);\n\n\t/**\n\t * Emitted when the {@link IDeltaManager} becomes disconnected from the Fluid service.\n\t *\n\t * @remarks Listener parameters:\n\t *\n\t * - `reason`: Describes the reason for which the delta manager was disconnected.\n\t * - `error` : error if any for the disconnect.\n\t */\n\t(event: \"disconnect\", listener: (reason: string, error?: IAnyDriverError) => void);\n\n\t/**\n\t * Emitted when read/write permissions change.\n\t *\n\t * @remarks Listener parameters:\n\t *\n\t * - `readonly`: Whether or not the delta manager is now read-only.\n\t */\n\t(\n\t\tevent: \"readonly\",\n\t\tlistener: (\n\t\t\treadonly: boolean,\n\t\t\treadonlyConnectionReason?: { reason: string; error?: IErrorBase },\n\t\t) => void,\n\t);\n}\n\n/**\n * Manages the transmission of ops between the runtime and storage.\n * @internal\n */\nexport interface IDeltaManager<T, U> extends IEventProvider<IDeltaManagerEvents>, IDeltaSender {\n\t/**\n\t * The queue of inbound delta messages\n\t */\n\treadonly inbound: IDeltaQueue<T>;\n\n\t/**\n\t * The queue of outbound delta messages\n\t */\n\treadonly outbound: IDeltaQueue<U[]>;\n\n\t/**\n\t * The queue of inbound delta signals\n\t */\n\treadonly inboundSignal: IDeltaQueue<ISignalMessage>;\n\n\t/**\n\t * The current minimum sequence number\n\t */\n\treadonly minimumSequenceNumber: number;\n\n\t/**\n\t * The last sequence number processed by the delta manager\n\t */\n\treadonly lastSequenceNumber: number;\n\n\t/**\n\t * The last message processed by the delta manager\n\t */\n\treadonly lastMessage: ISequencedDocumentMessage | undefined;\n\n\t/**\n\t * The latest sequence number the delta manager is aware of\n\t */\n\treadonly lastKnownSeqNumber: number;\n\n\t/**\n\t * The initial sequence number set when attaching the op handler\n\t */\n\treadonly initialSequenceNumber: number;\n\n\t/**\n\t * Tells if current connection has checkpoint information.\n\t * I.e. we know how far behind the client was at the time of establishing connection\n\t */\n\treadonly hasCheckpointSequenceNumber: boolean;\n\n\t/**\n\t * Details of client\n\t */\n\treadonly clientDetails: IClientDetails;\n\n\t/**\n\t * Protocol version being used to communicate with the service\n\t */\n\treadonly version: string;\n\n\t/**\n\t * Max message size allowed to the delta manager\n\t */\n\treadonly maxMessageSize: number;\n\n\t/**\n\t * Service configuration provided by the service.\n\t */\n\treadonly serviceConfiguration: IClientConfiguration | undefined;\n\n\t/**\n\t * Flag to indicate whether the client can write or not.\n\t */\n\treadonly active: boolean;\n\n\treadonly readOnlyInfo: ReadOnlyInfo;\n\n\t/**\n\t * Submit a signal to the service to be broadcast to other connected clients, but not persisted\n\t */\n\t// TODO: use `unknown` instead (API breaking)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tsubmitSignal(content: any, targetClientId?: string): void;\n}\n\n/**\n * Events emitted by {@link IDeltaQueue}.\n * @internal\n */\nexport interface IDeltaQueueEvents<T> extends IErrorEvent {\n\t/**\n\t * Emitted when a task is enqueued.\n\t *\n\t * @remarks Listener parameters:\n\t *\n\t * - `task`: The task being enqueued.\n\t */\n\t(event: \"push\", listener: (task: T) => void);\n\n\t/**\n\t * Emitted immediately after processing an enqueued task and removing it from the queue.\n\t *\n\t * @remarks\n\t *\n\t * Note: this event is not intended for general use.\n\t * Prefer to listen to events on the appropriate ultimate recipients of the ops, rather than listening to the\n\t * ops directly on the {@link IDeltaQueue}.\n\t *\n\t * Listener parameters:\n\t *\n\t * - `task`: The task that was processed.\n\t */\n\t(event: \"op\", listener: (task: T) => void);\n\n\t/**\n\t * Emitted when the queue of tasks to process is emptied.\n\t *\n\t * @remarks Listener parameters:\n\t *\n\t * - `count`: The number of events (`T`) processed before becoming idle.\n\t *\n\t * - `duration`: The amount of time it took to process elements (in milliseconds).\n\t *\n\t * @see {@link IDeltaQueue.idle}\n\t */\n\t(event: \"idle\", listener: (count: number, duration: number) => void);\n}\n\n/**\n * Queue of ops to be sent to or processed from storage\n * @internal\n */\nexport interface IDeltaQueue<T> extends IEventProvider<IDeltaQueueEvents<T>>, IDisposable {\n\t/**\n\t * Flag indicating whether or not the queue was paused\n\t */\n\tpaused: boolean;\n\n\t/**\n\t * The number of messages remaining in the queue\n\t */\n\tlength: number;\n\n\t/**\n\t * Flag indicating whether or not the queue is idle.\n\t * I.e. there are no remaining messages to processes.\n\t */\n\tidle: boolean;\n\n\t/**\n\t * Pauses processing on the queue.\n\t *\n\t * @returns A promise which resolves when processing has been paused.\n\t */\n\tpause(): Promise<void>;\n\n\t/**\n\t * Resumes processing on the queue\n\t */\n\tresume(): void;\n\n\t/**\n\t * Peeks at the next message in the queue\n\t */\n\tpeek(): T | undefined;\n\n\t/**\n\t * Returns all the items in the queue as an array. Does not remove them from the queue.\n\t */\n\ttoArray(): T[];\n\n\t/**\n\t * returns number of ops processed and time it took to process these ops.\n\t * Zeros if queue did not process anything (had no messages, was paused or had hit an error before)\n\t */\n\twaitTillProcessingDone(): Promise<{ count: number; duration: number }>;\n}\n\n/**\n * @internal\n */\nexport type ReadOnlyInfo =\n\t| {\n\t\t\treadonly readonly: false | undefined;\n\t }\n\t| {\n\t\t\treadonly readonly: true;\n\n\t\t\t/**\n\t\t\t * Read-only because `forceReadOnly()` was called.\n\t\t\t */\n\t\t\treadonly forced: boolean;\n\n\t\t\t/**\n\t\t\t * Read-only because client does not have write permissions for document.\n\t\t\t */\n\t\t\treadonly permissions: boolean | undefined;\n\n\t\t\t/**\n\t\t\t * Read-only with no delta stream connection.\n\t\t\t */\n\t\t\treadonly storageOnly: boolean;\n\n\t\t\t/**\n\t\t\t * Extra info on why connection to delta stream is not possible.\n\t\t\t *\n\t\t\t * @remarks This info might be provided if {@link ReadOnlyInfo.storageOnly} is set to `true`.\n\t\t\t */\n\t\t\treadonly storageOnlyReason?: string;\n\t };\n"]}
package/dist/error.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  import { IErrorBase } from "@fluidframework/core-interfaces";
6
6
  /**
7
7
  * Different error types the ClientSession may report out to the Host.
8
- * @public
8
+ * @internal
9
9
  */
10
10
  export declare const ContainerErrorTypes: {
11
11
  /**
@@ -20,14 +20,14 @@ export declare const ContainerErrorTypes: {
20
20
  readonly usageError: "usageError";
21
21
  };
22
22
  /**
23
- * @public
23
+ * @internal
24
24
  */
25
25
  export type ContainerErrorTypes = (typeof ContainerErrorTypes)[keyof typeof ContainerErrorTypes];
26
26
  /**
27
27
  * Different error types the Container may report out to the Host.
28
28
  *
29
29
  * @deprecated ContainerErrorType is being deprecated as a public export. Please use {@link ContainerErrorTypes#clientSessionExpiredError} instead.
30
- * @public
30
+ * @internal
31
31
  */
32
32
  export declare enum ContainerErrorType {
33
33
  /**
@@ -58,7 +58,7 @@ export declare enum ContainerErrorType {
58
58
  }
59
59
  /**
60
60
  * Represents warnings raised on container.
61
- * @public
61
+ * @internal
62
62
  */
63
63
  export interface ContainerWarning extends IErrorBase {
64
64
  /**
@@ -82,8 +82,7 @@ export interface ContainerWarning extends IErrorBase {
82
82
  * - {@link @fluidframework/odsp-driver-definitions#OdspErrorType}
83
83
  *
84
84
  * - {@link @fluidframework/routerlicious-driver#RouterliciousErrorType}
85
- *
86
- * @public
85
+ * @internal
87
86
  */
88
87
  export type ICriticalContainerError = IErrorBase;
89
88
  //# sourceMappingURL=error.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAmB,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAE/B;;;OAGG;;;;;;;CAEM,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjG;;;;;GAKG;AACH,oBAAY,kBAAkB;IAC7B;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,eAAe,oBAAoB;IAEnC;;OAEG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,UAAU,eAAe;IAEzB;;;OAGG;IACH,yBAAyB,8BAA8B;CACvD;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IACnD;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAmB,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,mBAAmB;IAE/B;;;OAGG;;;;;;;CAEM,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjG;;;;;GAKG;AACH,oBAAY,kBAAkB;IAC7B;;OAEG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,eAAe,oBAAoB;IAEnC;;OAEG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,mBAAmB,wBAAwB;IAE3C;;OAEG;IACH,UAAU,eAAe;IAEzB;;;OAGG;IACH,yBAAyB,8BAA8B;CACvD;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IACnD;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC"}
package/dist/error.js CHANGED
@@ -8,7 +8,7 @@ exports.ContainerErrorType = exports.ContainerErrorTypes = void 0;
8
8
  const core_interfaces_1 = require("@fluidframework/core-interfaces");
9
9
  /**
10
10
  * Different error types the ClientSession may report out to the Host.
11
- * @public
11
+ * @internal
12
12
  */
13
13
  exports.ContainerErrorTypes = {
14
14
  ...core_interfaces_1.FluidErrorTypes,
@@ -22,7 +22,7 @@ exports.ContainerErrorTypes = {
22
22
  * Different error types the Container may report out to the Host.
23
23
  *
24
24
  * @deprecated ContainerErrorType is being deprecated as a public export. Please use {@link ContainerErrorTypes#clientSessionExpiredError} instead.
25
- * @public
25
+ * @internal
26
26
  */
27
27
  var ContainerErrorType;
28
28
  (function (ContainerErrorType) {