@fluidframework/runtime-definitions 2.0.2 → 2.1.0-276326

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 (64) hide show
  1. package/api-extractor/api-extractor.legacy.json +4 -0
  2. package/api-report/runtime-definitions.beta.api.md +0 -28
  3. package/api-report/{runtime-definitions.alpha.api.md → runtime-definitions.legacy.alpha.api.md} +0 -28
  4. package/api-report/runtime-definitions.public.api.md +0 -28
  5. package/dist/attribution.d.ts +5 -0
  6. package/dist/attribution.d.ts.map +1 -1
  7. package/dist/attribution.js.map +1 -1
  8. package/dist/dataStoreContext.d.ts +12 -0
  9. package/dist/dataStoreContext.d.ts.map +1 -1
  10. package/dist/dataStoreContext.js +2 -0
  11. package/dist/dataStoreContext.js.map +1 -1
  12. package/dist/dataStoreFactory.d.ts +3 -0
  13. package/dist/dataStoreFactory.d.ts.map +1 -1
  14. package/dist/dataStoreFactory.js +1 -0
  15. package/dist/dataStoreFactory.js.map +1 -1
  16. package/dist/dataStoreRegistry.d.ts +6 -0
  17. package/dist/dataStoreRegistry.d.ts.map +1 -1
  18. package/dist/dataStoreRegistry.js +1 -0
  19. package/dist/dataStoreRegistry.js.map +1 -1
  20. package/dist/garbageCollectionDefinitions.d.ts +2 -0
  21. package/dist/garbageCollectionDefinitions.d.ts.map +1 -1
  22. package/dist/garbageCollectionDefinitions.js.map +1 -1
  23. package/dist/legacy.d.ts +1 -1
  24. package/dist/protocol.d.ts +4 -0
  25. package/dist/protocol.d.ts.map +1 -1
  26. package/dist/protocol.js.map +1 -1
  27. package/dist/summary.d.ts +13 -0
  28. package/dist/summary.d.ts.map +1 -1
  29. package/dist/summary.js +1 -0
  30. package/dist/summary.js.map +1 -1
  31. package/lib/attribution.d.ts +5 -0
  32. package/lib/attribution.d.ts.map +1 -1
  33. package/lib/attribution.js.map +1 -1
  34. package/lib/dataStoreContext.d.ts +12 -0
  35. package/lib/dataStoreContext.d.ts.map +1 -1
  36. package/lib/dataStoreContext.js +2 -0
  37. package/lib/dataStoreContext.js.map +1 -1
  38. package/lib/dataStoreFactory.d.ts +3 -0
  39. package/lib/dataStoreFactory.d.ts.map +1 -1
  40. package/lib/dataStoreFactory.js +1 -0
  41. package/lib/dataStoreFactory.js.map +1 -1
  42. package/lib/dataStoreRegistry.d.ts +6 -0
  43. package/lib/dataStoreRegistry.d.ts.map +1 -1
  44. package/lib/dataStoreRegistry.js +1 -0
  45. package/lib/dataStoreRegistry.js.map +1 -1
  46. package/lib/garbageCollectionDefinitions.d.ts +2 -0
  47. package/lib/garbageCollectionDefinitions.d.ts.map +1 -1
  48. package/lib/garbageCollectionDefinitions.js.map +1 -1
  49. package/lib/legacy.d.ts +1 -1
  50. package/lib/protocol.d.ts +4 -0
  51. package/lib/protocol.d.ts.map +1 -1
  52. package/lib/protocol.js.map +1 -1
  53. package/lib/summary.d.ts +13 -0
  54. package/lib/summary.d.ts.map +1 -1
  55. package/lib/summary.js +1 -0
  56. package/lib/summary.js.map +1 -1
  57. package/package.json +17 -40
  58. package/src/attribution.ts +5 -0
  59. package/src/dataStoreContext.ts +12 -0
  60. package/src/dataStoreFactory.ts +3 -0
  61. package/src/dataStoreRegistry.ts +6 -0
  62. package/src/garbageCollectionDefinitions.ts +2 -0
  63. package/src/protocol.ts +4 -0
  64. package/src/summary.ts +13 -0
package/src/protocol.ts CHANGED
@@ -7,6 +7,7 @@ import type { ITree, ISignalMessage } from "@fluidframework/driver-definitions/i
7
7
 
8
8
  /**
9
9
  * An envelope wraps the contents with the intended target
10
+ * @legacy
10
11
  * @alpha
11
12
  */
