@fluidframework/fluid-static 2.0.0-rc.2.0.2 → 2.0.0-rc.3.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.
Files changed (70) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/api-report/fluid-static.api.md +13 -21
  3. package/dist/fluidContainer.d.ts +7 -2
  4. package/dist/fluidContainer.d.ts.map +1 -1
  5. package/dist/fluidContainer.js +3 -2
  6. package/dist/fluidContainer.js.map +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/public.d.ts +27 -0
  11. package/dist/rootDataObject.d.ts +5 -1
  12. package/dist/rootDataObject.d.ts.map +1 -1
  13. package/dist/rootDataObject.js +13 -11
  14. package/dist/rootDataObject.js.map +1 -1
  15. package/dist/serviceAudience.d.ts +2 -2
  16. package/dist/serviceAudience.d.ts.map +1 -1
  17. package/dist/serviceAudience.js.map +1 -1
  18. package/dist/types.d.ts +15 -31
  19. package/dist/types.d.ts.map +1 -1
  20. package/dist/types.js.map +1 -1
  21. package/dist/utils.d.ts +6 -5
  22. package/dist/utils.d.ts.map +1 -1
  23. package/dist/utils.js +16 -9
  24. package/dist/utils.js.map +1 -1
  25. package/internal.d.ts +11 -0
  26. package/lib/fluidContainer.d.ts +7 -2
  27. package/lib/fluidContainer.d.ts.map +1 -1
  28. package/lib/fluidContainer.js +1 -0
  29. package/lib/fluidContainer.js.map +1 -1
  30. package/lib/index.d.ts +1 -1
  31. package/lib/index.d.ts.map +1 -1
  32. package/lib/index.js.map +1 -1
  33. package/lib/public.d.ts +27 -0
  34. package/lib/rootDataObject.d.ts +5 -1
  35. package/lib/rootDataObject.d.ts.map +1 -1
  36. package/lib/rootDataObject.js +7 -5
  37. package/lib/rootDataObject.js.map +1 -1
  38. package/lib/serviceAudience.d.ts +2 -2
  39. package/lib/serviceAudience.d.ts.map +1 -1
  40. package/lib/serviceAudience.js.map +1 -1
  41. package/lib/types.d.ts +15 -31
  42. package/lib/types.d.ts.map +1 -1
  43. package/lib/types.js.map +1 -1
  44. package/lib/utils.d.ts +6 -5
  45. package/lib/utils.d.ts.map +1 -1
  46. package/lib/utils.js +14 -7
  47. package/lib/utils.js.map +1 -1
  48. package/package.json +44 -55
  49. package/src/fluidContainer.ts +10 -7
  50. package/src/index.ts +0 -2
  51. package/src/rootDataObject.ts +16 -13
  52. package/src/serviceAudience.ts +4 -2
  53. package/src/types.ts +16 -34
  54. package/src/utils.ts +32 -19
  55. package/api-extractor-cjs.json +0 -8
  56. package/dist/fluid-static-alpha.d.ts +0 -424
  57. package/dist/fluid-static-beta.d.ts +0 -428
  58. package/dist/fluid-static-public.d.ts +0 -428
  59. package/dist/fluid-static-untrimmed.d.ts +0 -480
  60. package/lib/fluid-static-alpha.d.ts +0 -424
  61. package/lib/fluid-static-beta.d.ts +0 -428
  62. package/lib/fluid-static-public.d.ts +0 -428
  63. package/lib/fluid-static-untrimmed.d.ts +0 -480
  64. package/lib/test/fluidContainer.spec.js +0 -21
  65. package/lib/test/fluidContainer.spec.js.map +0 -1
  66. package/lib/test/types/validateFluidStaticPrevious.generated.js +0 -46
  67. package/lib/test/types/validateFluidStaticPrevious.generated.js.map +0 -1
  68. package/lib/test/utils.spec.js +0 -86
  69. package/lib/test/utils.spec.js.map +0 -1
  70. /package/{dist → lib}/tsdoc-metadata.json +0 -0
