fluid-framework 2.0.0-internal.7.3.0 → 2.0.0-internal.8.0.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.
@@ -0,0 +1,247 @@
1
+ /**
2
+ * The **fluid-framework** package bundles a collection of Fluid Framework client libraries for easy use
3
+ * when paired with a corresponding service client library (for example,
4
+ * `\@fluidframework/azure-client` or `\@fluidframework/tinylicious-client`).
5
+ *
6
+ * @packageDocumentation
7
+ */
8
+
9
+ import { AttachState } from '@fluidframework/container-definitions';
10
+ import { ConnectionState } from '@fluidframework/container-loader';
11
+ import { ContainerErrorType } from '@fluidframework/container-definitions';
12
+ import { ContainerSchema } from '@fluidframework/fluid-static';
13
+ import { DataObjectClass } from '@fluidframework/fluid-static';
14
+ import { DeserializeCallback } from '@fluidframework/sequence';
15
+ import { DirectoryFactory } from '@fluidframework/map';
16
+ import { DriverErrorType } from '@fluidframework/driver-definitions';
17
+ import { getTextAndMarkers } from '@fluidframework/sequence';
18
+ import { IConnection } from '@fluidframework/fluid-static';
19
+ import { ICriticalContainerError } from '@fluidframework/container-definitions';
20
+ import { IDirectory } from '@fluidframework/map';
21
+ import { IDirectoryClearOperation } from '@fluidframework/map';
22
+ import { IDirectoryCreateSubDirectoryOperation } from '@fluidframework/map';
23
+ import { IDirectoryDataObject } from '@fluidframework/map';
24
+ import { IDirectoryDeleteOperation } from '@fluidframework/map';
25
+ import { IDirectoryDeleteSubDirectoryOperation } from '@fluidframework/map';
26
+ import { IDirectoryEvents } from '@fluidframework/map';
27
+ import { IDirectoryKeyOperation } from '@fluidframework/map';
28
+ import { IDirectoryNewStorageFormat } from '@fluidframework/map';
29
+ import { IDirectoryOperation } from '@fluidframework/map';
30
+ import { IDirectorySetOperation } from '@fluidframework/map';
31
+ import { IDirectoryStorageOperation } from '@fluidframework/map';
32
+ import { IDirectorySubDirectoryOperation } from '@fluidframework/map';
33
+ import { IDirectoryValueChanged } from '@fluidframework/map';
34
+ import { IFluidContainer } from '@fluidframework/fluid-static';
35
+ import { IFluidContainerEvents } from '@fluidframework/fluid-static';
36
+ import { IInterval } from '@fluidframework/sequence';
37
+ import { IIntervalCollection } from '@fluidframework/sequence';
38
+ import { IIntervalCollectionEvent } from '@fluidframework/sequence';
39
+ import { IIntervalHelpers } from '@fluidframework/sequence';
40
+ import { IJSONRunSegment } from '@fluidframework/sequence';
41
+ import { ILocalValue } from '@fluidframework/map';
42
+ import { IMapMessageLocalMetadata } from '@fluidframework/sequence';
43
+ import { IMember } from '@fluidframework/fluid-static';
44
+ import { Interval } from '@fluidframework/sequence';
45
+ import { IntervalLocator } from '@fluidframework/sequence';
46
+ import { intervalLocatorFromEndpoint } from '@fluidframework/sequence';
47
+ import { IntervalType } from '@fluidframework/sequence';
48
+ import { IRootDataObject } from '@fluidframework/fluid-static';
49
+ import { ISequenceDeltaRange } from '@fluidframework/sequence';
50
+ import { ISerializableInterval } from '@fluidframework/sequence';
51
+ import { ISerializableValue } from '@fluidframework/map';
52
+ import { ISerializedInterval } from '@fluidframework/sequence';
53
+ import { ISerializedValue } from '@fluidframework/map';
54
+ import { IServiceAudience } from '@fluidframework/fluid-static';
55
+ import { IServiceAudienceEvents } from '@fluidframework/fluid-static';
56
+ import { ISharedDirectory } from '@fluidframework/map';
57
+ import { ISharedDirectoryEvents } from '@fluidframework/map';
58
+ import { ISharedIntervalCollection } from '@fluidframework/sequence';
59
+ import { ISharedMap } from '@fluidframework/map';
60
+ import { ISharedMapEvents } from '@fluidframework/map';
61
+ import { ISharedSegmentSequenceEvents } from '@fluidframework/sequence';
62
+ import { ISharedString } from '@fluidframework/sequence';
63
+ import { IValueChanged } from '@fluidframework/map';
64
+ import { IValueOpEmitter } from '@fluidframework/sequence';
65
+ import { LoadableObjectClass } from '@fluidframework/fluid-static';
66
+ import { LoadableObjectClassRecord } from '@fluidframework/fluid-static';
67
+ import { LoadableObjectCtor } from '@fluidframework/fluid-static';
68
+ import { LoadableObjectRecord } from '@fluidframework/fluid-static';
69
+ import { LocalValueMaker } from '@fluidframework/map';
70
+ import { MapFactory } from '@fluidframework/map';
71
+ import { MemberChangedListener } from '@fluidframework/fluid-static';
72
+ import { SequenceDeltaEvent } from '@fluidframework/sequence';
73
+ import { SequenceEvent } from '@fluidframework/sequence';
74
+ import { SequenceInterval } from '@fluidframework/sequence';
75
+ import { SequenceMaintenanceEvent } from '@fluidframework/sequence';
76
+ import { SerializedIntervalDelta } from '@fluidframework/sequence';
77
+ import { SharedDirectory } from '@fluidframework/map';
78
+ import { SharedIntervalCollection } from '@fluidframework/sequence';
79
+ import { SharedIntervalCollectionFactory } from '@fluidframework/sequence';
80
+ import { SharedMap } from '@fluidframework/map';
81
+ import { SharedObjectClass } from '@fluidframework/fluid-static';
82
+ import { SharedSegmentSequence } from '@fluidframework/sequence';
83
+ import { SharedSequence } from '@fluidframework/sequence';
84
+ import { SharedString } from '@fluidframework/sequence';
85
+ import { SharedStringFactory } from '@fluidframework/sequence';
86
+ import { SharedStringSegment } from '@fluidframework/sequence';
87
+ import { SubSequence } from '@fluidframework/sequence';
88
+
89
+ /* Excluded from this release type: AttachState */
90
+
91
+ /* Excluded from this release type: ConnectionState */
92
+
93
+ /* Excluded from this release type: ContainerErrorType */
94
+
95
+ /* Excluded from this release type: ContainerSchema */
96
+
97
+ /* Excluded from this release type: DataObjectClass */
98
+
99
+ /* Excluded from this release type: DeserializeCallback */
100
+
101
+ /* Excluded from this release type: DirectoryFactory */
102
+
103
+ /* Excluded from this release type: DriverErrorType */
104
+
105
+ /* Excluded from this release type: getTextAndMarkers */
106
+
107
+ /* Excluded from this release type: IConnection */
108
+
109
+ /* Excluded from this release type: ICriticalContainerError */
110
+
111
+ /* Excluded from this release type: IDirectory */
112
+
113
+ /* Excluded from this release type: IDirectoryClearOperation */
114
+
115
+ /* Excluded from this release type: IDirectoryCreateSubDirectoryOperation */
116
+
117
+ /* Excluded from this release type: IDirectoryDataObject */
118
+
119
+ /* Excluded from this release type: IDirectoryDeleteOperation */
120
+
121
+ /* Excluded from this release type: IDirectoryDeleteSubDirectoryOperation */
122
+
123
+ /* Excluded from this release type: IDirectoryEvents */
124
+
125
+ /* Excluded from this release type: IDirectoryKeyOperation */
126
+
127
+ /* Excluded from this release type: IDirectoryNewStorageFormat */
128
+
129
+ /* Excluded from this release type: IDirectoryOperation */
130
+
131
+ /* Excluded from this release type: IDirectorySetOperation */
132
+
133
+ /* Excluded from this release type: IDirectoryStorageOperation */
134
+
135
+ /* Excluded from this release type: IDirectorySubDirectoryOperation */
136
+
137
+ /* Excluded from this release type: IDirectoryValueChanged */
138
+
139
+ /* Excluded from this release type: IFluidContainer */
140
+
141
+ /* Excluded from this release type: IFluidContainerEvents */
142
+
143
+ /* Excluded from this release type: IInterval */
144
+
145
+ /* Excluded from this release type: IIntervalCollection */
146
+
147
+ /* Excluded from this release type: IIntervalCollectionEvent */
148
+
149
+ /* Excluded from this release type: IIntervalHelpers */
150
+
151
+ /* Excluded from this release type: IJSONRunSegment */
152
+
153
+ /* Excluded from this release type: ILocalValue */
154
+
155
+ /* Excluded from this release type: IMapMessageLocalMetadata */
156
+
157
+ /* Excluded from this release type: IMember */
158
+
159
+ /* Excluded from this release type: Interval */
160
+
161
+ /* Excluded from this release type: IntervalLocator */
162
+
163
+ /* Excluded from this release type: intervalLocatorFromEndpoint */
164
+
165
+ /* Excluded from this release type: IntervalType */
166
+
167
+ /* Excluded from this release type: IRootDataObject */
168
+
169
+ /* Excluded from this release type: ISequenceDeltaRange */
170
+
171
+ /* Excluded from this release type: ISerializableInterval */
172
+
173
+ /* Excluded from this release type: ISerializableValue */
174
+
175
+ /* Excluded from this release type: ISerializedInterval */
176
+
177
+ /* Excluded from this release type: ISerializedValue */
178
+
179
+ /* Excluded from this release type: IServiceAudience */
180
+
181
+ /* Excluded from this release type: IServiceAudienceEvents */
182
+
183
+ /* Excluded from this release type: ISharedDirectory */
184
+
185
+ /* Excluded from this release type: ISharedDirectoryEvents */
186
+
187
+ /* Excluded from this release type: ISharedIntervalCollection */
188
+
189
+ /* Excluded from this release type: ISharedMap */
190
+
191
+ /* Excluded from this release type: ISharedMapEvents */
192
+
193
+ /* Excluded from this release type: ISharedSegmentSequenceEvents */
194
+
195
+ /* Excluded from this release type: ISharedString */
196
+
197
+ /* Excluded from this release type: IValueChanged */
198
+
199
+ /* Excluded from this release type: IValueOpEmitter */
200
+
201
+ /* Excluded from this release type: LoadableObjectClass */
202
+
203
+ /* Excluded from this release type: LoadableObjectClassRecord */
204
+
205
+ /* Excluded from this release type: LoadableObjectCtor */
206
+
207
+ /* Excluded from this release type: LoadableObjectRecord */
208
+
209
+ /* Excluded from this release type: LocalValueMaker */
210
+
211
+ /* Excluded from this release type: MapFactory */
212
+
213
+ /* Excluded from this release type: MemberChangedListener */
214
+
215
+ /* Excluded from this release type: SequenceDeltaEvent */
216
+
217
+ /* Excluded from this release type: SequenceEvent */
218
+
219
+ /* Excluded from this release type: SequenceInterval */
220
+
221
+ /* Excluded from this release type: SequenceMaintenanceEvent */
222
+
223
+ /* Excluded from this release type: SerializedIntervalDelta */
224
+
225
+ /* Excluded from this release type: SharedDirectory */
226
+
227
+ /* Excluded from this release type: SharedIntervalCollection */
228
+
229
+ /* Excluded from this release type: SharedIntervalCollectionFactory */
230
+
231
+ /* Excluded from this release type: SharedMap */
232
+
233
+ /* Excluded from this release type: SharedObjectClass */
234
+
235
+ /* Excluded from this release type: SharedSegmentSequence */
236
+
237
+ /* Excluded from this release type: SharedSequence */
238
+
239
+ /* Excluded from this release type: SharedString */
240
+
241
+ /* Excluded from this release type: SharedStringFactory */
242
+
243
+ /* Excluded from this release type: SharedStringSegment */
244
+
245
+ /* Excluded from this release type: SubSequence */
246
+
247
+ export { }
@@ -0,0 +1,247 @@
1
+ /**
2
+ * The **fluid-framework** package bundles a collection of Fluid Framework client libraries for easy use
3
+ * when paired with a corresponding service client library (for example,
4
+ * `\@fluidframework/azure-client` or `\@fluidframework/tinylicious-client`).
5
+ *
6
+ * @packageDocumentation
7
+ */
8
+
9
+ import { AttachState } from '@fluidframework/container-definitions';
10
+ import { ConnectionState } from '@fluidframework/container-loader';
11
+ import { ContainerErrorType } from '@fluidframework/container-definitions';
12
+ import { ContainerSchema } from '@fluidframework/fluid-static';
13
+ import { DataObjectClass } from '@fluidframework/fluid-static';
14
+ import { DeserializeCallback } from '@fluidframework/sequence';
15
+ import { DirectoryFactory } from '@fluidframework/map';
16
+ import { DriverErrorType } from '@fluidframework/driver-definitions';
17
+ import { getTextAndMarkers } from '@fluidframework/sequence';
18
+ import { IConnection } from '@fluidframework/fluid-static';
19
+ import { ICriticalContainerError } from '@fluidframework/container-definitions';
20
+ import { IDirectory } from '@fluidframework/map';
21
+ import { IDirectoryClearOperation } from '@fluidframework/map';
22
+ import { IDirectoryCreateSubDirectoryOperation } from '@fluidframework/map';
23
+ import { IDirectoryDataObject } from '@fluidframework/map';
24
+ import { IDirectoryDeleteOperation } from '@fluidframework/map';
25
+ import { IDirectoryDeleteSubDirectoryOperation } from '@fluidframework/map';
26
+ import { IDirectoryEvents } from '@fluidframework/map';
27
+ import { IDirectoryKeyOperation } from '@fluidframework/map';
28
+ import { IDirectoryNewStorageFormat } from '@fluidframework/map';
29
+ import { IDirectoryOperation } from '@fluidframework/map';
30
+ import { IDirectorySetOperation } from '@fluidframework/map';
31
+ import { IDirectoryStorageOperation } from '@fluidframework/map';
32
+ import { IDirectorySubDirectoryOperation } from '@fluidframework/map';
33
+ import { IDirectoryValueChanged } from '@fluidframework/map';
34
+ import { IFluidContainer } from '@fluidframework/fluid-static';
35
+ import { IFluidContainerEvents } from '@fluidframework/fluid-static';
36
+ import { IInterval } from '@fluidframework/sequence';
37
+ import { IIntervalCollection } from '@fluidframework/sequence';
38
+ import { IIntervalCollectionEvent } from '@fluidframework/sequence';
39
+ import { IIntervalHelpers } from '@fluidframework/sequence';
40
+ import { IJSONRunSegment } from '@fluidframework/sequence';
41
+ import { ILocalValue } from '@fluidframework/map';
42
+ import { IMapMessageLocalMetadata } from '@fluidframework/sequence';
43
+ import { IMember } from '@fluidframework/fluid-static';
44
+ import { Interval } from '@fluidframework/sequence';
45
+ import { IntervalLocator } from '@fluidframework/sequence';
46
+ import { intervalLocatorFromEndpoint } from '@fluidframework/sequence';
47
+ import { IntervalType } from '@fluidframework/sequence';
48
+ import { IRootDataObject } from '@fluidframework/fluid-static';
49
+ import { ISequenceDeltaRange } from '@fluidframework/sequence';
50
+ import { ISerializableInterval } from '@fluidframework/sequence';
51
+ import { ISerializableValue } from '@fluidframework/map';
52
+ import { ISerializedInterval } from '@fluidframework/sequence';
53
+ import { ISerializedValue } from '@fluidframework/map';
54
+ import { IServiceAudience } from '@fluidframework/fluid-static';
55
+ import { IServiceAudienceEvents } from '@fluidframework/fluid-static';
56
+ import { ISharedDirectory } from '@fluidframework/map';
57
+ import { ISharedDirectoryEvents } from '@fluidframework/map';
58
+ import { ISharedIntervalCollection } from '@fluidframework/sequence';
59
+ import { ISharedMap } from '@fluidframework/map';
60
+ import { ISharedMapEvents } from '@fluidframework/map';
61
+ import { ISharedSegmentSequenceEvents } from '@fluidframework/sequence';
62
+ import { ISharedString } from '@fluidframework/sequence';
63
+ import { IValueChanged } from '@fluidframework/map';
64
+ import { IValueOpEmitter } from '@fluidframework/sequence';
65
+ import { LoadableObjectClass } from '@fluidframework/fluid-static';
66
+ import { LoadableObjectClassRecord } from '@fluidframework/fluid-static';
67
+ import { LoadableObjectCtor } from '@fluidframework/fluid-static';
68
+ import { LoadableObjectRecord } from '@fluidframework/fluid-static';
69
+ import { LocalValueMaker } from '@fluidframework/map';
70
+ import { MapFactory } from '@fluidframework/map';
71
+ import { MemberChangedListener } from '@fluidframework/fluid-static';
72
+ import { SequenceDeltaEvent } from '@fluidframework/sequence';
73
+ import { SequenceEvent } from '@fluidframework/sequence';
74
+ import { SequenceInterval } from '@fluidframework/sequence';
75
+ import { SequenceMaintenanceEvent } from '@fluidframework/sequence';
76
+ import { SerializedIntervalDelta } from '@fluidframework/sequence';
77
+ import { SharedDirectory } from '@fluidframework/map';
78
+ import { SharedIntervalCollection } from '@fluidframework/sequence';
79
+ import { SharedIntervalCollectionFactory } from '@fluidframework/sequence';
80
+ import { SharedMap } from '@fluidframework/map';
81
+ import { SharedObjectClass } from '@fluidframework/fluid-static';
82
+ import { SharedSegmentSequence } from '@fluidframework/sequence';
83
+ import { SharedSequence } from '@fluidframework/sequence';
84
+ import { SharedString } from '@fluidframework/sequence';
85
+ import { SharedStringFactory } from '@fluidframework/sequence';
86
+ import { SharedStringSegment } from '@fluidframework/sequence';
87
+ import { SubSequence } from '@fluidframework/sequence';
88
+
89
+ export { AttachState }
90
+
91
+ export { ConnectionState }
92
+
93
+ export { ContainerErrorType }
94
+
95
+ export { ContainerSchema }
96
+
97
+ export { DataObjectClass }
98
+
99
+ export { DeserializeCallback }
100
+
101
+ export { DirectoryFactory }
102
+
103
+ export { DriverErrorType }
104
+
105
+ export { getTextAndMarkers }
106
+
107
+ export { IConnection }
108
+
109
+ export { ICriticalContainerError }
110
+
111
+ export { IDirectory }
112
+
113
+ export { IDirectoryClearOperation }
114
+
115
+ export { IDirectoryCreateSubDirectoryOperation }
116
+
117
+ export { IDirectoryDataObject }
118
+
119
+ export { IDirectoryDeleteOperation }
120
+
121
+ export { IDirectoryDeleteSubDirectoryOperation }
122
+
123
+ export { IDirectoryEvents }
124
+
125
+ export { IDirectoryKeyOperation }
126
+
127
+ export { IDirectoryNewStorageFormat }
128
+
129
+ export { IDirectoryOperation }
130
+
131
+ export { IDirectorySetOperation }
132
+
133
+ export { IDirectoryStorageOperation }
134
+
135
+ export { IDirectorySubDirectoryOperation }
136
+
137
+ export { IDirectoryValueChanged }
138
+
139
+ export { IFluidContainer }
140
+
141
+ export { IFluidContainerEvents }
142
+
143
+ export { IInterval }
144
+
145
+ export { IIntervalCollection }
146
+
147
+ export { IIntervalCollectionEvent }
148
+
149
+ export { IIntervalHelpers }
150
+
151
+ export { IJSONRunSegment }
152
+
153
+ export { ILocalValue }
154
+
155
+ export { IMapMessageLocalMetadata }
156
+
157
+ export { IMember }
158
+
159
+ export { Interval }
160
+
161
+ export { IntervalLocator }
162
+
163
+ export { intervalLocatorFromEndpoint }
164
+
165
+ export { IntervalType }
166
+
167
+ export { IRootDataObject }
168
+
169
+ export { ISequenceDeltaRange }
170
+
171
+ export { ISerializableInterval }
172
+
173
+ export { ISerializableValue }
174
+
175
+ export { ISerializedInterval }
176
+
177
+ export { ISerializedValue }
178
+
179
+ export { IServiceAudience }
180
+
181
+ export { IServiceAudienceEvents }
182
+
183
+ export { ISharedDirectory }
184
+
185
+ export { ISharedDirectoryEvents }
186
+
187
+ export { ISharedIntervalCollection }
188
+
189
+ export { ISharedMap }
190
+
191
+ export { ISharedMapEvents }
192
+
193
+ export { ISharedSegmentSequenceEvents }
194
+
195
+ export { ISharedString }
196
+
197
+ export { IValueChanged }
198
+
199
+ export { IValueOpEmitter }
200
+
201
+ export { LoadableObjectClass }
202
+
203
+ export { LoadableObjectClassRecord }
204
+
205
+ export { LoadableObjectCtor }
206
+
207
+ export { LoadableObjectRecord }
208
+
209
+ export { LocalValueMaker }
210
+
211
+ export { MapFactory }
212
+
213
+ export { MemberChangedListener }
214
+
215
+ export { SequenceDeltaEvent }
216
+
217
+ export { SequenceEvent }
218
+
219
+ export { SequenceInterval }
220
+
221
+ export { SequenceMaintenanceEvent }
222
+
223
+ export { SerializedIntervalDelta }
224
+
225
+ export { SharedDirectory }
226
+
227
+ export { SharedIntervalCollection }
228
+
229
+ export { SharedIntervalCollectionFactory }
230
+
231
+ export { SharedMap }
232
+
233
+ export { SharedObjectClass }
234
+
235
+ export { SharedSegmentSequence }
236
+
237
+ export { SharedSequence }
238
+
239
+ export { SharedString }
240
+
241
+ export { SharedStringFactory }
242
+
243
+ export { SharedStringSegment }
244
+
245
+ export { SubSequence }
246
+
247
+ export { }
package/lib/index.d.ts CHANGED
@@ -2,19 +2,11 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- /**
6
- * The **fluid-framework** package bundles a collection of Fluid Framework client libraries for easy use
7
- * when paired with a corresponding service client library (for example,
8
- * `\@fluidframework/azure-client` or `\@fluidframework/tinylicious-client`).
9
- *
10
- * @packageDocumentation
11
- */
12
5
  export type { ICriticalContainerError } from "@fluidframework/container-definitions";
