@fluidframework/debugger 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.
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-base.esm.legacy.json"
4
+ }
@@ -4,16 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import { Deferred } from '@fluidframework/core-utils/internal';
8
- import { IDocumentService } from '@fluidframework/driver-definitions/internal';
9
- import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
10
- import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
11
- import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
12
- import { ISnapshotTree } from '@fluidframework/driver-definitions/internal';
13
- import { IVersion } from '@fluidframework/driver-definitions/internal';
14
- import { ReadDocumentStorageServiceBase } from '@fluidframework/replay-driver/internal';
15
- import { ReplayController } from '@fluidframework/replay-driver/internal';
16
-
17
7
  // (No @packageDocumentation comment for this package)
18
8
 
19
9
  ```
@@ -0,0 +1,15 @@
1
+ ## Alpha API Report File for "@fluidframework/debugger"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ // @alpha (undocumented)
8
+ export namespace FluidDebugger {
9
+ // (undocumented)
10
+ export function createFromServiceFactory(documentServiceFactory: IDocumentServiceFactory): Promise<IDocumentServiceFactory>;
11
+ }
12
+
13
+ // (No @packageDocumentation comment for this package)
14
+
15
+ ```
@@ -4,16 +4,6 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import { Deferred } from '@fluidframework/core-utils/internal';
8
- import { IDocumentService } from '@fluidframework/driver-definitions/internal';
9
- import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
10
- import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
11
- import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
12
- import { ISnapshotTree } from '@fluidframework/driver-definitions/internal';
13
- import { IVersion } from '@fluidframework/driver-definitions/internal';
14
- import { ReadDocumentStorageServiceBase } from '@fluidframework/replay-driver/internal';
15
- import { ReplayController } from '@fluidframework/replay-driver/internal';
16
-
17
7
  // (No @packageDocumentation comment for this package)
18
8
 