@@ -1,480 +0,0 @@
1
- /**
2
- * Provides a simple and powerful way to consume collaborative Fluid data.
3
- *
4
- * @packageDocumentation
5
- */
6
-
7
- import { AttachState } from '@fluidframework/container-definitions';
8
- import { ConnectionState } from '@fluidframework/container-definitions';
9
- import { IChannelFactory } from '@fluidframework/datastore-definitions';
10
- import { IClient } from '@fluidframework/protocol-definitions';
11
- import { IContainer } from '@fluidframework/container-definitions';
12
- import { ICriticalContainerError } from '@fluidframework/container-definitions';
13
- import { IEvent } from '@fluidframework/core-interfaces';
14
- import { IEventProvider } from '@fluidframework/core-interfaces';
15
- import { IFluidLoadable } from '@fluidframework/core-interfaces';
16
- import { IRuntimeFactory } from '@fluidframework/container-definitions';
17
-
18
- /**
19
- * Represents properties that can be attached to a container.
20
- * @public
21
- */
22
- export declare type ContainerAttachProps<T = unknown> = T;
23
-
24
- /**
25
- * Declares the Fluid objects that will be available in the {@link IFluidContainer | Container}.
26
- *
27
- * @remarks
28
- *
29
- * It includes both the instances of objects that are initially available upon `Container` creation, as well
30
- * as the types of objects that may be dynamically created throughout the lifetime of the `Container`.
31
- * @public
32
- */
33
- export declare interface ContainerSchema {
34
- /**
35
- * Defines loadable objects that will be created when the {@link IFluidContainer | Container} is first created.
36
- *
37
- * @remarks It uses the key as the id and the value as the loadable object to create.
38
- *
39
- * @example
40
- *
41
- * In the example below two objects will be created when the `Container` is first
42
- * created. One with id "map1" that will return a `SharedMap` and the other with
43
- * id "pair1" that will return a `KeyValueDataObject`.
44
- *
45
- * ```typescript
46
- * {
47
- * map1: SharedMap,
48
- * pair1: KeyValueDataObject,
49
- * }
50
- * ```
51
- */
52
- readonly initialObjects: LoadableObjectClassRecord;
53
- /**
54
- * Loadable objects that can be created after the initial {@link IFluidContainer | Container} creation.
55
- *
56
- * @remarks
57
- *
58
- * Types defined in `initialObjects` will always be available and are not required to be provided here.
59
- *
60
- * For best practice it's recommended to define all the dynamic types you create even if they are
61
- * included via initialObjects.
62
- */
63
- readonly dynamicObjectTypes?: readonly LoadableObjectClass[];
64
- }
65
-
66
- /**
67
- * Creates an {@link @fluidframework/aqueduct#BaseContainerRuntimeFactory} for a container with a single
68
- * {@link IRootDataObject}, which is constructed from the provided schema.
69
- *
70
- * @internal
71
- */
72
- export declare function createDOProviderContainerRuntimeFactory(props: {
73
- schema: ContainerSchema;
74
- }): IRuntimeFactory;
75
-
76
- /**
77
- * Creates an {@link IFluidContainer} from the provided `container` and `rootDataObject`.
78
- *
79
- * @internal
80
- */
81
- export declare function createFluidContainer<TContainerSchema extends ContainerSchema = ContainerSchema>(props: {
82
- container: IContainer;
83
- rootDataObject: IRootDataObject;
84
- }): IFluidContainer<TContainerSchema>;
85
-
86
- /**
87
- * Creates a service audience for the provided container.
88
- *
89
- * @param container - The container with which the audience is associated.
90
- * @param createServiceMember - A function for creating audience members.
91
- *
92
- * @typeParam TMember - The {@link IMember} representation used by the audience.
93
- *
94
- * @internal
95
- */
96
- export declare function createServiceAudience<TMember extends IMember = IMember>(props: {
97
- container: IContainer;
98
- createServiceMember: (audienceMember: IClient) => TMember;
99
- }): IServiceAudience<TMember>;
100
-
101
- /**
102
- * A class that has a factory that can create a `DataObject` and a
103
- * constructor that will return the type of the `DataObject`.
104
- *
105
- * @typeParam T - The class of the `DataObject`.
106
- * @public
107
- */
108
- export declare type DataObjectClass<T extends IFluidLoadable> = {
109
- readonly factory: {
110
- IFluidDataStoreFactory: DataObjectClass<T>["factory"];
111
- };
112
- } & LoadableObjectCtor<T>;
113
-
114
- /**
115
- * Base interface for information for each connection made to the Fluid session.
116
- *
117
- * @remarks This interface can be extended to provide additional information specific to each service.
118
- * @public
119
- */
120
- export declare interface IConnection {
121
- /**
122
- * A unique ID for the connection. A single user may have multiple connections, each with a different ID.
123
- */
124
- id: string;
125
- /**
126
- * Whether the connection is in read or read/write mode.
127
- */
128
- mode: "write" | "read";
129
- }
130
-
131
- /**
132
- * Provides an entrypoint into the client side of collaborative Fluid data.
133
- * Provides access to the data as well as status on the collaboration session.
134
- *
135
- * @typeparam TContainerSchema - Used to determine the type of 'initialObjects'.
136
- *
137
- * @remarks Note: external implementations of this interface are not supported.
138
- *
139
- * @sealed
140
- * @public
141
- */
142
- export declare interface IFluidContainer<TContainerSchema extends ContainerSchema = ContainerSchema> extends IEventProvider<IFluidContainerEvents> {
143
- /**
144
- * Provides the current connected state of the container
145
- */
146
- readonly connectionState: ConnectionState;
147
- /**
148
- * A container is considered **dirty** if it has local changes that have not yet been acknowledged by the service.
149
- *
150
- * @remarks
151
- *
152
- * You should always check the `isDirty` flag before closing the container or navigating away from the page.
153
- * Closing the container while `isDirty === true` may result in the loss of operations that have not yet been
154
- * acknowledged by the service.
155
- *
156
- * A container is considered dirty in the following cases:
157
- *
158
- * 1. The container has been created in the detached state, and either it has not been attached yet or it is
159
- * in the process of being attached (container is in `attaching` state). If container is closed prior to being
160
- * attached, host may never know if the file was created or not.
161
- *
162
- * 2. The container was attached, but it has local changes that have not yet been saved to service endpoint.
163
- * This occurs as part of normal op flow where pending operation (changes) are awaiting acknowledgement from the
164
- * service. In some cases this can be due to lack of network connection. If the network connection is down,
165
- * it needs to be restored for the pending changes to be acknowledged.
166
- */
167
- readonly isDirty: boolean;
168
- /**
169
- * Whether or not the container is disposed, which permanently disables it.
170
- */
171
- readonly disposed: boolean;
172
- /**
173
- * The collection of data objects and Distributed Data Stores (DDSes) that were specified by the schema.
174
- *
175
- * @remarks These data objects and DDSes exist for the lifetime of the container.
176
- */
177
- readonly initialObjects: InitialObjects<TContainerSchema>;
178
- /**
179
- * The current attachment state of the container.
180
- *
181
- * @remarks
182
- *
183
- * Once a container has been attached, it remains attached.
184
- * When loading an existing container, it will already be attached.
185
- */
186
- readonly attachState: AttachState;
187
- /**
188
- * A newly created container starts detached from the collaborative service.
189
- * Calling `attach()` uploads the new container to the service and connects to the collaborative service.
190
- *
191
- * @remarks
192
- *
193
- * This should only be called when the container is in the
194
- * {@link @fluidframework/container-definitions#AttachState.Detatched} state.
195
- *
196
- * This can be determined by observing {@link IFluidContainer.attachState}.
197
- *
198
- * @returns A promise which resolves when the attach is complete, with the string identifier of the container.
199
- */
200
- attach(props?: ContainerAttachProps): Promise<string>;
201
- /**
202
- * Attempts to connect the container to the delta stream and process operations.
203
- *
204
- * @throws Will throw an error if connection is unsuccessful.
205
- *
206
- * @remarks
207
- *
208
- * This should only be called when the container is in the
209
- * {@link @fluidframework/container-definitions#(ConnectionState:namespace).Disconnected} state.
210
- *
211
- * This can be determined by observing {@link IFluidContainer.connectionState}.
212
- */
213
- connect(): void;
214
- /**
215
- * Disconnects the container from the delta stream and stops processing operations.
216
- *
217
- * @remarks
218
- *
219
- * This should only be called when the container is in the
220
- * {@link @fluidframework/container-definitions#(ConnectionState:namespace).Connected} state.
221
- *
222
- * This can be determined by observing {@link IFluidContainer.connectionState}.
223
- */
224
- disconnect(): void;
225
- /**
226
- * Create a new data object or Distributed Data Store (DDS) of the specified type.
227
- *
228
- * @remarks
229
- *
230
- * In order to share the data object or DDS with other
231
- * collaborators and retrieve it later, store its handle in a collection like a SharedDirectory from your
232
- * initialObjects.
233
- *
234
- * @param objectClass - The class of the `DataObject` or `SharedObject` to create.
235
- *
236
- * @typeParam T - The class of the `DataObject` or `SharedObject`.
237
- */
238
- create<T extends IFluidLoadable>(objectClass: LoadableObjectClass<T>): Promise<T>;
239
- /**
240
- * Dispose of the container instance, permanently disabling it.
241
- */
242
- dispose(): void;
243
- }
244
-
245
- /**
246
- * Events emitted from {@link IFluidContainer}.
247
- *
248
- * @remarks Note: external implementations of this interface are not supported.
249
- * @sealed
250
- * @public
251
- */
252
- export declare interface IFluidContainerEvents extends IEvent {
253
- /**
254
- * Emitted when the {@link IFluidContainer} completes connecting to the Fluid service.
255
- *
256
- * @remarks Reflects connection state changes against the (delta) service acknowledging ops/edits.
257
- *
258
- * @see
259
- *
260
- * - {@link IFluidContainer.connectionState}
261
- *
262
- * - {@link IFluidContainer.connect}
263
- */
264
- (event: "connected", listener: () => void): void;
265
- /**
266
- * Emitted when the {@link IFluidContainer} becomes disconnected from the Fluid service.
267
- *
268
- * @remarks Reflects connection state changes against the (delta) service acknowledging ops/edits.
269
- *
270
- * @see
271
- *
272
- * - {@link IFluidContainer.connectionState}
273
- *
274
- * - {@link IFluidContainer.disconnect}
275
- */
276
- (event: "disconnected", listener: () => void): void;
277
- /**
278
- * Emitted when all local changes/edits have been acknowledged by the service.
279
- *
280
- * @remarks "dirty" event will be emitted when the next local change has been made.
281
- *
282
- * @see {@link IFluidContainer.isDirty}
283
- */
284
- (event: "saved", listener: () => void): void;
285
- /**
286
- * Emitted when the first local change has been made, following a "saved" event.
287
- *
288
- * @remarks "saved" event will be emitted once all local changes have been acknowledged by the service.
289
- *
290
- * @see {@link IFluidContainer.isDirty}
291
- */
292
- (event: "dirty", listener: () => void): void;
293
- /**
294
- * Emitted when the {@link IFluidContainer} is closed, which permanently disables it.
295
- *
296
- * @remarks Listener parameters:
297
- *
298
- * - `error`: If the container was closed due to error (as opposed to an explicit call to
299
- * {@link IFluidContainer.dispose}), this will contain details about the error that caused it.
300
- */
301
- (event: "disposed", listener: (error?: ICriticalContainerError) => void): any;
302
- }
303
-
304
- /**
305
- * Base interface to be implemented to fetch each service's member.
306
- *
307
- * @remarks This interface can be extended by each service to provide additional service-specific user metadata.
308
- * @public
309
- */
310
- export declare interface IMember {
311
- /**
312
- * An ID for the user, unique among each individual user connecting to the session.
313
- */
314
- userId: string;
315
- /**
316
- * The set of connections the user has made, e.g. from multiple tabs or devices.
317
- */
318
- connections: IConnection[];
319
- }
320
-
321
- /**
322
- * Extract the type of 'initialObjects' from the given {@link ContainerSchema} type.
323
- * @public
324
- */
325
- export declare type InitialObjects<T extends ContainerSchema> = {
326
- [K in keyof T["initialObjects"]]: T["initialObjects"][K] extends LoadableObjectClass<infer TChannel> ? TChannel : never;
327
- };
328
-
329
- /**
330
- * @internal
331
- */
332
- export declare interface IProvideRootDataObject {
333
- readonly IRootDataObject: IRootDataObject;
334
- }
335
-
336
- /**
337
- * Holds the collection of objects that the container was initially created with, as well as provides the ability
338
- * to dynamically create further objects during usage.
339
- * @internal
340
- */
341
- export declare interface IRootDataObject extends IProvideRootDataObject {
342
- /**
343
- * Provides a record of the initial objects defined on creation.
344
- */
345
- readonly initialObjects: LoadableObjectRecord;
346
- /**
347
- * Dynamically creates a new detached collaborative object (DDS/DataObject).
348
- *
349
- * @param objectClass - Type of the collaborative object to be created.
350
- *
351
- * @typeParam T - The class of the `DataObject` or `SharedObject`.
352
- */
353
- create<T extends IFluidLoadable>(objectClass: LoadableObjectClass<T>): Promise<T>;
354
- }
355
-
356
- /**
357
- * Base interface to be implemented to fetch each service's audience.
358
- *
359
- * @remarks
360
- *
361
- * The type parameter `M` allows consumers to further extend the client object with service-specific
362
- * details about the connecting client, such as device information, environment, or a username.
363
- *
364
- * @typeParam M - A service-specific {@link IMember} type.
365
- * @public
366
- */
367
- export declare interface IServiceAudience<M extends IMember> extends IEventProvider<IServiceAudienceEvents<M>> {
368
- /**
369
- * Returns an map of all users currently in the Fluid session where key is the userId and the value is the
370
- * member object. The implementation may choose to exclude certain connections from the returned map.
371
- * E.g. ServiceAudience excludes non-interactive connections to represent only the roster of live users.
372
- */
373
- getMembers(): Map<string, M>;
374
- /**
375
- * Returns the current active user on this client once they are connected. Otherwise, returns undefined.
376
- */
377
- getMyself(): Myself<M> | undefined;
378
- }
379
-
380
- /**
381
- * Events that trigger when the roster of members in the Fluid session change.
382
- *
383
- * @remarks
384
- *
385
- * Only changes that would be reflected in the returned map of {@link IServiceAudience}'s
386
- * {@link IServiceAudience.getMembers} method will emit events.
387
- *
388
- * @typeParam M - A service-specific {@link IMember} implementation.
389
- * @public
390
- */
391
- export declare interface IServiceAudienceEvents<M extends IMember> extends IEvent {
392
- /**
393
- * Emitted when a {@link IMember | member}(s) are either added or removed.
394
- *
395
- * @eventProperty
396
- */
397
- (event: "membersChanged", listener: () => void): void;
398
- /**
399
- * Emitted when a {@link IMember | member} joins the audience.
400
- *
401
- * @eventProperty
402
- */
403
- (event: "memberAdded", listener: MemberChangedListener<M>): void;
404
- /**
405
- * Emitted when a {@link IMember | member} leaves the audience.
406
- *
407
- * @eventProperty
408
- */
409
- (event: "memberRemoved", listener: MemberChangedListener<M>): void;
410
- }
411
-
412
- /**
413
- * A class object of `DataObject` or `SharedObject`.
414
- *
415
- * @typeParam T - The class of the `DataObject` or `SharedObject`.
416
- * @public
417
- *
418
- * @privateRemarks
419
- * There are some edge cases in TypeScript where the order of the members in a union matter.
420
- * Once such edge case is when multiple members of a generic union partially match, and the type parameter is being inferred.
421
- * In this case, its better to have the desired match and/or the simpler type first.
422
- * In this case placing SharedObjectClass fixed one usage and didn't break anything, and generally seems more likely to work than the reverse, so this is the order being used.
423
- * This is likely (a bug in TypeScript)[https://github.com/microsoft/TypeScript/issues/45809].
424
- */
425
- export declare type LoadableObjectClass<T extends IFluidLoadable = IFluidLoadable> = SharedObjectClass<T> | DataObjectClass<T>;
426
-
427
- /**
428
- * A mapping of string identifiers to classes that will later be used to instantiate a corresponding `DataObject`
429
- * or `SharedObject`.
430
- * @public
431
- */
432
- export declare type LoadableObjectClassRecord = Record<string, LoadableObjectClass>;
433
-
434
- /**
435
- * An object with a constructor that will return an {@link @fluidframework/core-interfaces#IFluidLoadable}.
436
- *
437
- * @typeParam T - The class of the loadable object.
438
- * @public
439
- */
440
- export declare type LoadableObjectCtor<T extends IFluidLoadable> = new (...args: any[]) => T;
441
-
442
- /**
443
- * A mapping of string identifiers to instantiated `DataObject`s or `SharedObject`s.
444
- * @internal
445
- */
446
- export declare type LoadableObjectRecord = Record<string, IFluidLoadable>;
447
-
448
- /**
449
- * Signature for {@link IMember} change events.
450
- *
451
- * @param clientId - A unique identifier for the client.
452
- * @param member - The service-specific member object for the client.
453
- *
454
- * @see See {@link IServiceAudienceEvents} for usage details.
455
- * @public
456
- */
457
- export declare type MemberChangedListener<M extends IMember> = (clientId: string, member: M) => void;
458
-
459
- /**
460
- * An extended member object that includes currentConnection
461
- * @public
462
- */
463
- export declare type Myself<M extends IMember = IMember> = M & {
464
- currentConnection: string;
465
- };
466
-
467
- /**
468
- * A factory that produces a factory that can create a DDSes (`SharedObject`s).
469
- *
470
- * @typeParam T - The class of the `SharedObject`.
471
- * @public
472
- */
473
- export declare interface SharedObjectClass<T extends IFluidLoadable> {
474
- /**
475
- * Gets the factory this factory is a wrapper for.
476
- */
477
- readonly getFactory: () => IChannelFactory<T>;
478
- }
479
-
480
- export { }
@@ -1,21 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
- // Type tests for InitialObjects
6
- {
7
- // ContainerSchema case
8
- {
9
- }
10
- // LoadableObjectClass case
11
- {
12
- }
13
- // SharedObject case
14
- {
15
- }
16
- // DataObject case
17
- {
18
- }
19
- }
20
- export {};
21
- //# sourceMappingURL=fluidContainer.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fluidContainer.spec.js","sourceRoot":"","sources":["../../src/test/fluidContainer.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH,gCAAgC;AAChC;IACC,uBAAuB;IACvB;KAIC;IAgBD,2BAA2B;IAC3B;KAIC;IAED,oBAAoB;IACpB;KAIC;IAED,kBAAkB;IAClB;KAIC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IFluidLoadable } from \"@fluidframework/core-interfaces\";\nimport type { IChannel } from \"@fluidframework/datastore-definitions\";\nimport type { InitialObjects } from \"../index.js\";\nimport type {\n\tContainerSchema,\n\tDataObjectClass,\n\tLoadableObjectClass,\n\tSharedObjectClass,\n} from \"../types.js\";\n\n/**\n * Compile time assert that A is assignable to (extends) B.\n * To use, simply define a type:\n * `type _check = requireAssignableTo<T, Expected>;`\n */\nexport type requireAssignableTo<_A extends B, B> = true;\n\n// Type tests for InitialObjects\n{\n\t// ContainerSchema case\n\t{\n\t\ttype _a = InitialObjects<ContainerSchema>;\n\t\ttype _b = requireAssignableTo<_a, Record<string, IFluidLoadable>>;\n\t\ttype _c = requireAssignableTo<Record<string, IFluidLoadable>, _a>;\n\t}\n\ttype ContainerSchemaWith<T> = ContainerSchema & { initialObjects: { item: T } };\n\tinterface TestSharedObject extends IChannel {\n\t\tx: number;\n\t}\n\tinterface TestSharedObjectFactory extends SharedObjectClass<TestSharedObject> {\n\t\ty: number;\n\t}\n\n\tinterface TestDataObject extends IFluidLoadable {\n\t\tx: number;\n\t}\n\tinterface TestDataObjectFactory extends DataObjectClass<TestDataObject> {\n\t\ty: number;\n\t}\n\n\t// LoadableObjectClass case\n\t{\n\t\ttype _a = InitialObjects<ContainerSchemaWith<LoadableObjectClass>>[\"item\"];\n\t\ttype _b = requireAssignableTo<_a, IFluidLoadable>;\n\t\ttype _c = requireAssignableTo<IFluidLoadable, _a>;\n\t}\n\n\t// SharedObject case\n\t{\n\t\ttype _a = InitialObjects<ContainerSchemaWith<TestSharedObjectFactory>>[\"item\"];\n\t\ttype _b = requireAssignableTo<_a, TestSharedObject>;\n\t\ttype _c = requireAssignableTo<TestSharedObject, _a>;\n\t}\n\n\t// DataObject case\n\t{\n\t\ttype _a = InitialObjects<ContainerSchemaWith<TestDataObjectFactory>>[\"item\"];\n\t\ttype _b = requireAssignableTo<_a, TestDataObject>;\n\t\ttype _c = requireAssignableTo<TestDataObject, _a>;\n\t}\n}\n"]}
@@ -1,46 +0,0 @@
1
- use_current_InterfaceDeclaration_ContainerSchema(get_old_InterfaceDeclaration_ContainerSchema());
2
- use_old_InterfaceDeclaration_ContainerSchema(
3
- // @ts-expect-error compatibility expected to be broken
4
- get_current_InterfaceDeclaration_ContainerSchema());
5
- use_current_TypeAliasDeclaration_DataObjectClass(get_old_TypeAliasDeclaration_DataObjectClass());
6
- use_old_TypeAliasDeclaration_DataObjectClass(get_current_TypeAliasDeclaration_DataObjectClass());
7
- use_current_InterfaceDeclaration_IConnection(get_old_InterfaceDeclaration_IConnection());
8
- use_old_InterfaceDeclaration_IConnection(get_current_InterfaceDeclaration_IConnection());
9
- use_current_InterfaceDeclaration_IFluidContainer(get_old_InterfaceDeclaration_IFluidContainer());
10
- use_old_InterfaceDeclaration_IFluidContainer(get_current_InterfaceDeclaration_IFluidContainer());
11
- use_current_InterfaceDeclaration_IFluidContainerEvents(get_old_InterfaceDeclaration_IFluidContainerEvents());
12
- use_old_InterfaceDeclaration_IFluidContainerEvents(get_current_InterfaceDeclaration_IFluidContainerEvents());
13
- use_current_InterfaceDeclaration_IMember(get_old_InterfaceDeclaration_IMember());
14
- use_old_InterfaceDeclaration_IMember(get_current_InterfaceDeclaration_IMember());
15
- use_current_InterfaceDeclaration_IProvideRootDataObject(get_old_InterfaceDeclaration_IProvideRootDataObject());
16
- use_old_InterfaceDeclaration_IProvideRootDataObject(get_current_InterfaceDeclaration_IProvideRootDataObject());
17
- use_current_InterfaceDeclaration_IRootDataObject(get_old_InterfaceDeclaration_IRootDataObject());
18
- use_old_InterfaceDeclaration_IRootDataObject(get_current_InterfaceDeclaration_IRootDataObject());
19
- use_current_InterfaceDeclaration_IServiceAudience(get_old_InterfaceDeclaration_IServiceAudience());
20
- use_old_InterfaceDeclaration_IServiceAudience(get_current_InterfaceDeclaration_IServiceAudience());
21
- use_current_InterfaceDeclaration_IServiceAudienceEvents(get_old_InterfaceDeclaration_IServiceAudienceEvents());
22
- use_old_InterfaceDeclaration_IServiceAudienceEvents(get_current_InterfaceDeclaration_IServiceAudienceEvents());
23
- use_current_TypeAliasDeclaration_InitialObjects(get_old_TypeAliasDeclaration_InitialObjects());
24
- use_old_TypeAliasDeclaration_InitialObjects(get_current_TypeAliasDeclaration_InitialObjects());
25
- use_current_TypeAliasDeclaration_LoadableObjectClass(get_old_TypeAliasDeclaration_LoadableObjectClass());
26
- use_old_TypeAliasDeclaration_LoadableObjectClass(get_current_TypeAliasDeclaration_LoadableObjectClass());
27
- use_current_TypeAliasDeclaration_LoadableObjectClassRecord(get_old_TypeAliasDeclaration_LoadableObjectClassRecord());
28
- use_old_TypeAliasDeclaration_LoadableObjectClassRecord(get_current_TypeAliasDeclaration_LoadableObjectClassRecord());
29
- use_current_TypeAliasDeclaration_LoadableObjectCtor(get_old_TypeAliasDeclaration_LoadableObjectCtor());
30
- use_old_TypeAliasDeclaration_LoadableObjectCtor(get_current_TypeAliasDeclaration_LoadableObjectCtor());
31
- use_current_TypeAliasDeclaration_LoadableObjectRecord(get_old_TypeAliasDeclaration_LoadableObjectRecord());
32
- use_old_TypeAliasDeclaration_LoadableObjectRecord(get_current_TypeAliasDeclaration_LoadableObjectRecord());
33
- use_current_TypeAliasDeclaration_MemberChangedListener(get_old_TypeAliasDeclaration_MemberChangedListener());
34
- use_old_TypeAliasDeclaration_MemberChangedListener(get_current_TypeAliasDeclaration_MemberChangedListener());
35
- use_current_TypeAliasDeclaration_Myself(get_old_TypeAliasDeclaration_Myself());
36
- use_old_TypeAliasDeclaration_Myself(get_current_TypeAliasDeclaration_Myself());
37
- use_current_RemovedTypeAliasDeclaration_SharedObjectClass(get_old_TypeAliasDeclaration_SharedObjectClass());
38
- use_old_TypeAliasDeclaration_SharedObjectClass(get_current_RemovedTypeAliasDeclaration_SharedObjectClass());
39
- use_current_FunctionDeclaration_createDOProviderContainerRuntimeFactory(get_old_FunctionDeclaration_createDOProviderContainerRuntimeFactory());
40
- use_old_FunctionDeclaration_createDOProviderContainerRuntimeFactory(get_current_FunctionDeclaration_createDOProviderContainerRuntimeFactory());
41
- use_current_FunctionDeclaration_createFluidContainer(get_old_FunctionDeclaration_createFluidContainer());
42
- use_old_FunctionDeclaration_createFluidContainer(get_current_FunctionDeclaration_createFluidContainer());
43
- use_current_FunctionDeclaration_createServiceAudience(get_old_FunctionDeclaration_createServiceAudience());
44
- use_old_FunctionDeclaration_createServiceAudience(get_current_FunctionDeclaration_createServiceAudience());
45
- export {};
46
- //# sourceMappingURL=validateFluidStaticPrevious.generated.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validateFluidStaticPrevious.generated.js","sourceRoot":"","sources":["../../../src/test/types/validateFluidStaticPrevious.generated.ts"],"names":[],"mappings":"AAgCA,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C;AACxC,uDAAuD;AACvD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,4CAA4C,CACxC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,wCAAwC,CACpC,4CAA4C,EAAE,CAAC,CAAC;AAWpD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,sDAAsD,CAClD,kDAAkD,EAAE,CAAC,CAAC;AAW1D,kDAAkD,CAC9C,sDAAsD,EAAE,CAAC,CAAC;AAW9D,wCAAwC,CACpC,oCAAoC,EAAE,CAAC,CAAC;AAW5C,oCAAoC,CAChC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,uDAAuD,CACnD,mDAAmD,EAAE,CAAC,CAAC;AAW3D,mDAAmD,CAC/C,uDAAuD,EAAE,CAAC,CAAC;AAW/D,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,iDAAiD,CAC7C,6CAA6C,EAAE,CAAC,CAAC;AAWrD,6CAA6C,CACzC,iDAAiD,EAAE,CAAC,CAAC;AAWzD,uDAAuD,CACnD,mDAAmD,EAAE,CAAC,CAAC;AAW3D,mDAAmD,CAC/C,uDAAuD,EAAE,CAAC,CAAC;AAW/D,+CAA+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC;AAWvD,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,0DAA0D,CACtD,sDAAsD,EAAE,CAAC,CAAC;AAW9D,sDAAsD,CAClD,0DAA0D,EAAE,CAAC,CAAC;AAWlE,mDAAmD,CAC/C,+CAA+C,EAAE,CAAC,CAAC;AAWvD,+CAA+C,CAC3C,mDAAmD,EAAE,CAAC,CAAC;AAW3D,qDAAqD,CACjD,iDAAiD,EAAE,CAAC,CAAC;AAWzD,iDAAiD,CAC7C,qDAAqD,EAAE,CAAC,CAAC;AAW7D,sDAAsD,CAClD,kDAAkD,EAAE,CAAC,CAAC;AAW1D,kDAAkD,CAC9C,sDAAsD,EAAE,CAAC,CAAC;AAW9D,uCAAuC,CACnC,mCAAmC,EAAE,CAAC,CAAC;AAW3C,mCAAmC,CAC/B,uCAAuC,EAAE,CAAC,CAAC;AAW/C,yDAAyD,CACrD,8CAA8C,EAAE,CAAC,CAAC;AAWtD,8CAA8C,CAC1C,yDAAyD,EAAE,CAAC,CAAC;AAWjE,uEAAuE,CACnE,mEAAmE,EAAE,CAAC,CAAC;AAW3E,mEAAmE,CAC/D,uEAAuE,EAAE,CAAC,CAAC;AAW/E,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,qDAAqD,CACjD,iDAAiD,EAAE,CAAC,CAAC;AAWzD,iDAAiD,CAC7C,qDAAqD,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-test-generator in @fluidframework/build-tools.\n */\nimport type * as old from \"@fluidframework/fluid-static-previous\";\nimport type * as current from \"../../index.js\";\n\n\n// See 'build-tools/src/type-test-generator/compatibility.ts' for more information.\ntype TypeOnly<T> = T extends number\n\t? number\n\t: T extends string\n\t? string\n\t: T extends boolean | bigint | symbol\n\t? T\n\t: {\n\t\t\t[P in keyof T]: TypeOnly<T[P]>;\n\t };\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ContainerSchema\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_ContainerSchema():\n TypeOnly<old.ContainerSchema>;\ndeclare function use_current_InterfaceDeclaration_ContainerSchema(\n use: TypeOnly<current.ContainerSchema>): void;\nuse_current_InterfaceDeclaration_ContainerSchema(\n get_old_InterfaceDeclaration_ContainerSchema());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_ContainerSchema\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_ContainerSchema():\n TypeOnly<current.ContainerSchema>;\ndeclare function use_old_InterfaceDeclaration_ContainerSchema(\n use: TypeOnly<old.ContainerSchema>): void;\nuse_old_InterfaceDeclaration_ContainerSchema(\n // @ts-expect-error compatibility expected to be broken\n get_current_InterfaceDeclaration_ContainerSchema());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_DataObjectClass\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_DataObjectClass():\n TypeOnly<old.DataObjectClass<any>>;\ndeclare function use_current_TypeAliasDeclaration_DataObjectClass(\n use: TypeOnly<current.DataObjectClass<any>>): void;\nuse_current_TypeAliasDeclaration_DataObjectClass(\n get_old_TypeAliasDeclaration_DataObjectClass());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_DataObjectClass\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_DataObjectClass():\n TypeOnly<current.DataObjectClass<any>>;\ndeclare function use_old_TypeAliasDeclaration_DataObjectClass(\n use: TypeOnly<old.DataObjectClass<any>>): void;\nuse_old_TypeAliasDeclaration_DataObjectClass(\n get_current_TypeAliasDeclaration_DataObjectClass());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IConnection\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IConnection():\n TypeOnly<old.IConnection>;\ndeclare function use_current_InterfaceDeclaration_IConnection(\n use: TypeOnly<current.IConnection>): void;\nuse_current_InterfaceDeclaration_IConnection(\n get_old_InterfaceDeclaration_IConnection());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IConnection\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IConnection():\n TypeOnly<current.IConnection>;\ndeclare function use_old_InterfaceDeclaration_IConnection(\n use: TypeOnly<old.IConnection>): void;\nuse_old_InterfaceDeclaration_IConnection(\n get_current_InterfaceDeclaration_IConnection());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidContainer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidContainer():\n TypeOnly<old.IFluidContainer>;\ndeclare function use_current_InterfaceDeclaration_IFluidContainer(\n use: TypeOnly<current.IFluidContainer>): void;\nuse_current_InterfaceDeclaration_IFluidContainer(\n get_old_InterfaceDeclaration_IFluidContainer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidContainer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidContainer():\n TypeOnly<current.IFluidContainer>;\ndeclare function use_old_InterfaceDeclaration_IFluidContainer(\n use: TypeOnly<old.IFluidContainer>): void;\nuse_old_InterfaceDeclaration_IFluidContainer(\n get_current_InterfaceDeclaration_IFluidContainer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidContainerEvents\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidContainerEvents():\n TypeOnly<old.IFluidContainerEvents>;\ndeclare function use_current_InterfaceDeclaration_IFluidContainerEvents(\n use: TypeOnly<current.IFluidContainerEvents>): void;\nuse_current_InterfaceDeclaration_IFluidContainerEvents(\n get_old_InterfaceDeclaration_IFluidContainerEvents());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidContainerEvents\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidContainerEvents():\n TypeOnly<current.IFluidContainerEvents>;\ndeclare function use_old_InterfaceDeclaration_IFluidContainerEvents(\n use: TypeOnly<old.IFluidContainerEvents>): void;\nuse_old_InterfaceDeclaration_IFluidContainerEvents(\n get_current_InterfaceDeclaration_IFluidContainerEvents());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IMember\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IMember():\n TypeOnly<old.IMember>;\ndeclare function use_current_InterfaceDeclaration_IMember(\n use: TypeOnly<current.IMember>): void;\nuse_current_InterfaceDeclaration_IMember(\n get_old_InterfaceDeclaration_IMember());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IMember\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IMember():\n TypeOnly<current.IMember>;\ndeclare function use_old_InterfaceDeclaration_IMember(\n use: TypeOnly<old.IMember>): void;\nuse_old_InterfaceDeclaration_IMember(\n get_current_InterfaceDeclaration_IMember());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideRootDataObject\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideRootDataObject():\n TypeOnly<old.IProvideRootDataObject>;\ndeclare function use_current_InterfaceDeclaration_IProvideRootDataObject(\n use: TypeOnly<current.IProvideRootDataObject>): void;\nuse_current_InterfaceDeclaration_IProvideRootDataObject(\n get_old_InterfaceDeclaration_IProvideRootDataObject());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideRootDataObject\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideRootDataObject():\n TypeOnly<current.IProvideRootDataObject>;\ndeclare function use_old_InterfaceDeclaration_IProvideRootDataObject(\n use: TypeOnly<old.IProvideRootDataObject>): void;\nuse_old_InterfaceDeclaration_IProvideRootDataObject(\n get_current_InterfaceDeclaration_IProvideRootDataObject());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IRootDataObject\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IRootDataObject():\n TypeOnly<old.IRootDataObject>;\ndeclare function use_current_InterfaceDeclaration_IRootDataObject(\n use: TypeOnly<current.IRootDataObject>): void;\nuse_current_InterfaceDeclaration_IRootDataObject(\n get_old_InterfaceDeclaration_IRootDataObject());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IRootDataObject\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IRootDataObject():\n TypeOnly<current.IRootDataObject>;\ndeclare function use_old_InterfaceDeclaration_IRootDataObject(\n use: TypeOnly<old.IRootDataObject>): void;\nuse_old_InterfaceDeclaration_IRootDataObject(\n get_current_InterfaceDeclaration_IRootDataObject());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IServiceAudience\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IServiceAudience():\n TypeOnly<old.IServiceAudience<any>>;\ndeclare function use_current_InterfaceDeclaration_IServiceAudience(\n use: TypeOnly<current.IServiceAudience<any>>): void;\nuse_current_InterfaceDeclaration_IServiceAudience(\n get_old_InterfaceDeclaration_IServiceAudience());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IServiceAudience\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IServiceAudience():\n TypeOnly<current.IServiceAudience<any>>;\ndeclare function use_old_InterfaceDeclaration_IServiceAudience(\n use: TypeOnly<old.IServiceAudience<any>>): void;\nuse_old_InterfaceDeclaration_IServiceAudience(\n get_current_InterfaceDeclaration_IServiceAudience());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IServiceAudienceEvents\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IServiceAudienceEvents():\n TypeOnly<old.IServiceAudienceEvents<any>>;\ndeclare function use_current_InterfaceDeclaration_IServiceAudienceEvents(\n use: TypeOnly<current.IServiceAudienceEvents<any>>): void;\nuse_current_InterfaceDeclaration_IServiceAudienceEvents(\n get_old_InterfaceDeclaration_IServiceAudienceEvents());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IServiceAudienceEvents\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IServiceAudienceEvents():\n TypeOnly<current.IServiceAudienceEvents<any>>;\ndeclare function use_old_InterfaceDeclaration_IServiceAudienceEvents(\n use: TypeOnly<old.IServiceAudienceEvents<any>>): void;\nuse_old_InterfaceDeclaration_IServiceAudienceEvents(\n get_current_InterfaceDeclaration_IServiceAudienceEvents());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_InitialObjects\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_InitialObjects():\n TypeOnly<old.InitialObjects<any>>;\ndeclare function use_current_TypeAliasDeclaration_InitialObjects(\n use: TypeOnly<current.InitialObjects<any>>): void;\nuse_current_TypeAliasDeclaration_InitialObjects(\n get_old_TypeAliasDeclaration_InitialObjects());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_InitialObjects\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_InitialObjects():\n TypeOnly<current.InitialObjects<any>>;\ndeclare function use_old_TypeAliasDeclaration_InitialObjects(\n use: TypeOnly<old.InitialObjects<any>>): void;\nuse_old_TypeAliasDeclaration_InitialObjects(\n get_current_TypeAliasDeclaration_InitialObjects());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_LoadableObjectClass\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_LoadableObjectClass():\n TypeOnly<old.LoadableObjectClass<any>>;\ndeclare function use_current_TypeAliasDeclaration_LoadableObjectClass(\n use: TypeOnly<current.LoadableObjectClass>): void;\nuse_current_TypeAliasDeclaration_LoadableObjectClass(\n get_old_TypeAliasDeclaration_LoadableObjectClass());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_LoadableObjectClass\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_LoadableObjectClass():\n TypeOnly<current.LoadableObjectClass>;\ndeclare function use_old_TypeAliasDeclaration_LoadableObjectClass(\n use: TypeOnly<old.LoadableObjectClass<any>>): void;\nuse_old_TypeAliasDeclaration_LoadableObjectClass(\n get_current_TypeAliasDeclaration_LoadableObjectClass());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_LoadableObjectClassRecord\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_LoadableObjectClassRecord():\n TypeOnly<old.LoadableObjectClassRecord>;\ndeclare function use_current_TypeAliasDeclaration_LoadableObjectClassRecord(\n use: TypeOnly<current.LoadableObjectClassRecord>): void;\nuse_current_TypeAliasDeclaration_LoadableObjectClassRecord(\n get_old_TypeAliasDeclaration_LoadableObjectClassRecord());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_LoadableObjectClassRecord\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_LoadableObjectClassRecord():\n TypeOnly<current.LoadableObjectClassRecord>;\ndeclare function use_old_TypeAliasDeclaration_LoadableObjectClassRecord(\n use: TypeOnly<old.LoadableObjectClassRecord>): void;\nuse_old_TypeAliasDeclaration_LoadableObjectClassRecord(\n get_current_TypeAliasDeclaration_LoadableObjectClassRecord());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_LoadableObjectCtor\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_LoadableObjectCtor():\n TypeOnly<old.LoadableObjectCtor<any>>;\ndeclare function use_current_TypeAliasDeclaration_LoadableObjectCtor(\n use: TypeOnly<current.LoadableObjectCtor<any>>): void;\nuse_current_TypeAliasDeclaration_LoadableObjectCtor(\n get_old_TypeAliasDeclaration_LoadableObjectCtor());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_LoadableObjectCtor\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_LoadableObjectCtor():\n TypeOnly<current.LoadableObjectCtor<any>>;\ndeclare function use_old_TypeAliasDeclaration_LoadableObjectCtor(\n use: TypeOnly<old.LoadableObjectCtor<any>>): void;\nuse_old_TypeAliasDeclaration_LoadableObjectCtor(\n get_current_TypeAliasDeclaration_LoadableObjectCtor());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_LoadableObjectRecord\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_LoadableObjectRecord():\n TypeOnly<old.LoadableObjectRecord>;\ndeclare function use_current_TypeAliasDeclaration_LoadableObjectRecord(\n use: TypeOnly<current.LoadableObjectRecord>): void;\nuse_current_TypeAliasDeclaration_LoadableObjectRecord(\n get_old_TypeAliasDeclaration_LoadableObjectRecord());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_LoadableObjectRecord\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_LoadableObjectRecord():\n TypeOnly<current.LoadableObjectRecord>;\ndeclare function use_old_TypeAliasDeclaration_LoadableObjectRecord(\n use: TypeOnly<old.LoadableObjectRecord>): void;\nuse_old_TypeAliasDeclaration_LoadableObjectRecord(\n get_current_TypeAliasDeclaration_LoadableObjectRecord());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_MemberChangedListener\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_MemberChangedListener():\n TypeOnly<old.MemberChangedListener<any>>;\ndeclare function use_current_TypeAliasDeclaration_MemberChangedListener(\n use: TypeOnly<current.MemberChangedListener<any>>): void;\nuse_current_TypeAliasDeclaration_MemberChangedListener(\n get_old_TypeAliasDeclaration_MemberChangedListener());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_MemberChangedListener\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_MemberChangedListener():\n TypeOnly<current.MemberChangedListener<any>>;\ndeclare function use_old_TypeAliasDeclaration_MemberChangedListener(\n use: TypeOnly<old.MemberChangedListener<any>>): void;\nuse_old_TypeAliasDeclaration_MemberChangedListener(\n get_current_TypeAliasDeclaration_MemberChangedListener());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_Myself\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_Myself():\n TypeOnly<old.Myself>;\ndeclare function use_current_TypeAliasDeclaration_Myself(\n use: TypeOnly<current.Myself>): void;\nuse_current_TypeAliasDeclaration_Myself(\n get_old_TypeAliasDeclaration_Myself());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_Myself\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_Myself():\n TypeOnly<current.Myself>;\ndeclare function use_old_TypeAliasDeclaration_Myself(\n use: TypeOnly<old.Myself>): void;\nuse_old_TypeAliasDeclaration_Myself(\n get_current_TypeAliasDeclaration_Myself());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"RemovedTypeAliasDeclaration_SharedObjectClass\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_SharedObjectClass():\n TypeOnly<old.SharedObjectClass<any>>;\ndeclare function use_current_RemovedTypeAliasDeclaration_SharedObjectClass(\n use: TypeOnly<current.SharedObjectClass<any>>): void;\nuse_current_RemovedTypeAliasDeclaration_SharedObjectClass(\n get_old_TypeAliasDeclaration_SharedObjectClass());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"RemovedTypeAliasDeclaration_SharedObjectClass\": {\"backCompat\": false}\n*/\ndeclare function get_current_RemovedTypeAliasDeclaration_SharedObjectClass():\n TypeOnly<current.SharedObjectClass<any>>;\ndeclare function use_old_TypeAliasDeclaration_SharedObjectClass(\n use: TypeOnly<old.SharedObjectClass<any>>): void;\nuse_old_TypeAliasDeclaration_SharedObjectClass(\n get_current_RemovedTypeAliasDeclaration_SharedObjectClass());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_createDOProviderContainerRuntimeFactory\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_createDOProviderContainerRuntimeFactory():\n TypeOnly<typeof old.createDOProviderContainerRuntimeFactory>;\ndeclare function use_current_FunctionDeclaration_createDOProviderContainerRuntimeFactory(\n use: TypeOnly<typeof current.createDOProviderContainerRuntimeFactory>): void;\nuse_current_FunctionDeclaration_createDOProviderContainerRuntimeFactory(\n get_old_FunctionDeclaration_createDOProviderContainerRuntimeFactory());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_createDOProviderContainerRuntimeFactory\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_createDOProviderContainerRuntimeFactory():\n TypeOnly<typeof current.createDOProviderContainerRuntimeFactory>;\ndeclare function use_old_FunctionDeclaration_createDOProviderContainerRuntimeFactory(\n use: TypeOnly<typeof old.createDOProviderContainerRuntimeFactory>): void;\nuse_old_FunctionDeclaration_createDOProviderContainerRuntimeFactory(\n get_current_FunctionDeclaration_createDOProviderContainerRuntimeFactory());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_createFluidContainer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_createFluidContainer():\n TypeOnly<typeof old.createFluidContainer>;\ndeclare function use_current_FunctionDeclaration_createFluidContainer(\n use: TypeOnly<typeof current.createFluidContainer>): void;\nuse_current_FunctionDeclaration_createFluidContainer(\n get_old_FunctionDeclaration_createFluidContainer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_createFluidContainer\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_createFluidContainer():\n TypeOnly<typeof current.createFluidContainer>;\ndeclare function use_old_FunctionDeclaration_createFluidContainer(\n use: TypeOnly<typeof old.createFluidContainer>): void;\nuse_old_FunctionDeclaration_createFluidContainer(\n get_current_FunctionDeclaration_createFluidContainer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_createServiceAudience\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_FunctionDeclaration_createServiceAudience():\n TypeOnly<typeof old.createServiceAudience>;\ndeclare function use_current_FunctionDeclaration_createServiceAudience(\n use: TypeOnly<typeof current.createServiceAudience>): void;\nuse_current_FunctionDeclaration_createServiceAudience(\n get_old_FunctionDeclaration_createServiceAudience());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"FunctionDeclaration_createServiceAudience\": {\"backCompat\": false}\n*/\ndeclare function get_current_FunctionDeclaration_createServiceAudience():\n TypeOnly<typeof current.createServiceAudience>;\ndeclare function use_old_FunctionDeclaration_createServiceAudience(\n use: TypeOnly<typeof old.createServiceAudience>): void;\nuse_old_FunctionDeclaration_createServiceAudience(\n get_current_FunctionDeclaration_createServiceAudience());\n"]}