13
6
  export { AttachState, ContainerErrorType } from "@fluidframework/container-definitions";
14
7
  export { DriverErrorType } from "@fluidframework/driver-definitions";
15
8
  export { ConnectionState } from "@fluidframework/container-loader";
16
9
  export type { ContainerSchema, DataObjectClass, IConnection, IFluidContainer, IFluidContainerEvents, IMember, IRootDataObject, IServiceAudience, IServiceAudienceEvents, LoadableObjectClass, LoadableObjectClassRecord, LoadableObjectCtor, LoadableObjectRecord, MemberChangedListener, SharedObjectClass, } from "@fluidframework/fluid-static";
17
- export { DOProviderContainerRuntimeFactory, FluidContainer, ServiceAudience, } from "@fluidframework/fluid-static";
18
10
  export type { IDirectory, IDirectoryClearOperation, IDirectoryCreateSubDirectoryOperation, IDirectoryDataObject, IDirectoryDeleteOperation, IDirectoryDeleteSubDirectoryOperation, IDirectoryEvents, IDirectoryKeyOperation, IDirectoryNewStorageFormat, IDirectoryOperation, IDirectorySetOperation, IDirectoryStorageOperation, IDirectorySubDirectoryOperation, IDirectoryValueChanged, ILocalValue, ISerializableValue, ISerializedValue, ISharedDirectory, ISharedDirectoryEvents, ISharedMap, ISharedMapEvents, IValueChanged, } from "@fluidframework/map";