19
9
  ```
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import { IDocumentService, IDocumentServiceFactory } from "@fluidframework/driver-definitions/internal";
6
6
  /**
7
+ * @legacy
7
8
  * @alpha
8
9
  */
9
10
  export declare namespace FluidDebugger {
@@ -16,6 +17,7 @@ export declare namespace FluidDebugger {
16
17
  */
17
18
  function createFromService(documentService: IDocumentService): Promise<IDocumentService>;
18
19
  /**
20
+ * @legacy
19
21
  * @alpha
20
22
  */
21
23
  function createFromServiceFactory(documentServiceFactory: IDocumentServiceFactory): Promise<IDocumentServiceFactory>;
@@ -1 +1 @@
1
- {"version":3,"file":"fluidDebugger.d.ts","sourceRoot":"","sources":["../src/fluidDebugger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,6CAA6C,CAAC;AASrD;;GAEG;AAEH,yBAAiB,aAAa,CAAC;IAC9B;;;;;;OAMG;IACH,SAAsB,iBAAiB,CACtC,eAAe,EAAE,gBAAgB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAM3B;IAED;;OAEG;IACH,SAAsB,wBAAwB,CAC7C,sBAAsB,EAAE,uBAAuB,GAC7C,OAAO,CAAC,uBAAuB,CAAC,CAMlC;CAQD"}
1
+ {"version":3,"file":"fluidDebugger.d.ts","sourceRoot":"","sources":["../src/fluidDebugger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,6CAA6C,CAAC;AASrD;;;GAGG;AAEH,yBAAiB,aAAa,CAAC;IAC9B;;;;;;OAMG;IACH,SAAsB,iBAAiB,CACtC,eAAe,EAAE,gBAAgB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAM3B;IAED;;;OAGG;IACH,SAAsB,wBAAwB,CAC7C,sBAAsB,EAAE,uBAAuB,GAC7C,OAAO,CAAC,uBAAuB,CAAC,CAMlC;CAQD"}
@@ -9,6 +9,7 @@ const internal_1 = require("@fluidframework/replay-driver/internal");
9
9
  const fluidDebuggerController_js_1 = require("./fluidDebuggerController.js");
10
10
  const fluidDebuggerUi_js_1 = require("./fluidDebuggerUi.js");
11
11
  /**
12
+ * @legacy
12
13
  * @alpha
13
14
  */
14
15
  // eslint-disable-next-line @typescript-eslint/no-namespace
@@ -30,6 +31,7 @@ var FluidDebugger;
30
31
  }
31
32
  FluidDebugger.createFromService = createFromService;
32
33
  /**
34
+ * @legacy
33
35
  * @alpha
34
36
  */
35
37
  async function createFromServiceFactory(documentServiceFactory) {
@@ -1 +1 @@
1
- {"version":3,"file":"fluidDebugger.js","sourceRoot":"","sources":["../src/fluidDebugger.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAMH,qEAGgD;AAEhD,6EAAqE;AACrE,6DAAkD;AAElD;;GAEG;AACH,2DAA2D;AAC3D,IAAiB,aAAa,CAqC7B;AArCD,WAAiB,aAAa;IAC7B;;;;;;OAMG;IACI,KAAK,UAAU,iBAAiB,CACtC,eAAiC;QAEjC,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,eAAe,CAAC;QACxB,CAAC;QACD,OAAO,gCAAqB,CAAC,MAAM,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;IAClE,CAAC;IARqB,+BAAiB,oBAQtC,CAAA;IAED;;OAEG;IACI,KAAK,UAAU,wBAAwB,CAC7C,sBAA+C;QAE/C,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,sBAAsB,CAAC;QAC/B,CAAC;QACD,OAAO,IAAI,uCAA4B,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC7E,CAAC;IARqB,sCAAwB,2BAQ7C,CAAA;IAED;;;OAGG;IACH,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAChC,kDAAqB,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,+BAAU,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9E,CAAC,EArCgB,aAAa,6BAAb,aAAa,QAqC7B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIDocumentService,\n\tIDocumentServiceFactory,\n} from \"@fluidframework/driver-definitions/internal\";\nimport {\n\tReplayDocumentService,\n\tReplayDocumentServiceFactory,\n} from \"@fluidframework/replay-driver/internal\";\n\nimport { DebugReplayController } from \"./fluidDebuggerController.js\";\nimport { DebuggerUI } from \"./fluidDebuggerUi.js\";\n\n/**\n * @alpha\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace FluidDebugger {\n\t/**\n\t * Creates document service wrapper that pops up Debugger window and allows user to play ops one by one.\n\t * User can chose to start with any snapshot\n\t * If pop-ups are disabled, we continue without debugger.\n\t * @param documentService - original document service to use to fetch ops / snapshots.\n\t * @internal\n\t */\n\texport async function createFromService(\n\t\tdocumentService: IDocumentService,\n\t): Promise<IDocumentService> {\n\t\tconst controller = createFluidDebugger();\n\t\tif (!controller) {\n\t\t\treturn documentService;\n\t\t}\n\t\treturn ReplayDocumentService.create(documentService, controller);\n\t}\n\n\t/**\n\t * @alpha\n\t */\n\texport async function createFromServiceFactory(\n\t\tdocumentServiceFactory: IDocumentServiceFactory,\n\t): Promise<IDocumentServiceFactory> {\n\t\tconst controller = createFluidDebugger();\n\t\tif (!controller) {\n\t\t\treturn documentServiceFactory;\n\t\t}\n\t\treturn new ReplayDocumentServiceFactory(documentServiceFactory, controller);\n\t}\n\n\t/**\n\t * Binds DebuggerUI & DebugReplayController together\n\t * These classes do not know each other and talk through interfaces\n\t */\n\tconst createFluidDebugger = () =>\n\t\tDebugReplayController.create((controller) => DebuggerUI.create(controller));\n}\n"]}
1
+ {"version":3,"file":"fluidDebugger.js","sourceRoot":"","sources":["../src/fluidDebugger.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAMH,qEAGgD;AAEhD,6EAAqE;AACrE,6DAAkD;AAElD;;;GAGG;AACH,2DAA2D;AAC3D,IAAiB,aAAa,CAsC7B;AAtCD,WAAiB,aAAa;IAC7B;;;;;;OAMG;IACI,KAAK,UAAU,iBAAiB,CACtC,eAAiC;QAEjC,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,eAAe,CAAC;QACxB,CAAC;QACD,OAAO,gCAAqB,CAAC,MAAM,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;IAClE,CAAC;IARqB,+BAAiB,oBAQtC,CAAA;IAED;;;OAGG;IACI,KAAK,UAAU,wBAAwB,CAC7C,sBAA+C;QAE/C,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,sBAAsB,CAAC;QAC/B,CAAC;QACD,OAAO,IAAI,uCAA4B,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC7E,CAAC;IARqB,sCAAwB,2BAQ7C,CAAA;IAED;;;OAGG;IACH,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAChC,kDAAqB,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,+BAAU,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9E,CAAC,EAtCgB,aAAa,6BAAb,aAAa,QAsC7B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIDocumentService,\n\tIDocumentServiceFactory,\n} from \"@fluidframework/driver-definitions/internal\";\nimport {\n\tReplayDocumentService,\n\tReplayDocumentServiceFactory,\n} from \"@fluidframework/replay-driver/internal\";\n\nimport { DebugReplayController } from \"./fluidDebuggerController.js\";\nimport { DebuggerUI } from \"./fluidDebuggerUi.js\";\n\n/**\n * @legacy\n * @alpha\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace FluidDebugger {\n\t/**\n\t * Creates document service wrapper that pops up Debugger window and allows user to play ops one by one.\n\t * User can chose to start with any snapshot\n\t * If pop-ups are disabled, we continue without debugger.\n\t * @param documentService - original document service to use to fetch ops / snapshots.\n\t * @internal\n\t */\n\texport async function createFromService(\n\t\tdocumentService: IDocumentService,\n\t): Promise<IDocumentService> {\n\t\tconst controller = createFluidDebugger();\n\t\tif (!controller) {\n\t\t\treturn documentService;\n\t\t}\n\t\treturn ReplayDocumentService.create(documentService, controller);\n\t}\n\n\t/**\n\t * @legacy\n\t * @alpha\n\t */\n\texport async function createFromServiceFactory(\n\t\tdocumentServiceFactory: IDocumentServiceFactory,\n\t): Promise<IDocumentServiceFactory> {\n\t\tconst controller = createFluidDebugger();\n\t\tif (!controller) {\n\t\t\treturn documentServiceFactory;\n\t\t}\n\t\treturn new ReplayDocumentServiceFactory(documentServiceFactory, controller);\n\t}\n\n\t/**\n\t * Binds DebuggerUI & DebugReplayController together\n\t * These classes do not know each other and talk through interfaces\n\t */\n\tconst createFluidDebugger = () =>\n\t\tDebugReplayController.create((controller) => DebuggerUI.create(controller));\n}\n"]}
package/dist/legacy.d.ts CHANGED
@@ -9,6 +9,6 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @alpha APIs
12
+ // @legacy APIs
13
13
  FluidDebugger
14
14
  } from "./index.js";
@@ -4,6 +4,7 @@
4
4
  */
5
5
  import { IDocumentService, IDocumentServiceFactory } from "@fluidframework/driver-definitions/internal";
6
6
  /**
7
+ * @legacy
7
8
  * @alpha
8
9
  */
9
10
  export declare namespace FluidDebugger {
@@ -16,6 +17,7 @@ export declare namespace FluidDebugger {
16
17
  */
17
18
  function createFromService(documentService: IDocumentService): Promise<IDocumentService>;
18
19
  /**
20
+ * @legacy
19
21
  * @alpha
20
22
  */
21
23
  function createFromServiceFactory(documentServiceFactory: IDocumentServiceFactory): Promise<IDocumentServiceFactory>;
@@ -1 +1 @@
1
- {"version":3,"file":"fluidDebugger.d.ts","sourceRoot":"","sources":["../src/fluidDebugger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,6CAA6C,CAAC;AASrD;;GAEG;AAEH,yBAAiB,aAAa,CAAC;IAC9B;;;;;;OAMG;IACH,SAAsB,iBAAiB,CACtC,eAAe,EAAE,gBAAgB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAM3B;IAED;;OAEG;IACH,SAAsB,wBAAwB,CAC7C,sBAAsB,EAAE,uBAAuB,GAC7C,OAAO,CAAC,uBAAuB,CAAC,CAMlC;CAQD"}
1
+ {"version":3,"file":"fluidDebugger.d.ts","sourceRoot":"","sources":["../src/fluidDebugger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,gBAAgB,EAChB,uBAAuB,EACvB,MAAM,6CAA6C,CAAC;AASrD;;;GAGG;AAEH,yBAAiB,aAAa,CAAC;IAC9B;;;;;;OAMG;IACH,SAAsB,iBAAiB,CACtC,eAAe,EAAE,gBAAgB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAM3B;IAED;;;OAGG;IACH,SAAsB,wBAAwB,CAC7C,sBAAsB,EAAE,uBAAuB,GAC7C,OAAO,CAAC,uBAAuB,CAAC,CAMlC;CAQD"}
@@ -6,6 +6,7 @@ import { ReplayDocumentService, ReplayDocumentServiceFactory, } from "@fluidfram
6
6
  import { DebugReplayController } from "./fluidDebuggerController.js";
7
7
  import { DebuggerUI } from "./fluidDebuggerUi.js";
8
8
  /**
9
+ * @legacy
9
10
  * @alpha
10
11
  */
11
12
  // eslint-disable-next-line @typescript-eslint/no-namespace
@@ -27,6 +28,7 @@ export var FluidDebugger;
27
28
  }
28
29
  FluidDebugger.createFromService = createFromService;
29
30
  /**
31
+ * @legacy
30
32
  * @alpha
31
33
  */
32
34
  async function createFromServiceFactory(documentServiceFactory) {
@@ -1 +1 @@
1
- {"version":3,"file":"fluidDebugger.js","sourceRoot":"","sources":["../src/fluidDebugger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EACN,qBAAqB,EACrB,4BAA4B,GAC5B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,2DAA2D;AAC3D,MAAM,KAAW,aAAa,CAqC7B;AArCD,WAAiB,aAAa;IAC7B;;;;;;OAMG;IACI,KAAK,UAAU,iBAAiB,CACtC,eAAiC;QAEjC,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,eAAe,CAAC;QACxB,CAAC;QACD,OAAO,qBAAqB,CAAC,MAAM,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;IAClE,CAAC;IARqB,+BAAiB,oBAQtC,CAAA;IAED;;OAEG;IACI,KAAK,UAAU,wBAAwB,CAC7C,sBAA+C;QAE/C,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,sBAAsB,CAAC;QAC/B,CAAC;QACD,OAAO,IAAI,4BAA4B,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC7E,CAAC;IARqB,sCAAwB,2BAQ7C,CAAA;IAED;;;OAGG;IACH,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAChC,qBAAqB,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9E,CAAC,EArCgB,aAAa,KAAb,aAAa,QAqC7B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIDocumentService,\n\tIDocumentServiceFactory,\n} from \"@fluidframework/driver-definitions/internal\";\nimport {\n\tReplayDocumentService,\n\tReplayDocumentServiceFactory,\n} from \"@fluidframework/replay-driver/internal\";\n\nimport { DebugReplayController } from \"./fluidDebuggerController.js\";\nimport { DebuggerUI } from \"./fluidDebuggerUi.js\";\n\n/**\n * @alpha\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace FluidDebugger {\n\t/**\n\t * Creates document service wrapper that pops up Debugger window and allows user to play ops one by one.\n\t * User can chose to start with any snapshot\n\t * If pop-ups are disabled, we continue without debugger.\n\t * @param documentService - original document service to use to fetch ops / snapshots.\n\t * @internal\n\t */\n\texport async function createFromService(\n\t\tdocumentService: IDocumentService,\n\t): Promise<IDocumentService> {\n\t\tconst controller = createFluidDebugger();\n\t\tif (!controller) {\n\t\t\treturn documentService;\n\t\t}\n\t\treturn ReplayDocumentService.create(documentService, controller);\n\t}\n\n\t/**\n\t * @alpha\n\t */\n\texport async function createFromServiceFactory(\n\t\tdocumentServiceFactory: IDocumentServiceFactory,\n\t): Promise<IDocumentServiceFactory> {\n\t\tconst controller = createFluidDebugger();\n\t\tif (!controller) {\n\t\t\treturn documentServiceFactory;\n\t\t}\n\t\treturn new ReplayDocumentServiceFactory(documentServiceFactory, controller);\n\t}\n\n\t/**\n\t * Binds DebuggerUI & DebugReplayController together\n\t * These classes do not know each other and talk through interfaces\n\t */\n\tconst createFluidDebugger = () =>\n\t\tDebugReplayController.create((controller) => DebuggerUI.create(controller));\n}\n"]}
1
+ {"version":3,"file":"fluidDebugger.js","sourceRoot":"","sources":["../src/fluidDebugger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EACN,qBAAqB,EACrB,4BAA4B,GAC5B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;GAGG;AACH,2DAA2D;AAC3D,MAAM,KAAW,aAAa,CAsC7B;AAtCD,WAAiB,aAAa;IAC7B;;;;;;OAMG;IACI,KAAK,UAAU,iBAAiB,CACtC,eAAiC;QAEjC,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,eAAe,CAAC;QACxB,CAAC;QACD,OAAO,qBAAqB,CAAC,MAAM,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;IAClE,CAAC;IARqB,+BAAiB,oBAQtC,CAAA;IAED;;;OAGG;IACI,KAAK,UAAU,wBAAwB,CAC7C,sBAA+C;QAE/C,MAAM,UAAU,GAAG,mBAAmB,EAAE,CAAC;QACzC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,sBAAsB,CAAC;QAC/B,CAAC;QACD,OAAO,IAAI,4BAA4B,CAAC,sBAAsB,EAAE,UAAU,CAAC,CAAC;IAC7E,CAAC;IARqB,sCAAwB,2BAQ7C,CAAA;IAED;;;OAGG;IACH,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAChC,qBAAqB,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AAC9E,CAAC,EAtCgB,aAAa,KAAb,aAAa,QAsC7B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIDocumentService,\n\tIDocumentServiceFactory,\n} from \"@fluidframework/driver-definitions/internal\";\nimport {\n\tReplayDocumentService,\n\tReplayDocumentServiceFactory,\n} from \"@fluidframework/replay-driver/internal\";\n\nimport { DebugReplayController } from \"./fluidDebuggerController.js\";\nimport { DebuggerUI } from \"./fluidDebuggerUi.js\";\n\n/**\n * @legacy\n * @alpha\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace FluidDebugger {\n\t/**\n\t * Creates document service wrapper that pops up Debugger window and allows user to play ops one by one.\n\t * User can chose to start with any snapshot\n\t * If pop-ups are disabled, we continue without debugger.\n\t * @param documentService - original document service to use to fetch ops / snapshots.\n\t * @internal\n\t */\n\texport async function createFromService(\n\t\tdocumentService: IDocumentService,\n\t): Promise<IDocumentService> {\n\t\tconst controller = createFluidDebugger();\n\t\tif (!controller) {\n\t\t\treturn documentService;\n\t\t}\n\t\treturn ReplayDocumentService.create(documentService, controller);\n\t}\n\n\t/**\n\t * @legacy\n\t * @alpha\n\t */\n\texport async function createFromServiceFactory(\n\t\tdocumentServiceFactory: IDocumentServiceFactory,\n\t): Promise<IDocumentServiceFactory> {\n\t\tconst controller = createFluidDebugger();\n\t\tif (!controller) {\n\t\t\treturn documentServiceFactory;\n\t\t}\n\t\treturn new ReplayDocumentServiceFactory(documentServiceFactory, controller);\n\t}\n\n\t/**\n\t * Binds DebuggerUI & DebugReplayController together\n\t * These classes do not know each other and talk through interfaces\n\t */\n\tconst createFluidDebugger = () =>\n\t\tDebugReplayController.create((controller) => DebuggerUI.create(controller));\n}\n"]}
package/lib/legacy.d.ts CHANGED
@@ -9,6 +9,6 @@
9
9
  */
10
10
 
11
11
  export {
12
- // @alpha APIs
12
+ // @legacy APIs
13
13
  FluidDebugger
14
14
  } from "./index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/debugger",
3
- "version": "2.0.2",
3
+ "version": "2.1.0-276326",
4
4
  "description": "Fluid Debugger - a tool to play through history of a file",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -47,10 +47,10 @@
47
47
  "main": "lib/index.js",
48
48
  "types": "lib/public.d.ts",
49
49
  "dependencies": {
50
- "@fluidframework/core-utils": "~2.0.2",
51
- "@fluidframework/driver-definitions": "~2.0.2",
52
- "@fluidframework/driver-utils": "~2.0.2",
53
- "@fluidframework/replay-driver": "~2.0.2",
50
+ "@fluidframework/core-utils": "2.1.0-276326",
51
+ "@fluidframework/driver-definitions": "2.1.0-276326",
52
+ "@fluidframework/driver-utils": "2.1.0-276326",
53
+ "@fluidframework/replay-driver": "2.1.0-276326",
54
54
  "jsonschema": "^1.2.6"
55
55
  },
56
56
  "devDependencies": {
@@ -59,7 +59,7 @@
59
59
  "@fluid-tools/build-cli": "^0.39.0",
60
60
  "@fluidframework/build-common": "^2.0.3",
61
61
  "@fluidframework/build-tools": "^0.39.0",
62
- "@fluidframework/debugger-previous": "npm:@fluidframework/debugger@2.0.0-rc.4.0.0",
62
+ "@fluidframework/debugger-previous": "npm:@fluidframework/debugger@2.0.0-rc.5.0.0",
63
63
  "@fluidframework/eslint-config-fluid": "^5.3.0",
64
64
  "@microsoft/api-extractor": "^7.45.1",
65
65
  "@types/node": "^18.19.0",
@@ -82,11 +82,13 @@
82
82
  },
83
83
  "scripts": {
84
84
  "api": "fluid-build . --task api",
85
- "api-extractor:commonjs": "flub generate entrypoints --outFileAlpha legacy --outDir ./dist",
86
- "api-extractor:esnext": "flub generate entrypoints --outFileAlpha legacy --outDir ./lib --node10TypeCompat",
85
+ "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
86
+ "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
87
87
  "build": "fluid-build . --task build",
88
88
  "build:compile": "fluid-build . --task compile",
89
- "build:docs": "api-extractor run --local",
89
+ "build:docs": "concurrently \"npm:build:docs:*\"",
90
+ "build:docs:current": "api-extractor run --local",
91
+ "build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
90
92
  "build:esnext": "tsc --project ./tsconfig.json",
91
93
  "check:are-the-types-wrong": "attw --pack .",
92
94
  "check:biome": "biome check . --formatter-enabled=true",
@@ -98,7 +100,9 @@
98
100
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
99
101
  "check:format": "npm run check:biome",
100
102
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
101
- "ci:build:docs": "api-extractor run",
103
+ "ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
104
+ "ci:build:docs:current": "api-extractor run",
105
+ "ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
102
106
  "clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
103
107
  "eslint": "eslint --format stylish src",
104
108
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
@@ -108,7 +112,7 @@
108
112
  "lint": "fluid-build . --task lint",
109
113
  "lint:fix": "fluid-build . --task eslint:fix --task format",
110
114
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
111
- "typetests:gen": "flub generate typetests --dir . -v --publicFallback",
115
+ "typetests:gen": "flub generate typetests --dir . -v",
112
116
  "typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
113
117
  }
114
118
  }
@@ -16,6 +16,7 @@ import { DebugReplayController } from "./fluidDebuggerController.js";
16
16
  import { DebuggerUI } from "./fluidDebuggerUi.js";
17
17
 
18
18
  /**
19
+ * @legacy
19
20
  * @alpha
20
21
  */
21
22
  // eslint-disable-next-line @typescript-eslint/no-namespace
@@ -38,6 +39,7 @@ export namespace FluidDebugger {
38
39
  }
39
40
 
40
41
  /**
42
+ * @legacy
41
43
  * @alpha
42
44
  */
43
45
  export async function createFromServiceFactory(
@@ -1,25 +0,0 @@
1
- ## Alpha API Report File for "@fluidframework/debugger"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { Deferred } from '@fluidframework/core-utils/internal';
8
- import { IDocumentService } from '@fluidframework/driver-definitions/internal';
9
- import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
10
- import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
11
- import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
12
- import { ISnapshotTree } from '@fluidframework/driver-definitions/internal';
13
- import { IVersion } from '@fluidframework/driver-definitions/internal';
14
- import { ReadDocumentStorageServiceBase } from '@fluidframework/replay-driver/internal';
15
- import { ReplayController } from '@fluidframework/replay-driver/internal';
16
-
17
- // @alpha (undocumented)
18
- export namespace FluidDebugger {
19
- // (undocumented)
20
- export function createFromServiceFactory(documentServiceFactory: IDocumentServiceFactory): Promise<IDocumentServiceFactory>;
21
- }
22
-
23
- // (No @packageDocumentation comment for this package)
24
-
25
- ```