12
13
  export interface IEnvelope {
@@ -47,6 +48,7 @@ export interface ISignalEnvelope {
47
48
 
48
49
  /**
49
50
  * Represents ISignalMessage with its type.
51
+ * @legacy
50
52
  * @alpha
51
53
  */
52
54
  export interface IInboundSignalMessage extends ISignalMessage {
@@ -56,6 +58,7 @@ export interface IInboundSignalMessage extends ISignalMessage {
56
58
  /**
57
59
  * Message send by client attaching local data structure.
58
60
  * Contains snapshot of data structure which is the current state of this data structure.
61
+ * @legacy
59
62
  * @alpha
60
63
  */
61
64
  export interface IAttachMessage {
@@ -80,6 +83,7 @@ export interface IAttachMessage {
80
83
  * but it should not be used when creating a new attach op.
81
84
  * Older versions of attach messages could have null snapshots,
82
85
  * so this gives correct typings for writing backward compatible code.
86
+ * @legacy
83
87
  * @alpha
84
88
  */
85
89
  export type InboundAttachMessage = Omit<IAttachMessage, "snapshot"> & {
package/src/summary.ts CHANGED
@@ -20,6 +20,7 @@ import type {
20
20
 
21
21
  /**
22
22
  * Contains the aggregation data from a Tree/Subtree.
23
+ * @legacy
23
24
  * @alpha
24
25
  */
25
26
  export interface ISummaryStats {
@@ -36,6 +37,7 @@ export interface ISummaryStats {
36
37
  * each of its DDS.
37
38
  * Any component that implements IChannelContext, IFluidDataStoreChannel or extends SharedObject
38
39
  * will be taking part of the summarization process.
40
+ * @legacy
39
41
  * @alpha
40
42
  */
41
43
  export interface ISummaryTreeWithStats {
@@ -52,6 +54,7 @@ export interface ISummaryTreeWithStats {
52
54
 
53
55
  /**
54
56
  * Represents a summary at a current sequence number.
57
+ * @legacy
55
58
  * @alpha
56
59
  */
57
60
  export interface ISummarizeResult {
@@ -73,6 +76,7 @@ export interface ISummarizeResult {
73
76
  * ...
74
77
  * "path1":
75
78
  * ```
79
+ * @legacy
76
80
  * @alpha
77
81
  */
78
82
  export interface ISummarizeInternalResult extends ISummarizeResult {
@@ -86,6 +90,7 @@ export interface ISummarizeInternalResult extends ISummarizeResult {
86
90
  /**
87
91
  * @experimental - Can be deleted/changed at any time
88
92
  * Contains the necessary information to allow DDSes to do incremental summaries
93
+ * @legacy
89
94
  * @alpha
90
95
  */
91
96
  export interface IExperimentalIncrementalSummaryContext {
@@ -112,6 +117,7 @@ export interface IExperimentalIncrementalSummaryContext {
112
117
  }
113
118
 
114
119
  /**
120
+ * @legacy
115
121
  * @alpha
116
122
  */
117
123
  export type SummarizeInternalFn = (
@@ -122,6 +128,7 @@ export type SummarizeInternalFn = (
122
128
  ) => Promise<ISummarizeInternalResult>;
123
129
 
124
130
  /**
131
+ * @legacy
125
132
  * @alpha
126
133
  */
127
134
  export interface ISummarizerNodeConfig {
@@ -133,6 +140,7 @@ export interface ISummarizerNodeConfig {
133
140
  }
134
141
 
135
142
  /**
143
+ * @legacy
136
144
  * @alpha
137
145
  */
138
146
  export interface ISummarizerNodeConfigWithGC extends ISummarizerNodeConfig {
@@ -144,6 +152,7 @@ export interface ISummarizerNodeConfigWithGC extends ISummarizerNodeConfig {
144
152
  }
145
153
 
146
154
  /**
155
+ * @legacy
147
156
  * @alpha
148
157
  */
149
158
  export enum CreateSummarizerNodeSource {
@@ -152,6 +161,7 @@ export enum CreateSummarizerNodeSource {
152
161
  Local,
153
162
  }
154
163
  /**
164
+ * @legacy
155
165
  * @alpha
156
166
  */
157
167
  export type CreateChildSummarizerNodeParam =
@@ -168,6 +178,7 @@ export type CreateChildSummarizerNodeParam =
168
178
  };
169
179
 
170
180
  /**
181
+ * @legacy
171
182
  * @alpha
172
183
  */
173
184
  export interface ISummarizerNode {
@@ -257,6 +268,7 @@ export interface ISummarizerNode {
257
268
  * `isReferenced`: This tells whether this node is referenced in the document or not.
258
269
  *
259
270
  * `updateUsedRoutes`: Used to notify this node of routes that are currently in use in it.
271
+ * @legacy
260
272
  * @alpha
261
273
  */
262
274
  export interface ISummarizerNodeWithGC extends ISummarizerNode {
@@ -351,6 +363,7 @@ export interface ITelemetryContextExt {
351
363
  /**
352
364
  * Contains telemetry data relevant to summarization workflows.
353
365
  * This object is expected to be modified directly by various summarize methods.
366
+ * @legacy
354
367
  * @alpha
355
368
  */
356
369
  export interface ITelemetryContext {