19
11
  export { DirectoryFactory, LocalValueMaker, MapFactory, SharedDirectory, SharedMap, } from "@fluidframework/map";
20
12
  export type { DeserializeCallback, IInterval, IIntervalCollectionEvent, IIntervalHelpers, IJSONRunSegment, IMapMessageLocalMetadata, IIntervalCollection, IntervalLocator, ISequenceDeltaRange, ISerializableInterval, ISerializedInterval, ISharedIntervalCollection, ISharedSegmentSequenceEvents, ISharedString, IValueOpEmitter, SerializedIntervalDelta, SharedStringSegment, } from "@fluidframework/sequence";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,YAAY,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,YAAY,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,GACjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,iCAAiC,EACjC,cAAc,EACd,eAAe,GACf,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACX,UAAU,EACV,wBAAwB,EACxB,qCAAqC,EACrC,oBAAoB,EACpB,yBAAyB,EACzB,qCAAqC,EACrC,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,sBAAsB,EACtB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,aAAa,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,eAAe,EACf,SAAS,GACT,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACX,mBAAmB,EACnB,SAAS,EACT,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,wBAAwB,EACxB,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,EACb,eAAe,EACf,uBAAuB,EACvB,mBAAmB,GACnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACN,iBAAiB,EACjB,QAAQ,EACR,2BAA2B,EAC3B,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,GACX,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;YAUS,EAAE,uBAAuB,EAAE,MAAM,uCAAuC;OAC7E,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC;OAChF,EAAE,eAAe,EAAE,MAAM,oCAAoC;OAC7D,EAAE,eAAe,EAAE,MAAM,kCAAkC;YACtD,EACX,eAAe,EACf,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,GACjB,MAAM,8BAA8B;YACzB,EACX,UAAU,EACV,wBAAwB,EACxB,qCAAqC,EACrC,oBAAoB,EACpB,yBAAyB,EACzB,qCAAqC,EACrC,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,sBAAsB,EACtB,WAAW,EACX,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,aAAa,GACb,MAAM,qBAAqB;OACrB,EACN,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,eAAe,EACf,SAAS,GACT,MAAM,qBAAqB;YAChB,EACX,mBAAmB,EACnB,SAAS,EACT,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,wBAAwB,EACxB,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,EACb,eAAe,EACf,uBAAuB,EACvB,mBAAmB,GACnB,MAAM,0BAA0B;OAC1B,EACN,iBAAiB,EACjB,QAAQ,EACR,2BAA2B,EAC3B,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,GACX,MAAM,0BAA0B"}
