@fluid-experimental/attributor 2.0.0-internal.7.3.0 → 2.0.0-internal.7.4.1

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.
@@ -37,20 +37,17 @@ const attributorTreeName = ".attributor";
37
37
  const opBlobName = "op";
38
38
 
39
39
  /**
40
- * @alpha
41
- * Feature Gate Key -
42
- * Whether or not a container runtime instantiated using `mixinAttributor`'s load should generate an attributor on
43
- * new files. See package README for more notes on integration.
40
+ * @internal
44
41
  */
45
42
  export const enableOnNewFileKey = "Fluid.Attribution.EnableOnNewFile";
46
43
 
47
44
  /**
48
- * @alpha
45
+ * @internal
49
46
  */
50
47
  export const IRuntimeAttributor: keyof IProvideRuntimeAttributor = "IRuntimeAttributor";
51
48
 
52
49
  /**
53
- * @alpha
50
+ * @internal
54
51
  */
55
52
  export interface IProvideRuntimeAttributor {
56
53
  readonly IRuntimeAttributor: IRuntimeAttributor;
@@ -61,7 +58,7 @@ export interface IProvideRuntimeAttributor {
61
58
  *
62
59
  * Attributors are only populated after the container runtime they are injected into has initialized.
63
60
  * @sealed
64
- * @alpha
61
+ * @internal
65
62
  */
66
63
  export interface IRuntimeAttributor extends IProvideRuntimeAttributor {
67
64
  /**
@@ -84,7 +81,7 @@ export interface IRuntimeAttributor extends IProvideRuntimeAttributor {
84
81
  /**
85
82
  * @returns an IRuntimeAttributor for usage with `mixinAttributor`. The attributor will only be populated with data
86
83
  * once it's passed via scope to a container runtime load flow. See {@link mixinAttributor}.
87
- * @alpha
84
+ * @internal
88
85
  */
89
86
  export function createRuntimeAttributor(): IRuntimeAttributor {
90
87
  return new RuntimeAttributor();
@@ -99,7 +96,7 @@ export function createRuntimeAttributor(): IRuntimeAttributor {
99
96
  * IRuntimeAttributor is passed via scope to load a document that never previously had attribution information,
100
97
  * that attributor's `has` method will always return `false`.
101
98
  * @param Base - base class, inherits from FluidAttributorRuntime
102
- * @alpha
99
+ * @internal
103
100
  */
104
101
  export const mixinAttributor = (Base: typeof ContainerRuntime = ContainerRuntime) =>
105
102
  class ContainerRuntimeWithAttributor extends Base {
@@ -185,11 +182,13 @@ export const mixinAttributor = (Base: typeof ContainerRuntime = ContainerRuntime
185
182
  registryEntries,
186
183
  requestHandler,
187
184
  provideEntryPoint,
185
+ // ! This prop is needed for back-compat. Can be removed in 2.0.0-internal.8.0.0
186
+ initializeEntryPoint: provideEntryPoint,
188
187
  runtimeOptions,
189
188
  containerScope,
190
189
  existing,
191
190
  containerRuntimeCtor,
192
- })) as ContainerRuntimeWithAttributor;
191
+ } as any)) as ContainerRuntimeWithAttributor;
193
192
  runtime.runtimeAttributor = runtimeAttributor as RuntimeAttributor;
194
193
 
195
194
  const logger = createChildLogger({ logger: runtime.logger, namespace: "Attributor" });