package/lib/index.mjs CHANGED
@@ -5,7 +5,6 @@
5
5
  export { AttachState, ContainerErrorType } from "@fluidframework/container-definitions";
6
6
  export { DriverErrorType } from "@fluidframework/driver-definitions";
7
7
  export { ConnectionState } from "@fluidframework/container-loader";
8
- export { DOProviderContainerRuntimeFactory, FluidContainer, ServiceAudience, } from "@fluidframework/fluid-static";
9
8
  export { DirectoryFactory, LocalValueMaker, MapFactory, SharedDirectory, SharedMap, } from "@fluidframework/map";
10
9
  export { getTextAndMarkers, Interval, intervalLocatorFromEndpoint, IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, SharedIntervalCollection, SharedIntervalCollectionFactory, SharedSegmentSequence, SharedSequence, SharedString, SharedStringFactory, SubSequence, } from "@fluidframework/sequence";
11
10
  //# sourceMappingURL=index.mjs.map
package/lib/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAWI,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC;OAChF,EAAE,eAAe,EAAE,MAAM,oCAAoC;OAC7D,EAAE,eAAe,EAAE,MAAM,kCAAkC;OAkB3D,EACN,iCAAiC,EACjC,cAAc,EACd,eAAe,GACf,MAAM,8BAA8B;OAyB9B,EACN,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,eAAe,EACf,SAAS,GACT,MAAM,qBAAqB;OAoBrB,EACN,iBAAiB,EACjB,QAAQ,EACR,2BAA2B,EAC3B,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,GACX,MAAM,0BAA0B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * The **fluid-framework** package bundles a collection of Fluid Framework client libraries for easy use\n * when paired with a corresponding service client library (for example,\n * `\\@fluidframework/azure-client` or `\\@fluidframework/tinylicious-client`).\n *\n * @packageDocumentation\n */\n\nexport type { ICriticalContainerError } from \"@fluidframework/container-definitions\";\nexport { AttachState, ContainerErrorType } from \"@fluidframework/container-definitions\";\nexport { DriverErrorType } from \"@fluidframework/driver-definitions\";\nexport { ConnectionState } from \"@fluidframework/container-loader\";\nexport type {\n\tContainerSchema,\n\tDataObjectClass,\n\tIConnection,\n\tIFluidContainer,\n\tIFluidContainerEvents,\n\tIMember,\n\tIRootDataObject,\n\tIServiceAudience,\n\tIServiceAudienceEvents,\n\tLoadableObjectClass,\n\tLoadableObjectClassRecord,\n\tLoadableObjectCtor,\n\tLoadableObjectRecord,\n\tMemberChangedListener,\n\tSharedObjectClass,\n} from \"@fluidframework/fluid-static\";\nexport {\n\tDOProviderContainerRuntimeFactory,\n\tFluidContainer,\n\tServiceAudience,\n} from \"@fluidframework/fluid-static\";\nexport type {\n\tIDirectory,\n\tIDirectoryClearOperation,\n\tIDirectoryCreateSubDirectoryOperation,\n\tIDirectoryDataObject,\n\tIDirectoryDeleteOperation,\n\tIDirectoryDeleteSubDirectoryOperation,\n\tIDirectoryEvents,\n\tIDirectoryKeyOperation,\n\tIDirectoryNewStorageFormat,\n\tIDirectoryOperation,\n\tIDirectorySetOperation,\n\tIDirectoryStorageOperation,\n\tIDirectorySubDirectoryOperation,\n\tIDirectoryValueChanged,\n\tILocalValue,\n\tISerializableValue,\n\tISerializedValue,\n\tISharedDirectory,\n\tISharedDirectoryEvents,\n\tISharedMap,\n\tISharedMapEvents,\n\tIValueChanged,\n} from \"@fluidframework/map\";\nexport {\n\tDirectoryFactory,\n\tLocalValueMaker,\n\tMapFactory,\n\tSharedDirectory,\n\tSharedMap,\n} from \"@fluidframework/map\";\nexport type {\n\tDeserializeCallback,\n\tIInterval,\n\tIIntervalCollectionEvent,\n\tIIntervalHelpers,\n\tIJSONRunSegment,\n\tIMapMessageLocalMetadata,\n\tIIntervalCollection,\n\tIntervalLocator,\n\tISequenceDeltaRange,\n\tISerializableInterval,\n\tISerializedInterval,\n\tISharedIntervalCollection,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tIValueOpEmitter,\n\tSerializedIntervalDelta,\n\tSharedStringSegment,\n} from \"@fluidframework/sequence\";\nexport {\n\tgetTextAndMarkers,\n\tInterval,\n\tintervalLocatorFromEndpoint,\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n\tSharedIntervalCollection,\n\tSharedIntervalCollectionFactory,\n\tSharedSegmentSequence,\n\tSharedSequence,\n\tSharedString,\n\tSharedStringFactory,\n\tSubSequence,\n} from \"@fluidframework/sequence\";\n"]}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAWI,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uCAAuC;OAChF,EAAE,eAAe,EAAE,MAAM,oCAAoC;OAC7D,EAAE,eAAe,EAAE,MAAM,kCAAkC;OA0C3D,EACN,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,eAAe,EACf,SAAS,GACT,MAAM,qBAAqB;OAoBrB,EACN,iBAAiB,EACjB,QAAQ,EACR,2BAA2B,EAC3B,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,EAC/B,qBAAqB,EACrB,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,WAAW,GACX,MAAM,0BAA0B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * The **fluid-framework** package bundles a collection of Fluid Framework client libraries for easy use\n * when paired with a corresponding service client library (for example,\n * `\\@fluidframework/azure-client` or `\\@fluidframework/tinylicious-client`).\n *\n * @packageDocumentation\n */\n\nexport type { ICriticalContainerError } from \"@fluidframework/container-definitions\";\nexport { AttachState, ContainerErrorType } from \"@fluidframework/container-definitions\";\nexport { DriverErrorType } from \"@fluidframework/driver-definitions\";\nexport { ConnectionState } from \"@fluidframework/container-loader\";\nexport type {\n\tContainerSchema,\n\tDataObjectClass,\n\tIConnection,\n\tIFluidContainer,\n\tIFluidContainerEvents,\n\tIMember,\n\tIRootDataObject,\n\tIServiceAudience,\n\tIServiceAudienceEvents,\n\tLoadableObjectClass,\n\tLoadableObjectClassRecord,\n\tLoadableObjectCtor,\n\tLoadableObjectRecord,\n\tMemberChangedListener,\n\tSharedObjectClass,\n} from \"@fluidframework/fluid-static\";\nexport type {\n\tIDirectory,\n\tIDirectoryClearOperation,\n\tIDirectoryCreateSubDirectoryOperation,\n\tIDirectoryDataObject,\n\tIDirectoryDeleteOperation,\n\tIDirectoryDeleteSubDirectoryOperation,\n\tIDirectoryEvents,\n\tIDirectoryKeyOperation,\n\tIDirectoryNewStorageFormat,\n\tIDirectoryOperation,\n\tIDirectorySetOperation,\n\tIDirectoryStorageOperation,\n\tIDirectorySubDirectoryOperation,\n\tIDirectoryValueChanged,\n\tILocalValue,\n\tISerializableValue,\n\tISerializedValue,\n\tISharedDirectory,\n\tISharedDirectoryEvents,\n\tISharedMap,\n\tISharedMapEvents,\n\tIValueChanged,\n} from \"@fluidframework/map\";\nexport {\n\tDirectoryFactory,\n\tLocalValueMaker,\n\tMapFactory,\n\tSharedDirectory,\n\tSharedMap,\n} from \"@fluidframework/map\";\nexport type {\n\tDeserializeCallback,\n\tIInterval,\n\tIIntervalCollectionEvent,\n\tIIntervalHelpers,\n\tIJSONRunSegment,\n\tIMapMessageLocalMetadata,\n\tIIntervalCollection,\n\tIntervalLocator,\n\tISequenceDeltaRange,\n\tISerializableInterval,\n\tISerializedInterval,\n\tISharedIntervalCollection,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tIValueOpEmitter,\n\tSerializedIntervalDelta,\n\tSharedStringSegment,\n} from \"@fluidframework/sequence\";\nexport {\n\tgetTextAndMarkers,\n\tInterval,\n\tintervalLocatorFromEndpoint,\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n\tSharedIntervalCollection,\n\tSharedIntervalCollectionFactory,\n\tSharedSegmentSequence,\n\tSharedSequence,\n\tSharedString,\n\tSharedStringFactory,\n\tSubSequence,\n} from \"@fluidframework/sequence\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluid-framework",
3
- "version": "2.0.0-internal.7.3.0",
3
+ "version": "2.0.0-internal.8.0.0",
4
4
  "description": "The main entry point into Fluid Framework public packages",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -11,36 +11,26 @@
11
11
  "license": "MIT",
12
12
  "author": "Microsoft and contributors",
13
13
  "sideEffects": false,
14
- "exports": {
15
- ".": {
16
- "import": {
17
- "types": "./lib/index.d.ts",
18
- "default": "./lib/index.mjs"
19
- },
20
- "require": {
21
- "types": "./dist/index.d.ts",
22
- "default": "./dist/index.cjs"
23
- }
24
- }
25
- },
26
14
  "main": "dist/index.cjs",
27
15
  "module": "lib/index.mjs",
28
16
  "types": "dist/index.d.ts",
29
17
  "dependencies": {
30
- "@fluidframework/container-definitions": ">=2.0.0-internal.7.3.0 <2.0.0-internal.7.4.0",
31
- "@fluidframework/container-loader": ">=2.0.0-internal.7.3.0 <2.0.0-internal.7.4.0",
32
- "@fluidframework/driver-definitions": ">=2.0.0-internal.7.3.0 <2.0.0-internal.7.4.0",
33
- "@fluidframework/fluid-static": ">=2.0.0-internal.7.3.0 <2.0.0-internal.7.4.0",
34
- "@fluidframework/map": ">=2.0.0-internal.7.3.0 <2.0.0-internal.7.4.0",
35
- "@fluidframework/sequence": ">=2.0.0-internal.7.3.0 <2.0.0-internal.7.4.0"
18
+ "@fluidframework/container-definitions": ">=2.0.0-internal.8.0.0 <2.0.0-internal.8.1.0",
19
+ "@fluidframework/container-loader": ">=2.0.0-internal.8.0.0 <2.0.0-internal.8.1.0",
20
+ "@fluidframework/driver-definitions": ">=2.0.0-internal.8.0.0 <2.0.0-internal.8.1.0",
21
+ "@fluidframework/fluid-static": ">=2.0.0-internal.8.0.0 <2.0.0-internal.8.1.0",
22
+ "@fluidframework/map": ">=2.0.0-internal.8.0.0 <2.0.0-internal.8.1.0",
23
+ "@fluidframework/sequence": ">=2.0.0-internal.8.0.0 <2.0.0-internal.8.1.0"
36
24
  },
37
25
  "devDependencies": {
26
+ "@arethetypeswrong/cli": "^0.13.3",
38
27
  "@fluid-tools/build-cli": "^0.28.0",
39
28
  "@fluidframework/build-common": "^2.0.3",
40
29
  "@fluidframework/build-tools": "^0.28.0",
41
30
  "@fluidframework/eslint-config-fluid": "^3.1.0",
42
31
  "@microsoft/api-extractor": "^7.38.3",
43
- "@types/node": "^16.18.38",
32
+ "@types/node": "^18.19.0",
33
+ "copyfiles": "^2.4.1",
44
34
  "eslint": "~8.50.0",
45
35
  "prettier": "~3.0.3",
46
36
  "rimraf": "^4.4.0",
@@ -49,6 +39,14 @@
49
39
  },
50
40
  "fluidBuild": {
51
41
  "tasks": {
42
+ "build:docs": {
43
+ "dependsOn": [
44
+ "...",
45
+ "api-extractor:commonjs",
46
+ "api-extractor:esnext"
47
+ ],
48
+ "script": false
49
+ },
52
50
  "tsc": [
53
51
  "...",
54
52
  "typetests:gen"
@@ -60,20 +58,25 @@
60
58
  "broken": {}
61
59
  },
62
60
  "scripts": {
61
+ "api": "fluid-build . --task api",
62
+ "api-extractor:commonjs": "api-extractor run --local",
63
+ "api-extractor:esnext": "copyfiles -u 1 \"dist/**/*-@(alpha|beta|public|untrimmed).d.ts\" lib",
63
64
  "build": "fluid-build . --task build",
64
65
  "build:commonjs": "fluid-build . --task commonjs",
65
66
  "build:compile": "fluid-build . --task compile",
66
- "build:docs": "api-extractor run --local",
67
+ "build:docs": "fluid-build . --task api",
67
68
  "build:esnext": "tsc-multi --config ../../../common/build/build-common/tsc-multi.esm.json",
69
+ "check:are-the-types-wrong": "attw --pack",
70
+ "check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
68
71
  "ci:build:docs": "api-extractor run",
69
72
  "clean": "rimraf --glob _api-extractor-temp dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\"",
70
73
  "eslint": "eslint --format stylish src",
71
74
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
72
75
  "format": "npm run prettier:fix",
73
- "lint": "npm run prettier && npm run eslint",
76
+ "lint": "npm run prettier && npm run check:release-tags && npm run eslint",
74
77
  "lint:fix": "npm run prettier:fix && npm run eslint:fix",
75
- "prettier": "prettier --check . --ignore-path ../../../.prettierignore",
76
- "prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore",
78
+ "prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
79
+ "prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore",
77
80
  "tsc": "tsc-multi --config ../../../common/build/build-common/tsc-multi.cjs.json",
78
81
  "typetests:gen": "fluid-type-test-generator",
79
82
  "typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
package/src/index.ts CHANGED
@@ -32,11 +32,6 @@ export type {
32
32
  MemberChangedListener,
33
33
  SharedObjectClass,
34
34
  } from "@fluidframework/fluid-static";
35
- export {
36
- DOProviderContainerRuntimeFactory,
37
- FluidContainer,
38
- ServiceAudience,
39
- } from "@fluidframework/fluid-static";
40
35
  export type {
41
36
  IDirectory,
42
37
  IDirectoryClearOperation,