@fluid-experimental/sharejs-json1 2.0.0-dev.7.4.0.215930 → 2.0.0-dev.7.4.0.216897

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,13 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "../../../../../common/build/build-common/api-extractor-lint.json",
4
+ "messages": {
5
+ "extractorMessageReporting": {
6
+ // TODO: remove once base config has this enabled as an error
7
+ "ae-incompatible-release-tags": {
8
+ "logLevel": "error",
9
+ "addToApiReportFile": false
10
+ }
11
+ }
12
+ }
13
+ }
@@ -15,7 +15,7 @@ import { Path } from 'ot-json1';
15
15
  import { Serializable } from '@fluidframework/datastore-definitions';
16
16
  import { SharedOT } from '@fluid-experimental/ot';
17
17
 
18
- // @public (undocumented)
18
+ // @internal (undocumented)
19
19
  export class Json1Factory implements IChannelFactory {
20
20
  // (undocumented)
21
21
  static readonly Attributes: IChannelAttributes;
@@ -31,7 +31,7 @@ export class Json1Factory implements IChannelFactory {
31
31
  get type(): string;
32
32
  }
33
33
 
34
- // @public (undocumented)
34
+ // @internal (undocumented)
35
35
  export class SharedJson1 extends SharedOT<Doc, JSONOp> {
36
36
  constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes);
37
37
  // (undocumented)
package/dist/factory.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { IChannelAttributes, IFluidDataStoreRuntime, IChannelServices, IChannel, IChannelFactory } from "@fluidframework/datastore-definitions";
6
6
  /**
7
- * @public
7
+ * @internal
8
8
  */
9
9
  export declare class Json1Factory implements IChannelFactory {
10
10
  static Type: string;
package/dist/factory.js CHANGED
@@ -8,7 +8,7 @@ exports.Json1Factory = void 0;
8
8
  const packageVersion_1 = require("./packageVersion");
9
9
  const json1_1 = require("./json1");
10
10
  /**
11
- * @public
11
+ * @internal
12
12
  */
13
13
  class Json1Factory {
14
14
  get type() {
@@ -1 +1 @@
1
- {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AASH,qDAA8C;AAC9C,mCAAsC;AAEtC;;GAEG;AACH,MAAa,YAAY;IASxB,IAAW,IAAI;QACd,OAAO,YAAY,CAAC,IAAI,CAAC;IAC1B,CAAC;IACD,IAAW,UAAU;QACpB,OAAO,YAAY,CAAC,UAAU,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,IAAI,CAChB,OAA+B,EAC/B,EAAU,EACV,QAA0B,EAC1B,UAA8B;QAE9B,MAAM,QAAQ,GAAG,IAAI,mBAAW,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;QAC1D,MAAM,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC;IACjB,CAAC;IAEM,MAAM,CAAC,OAA+B,EAAE,EAAU;QACxD,MAAM,QAAQ,GAAG,IAAI,mBAAW,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QAC/D,QAAQ,CAAC,eAAe,EAAE,CAAC;QAC3B,OAAO,QAAQ,CAAC;IACjB,CAAC;;AAlCF,oCAmCC;AAlCc,iBAAI,GAAG,+CAA+C,CAAC;AAE9C,uBAAU,GAAuB;IACvD,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,2BAAU;CAC1B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n\tIChannel,\n\tIChannelFactory,\n} from \"@fluidframework/datastore-definitions\";\nimport { pkgVersion } from \"./packageVersion\";\nimport { SharedJson1 } from \"./json1\";\n\n/**\n * @public\n */\nexport class Json1Factory implements IChannelFactory {\n\tpublic static Type = \"https://graph.microsoft.com/types/sharedjson1\";\n\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: Json1Factory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\tpublic get type() {\n\t\treturn Json1Factory.Type;\n\t}\n\tpublic get attributes() {\n\t\treturn Json1Factory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t */\n\tpublic async load(\n\t\truntime: IFluidDataStoreRuntime,\n\t\tid: string,\n\t\tservices: IChannelServices,\n\t\tattributes: IChannelAttributes,\n\t): Promise<IChannel> {\n\t\tconst instance = new SharedJson1(id, runtime, attributes);\n\t\tawait instance.load(services);\n\t\treturn instance;\n\t}\n\n\tpublic create(runtime: IFluidDataStoreRuntime, id: string): IChannel {\n\t\tconst instance = new SharedJson1(id, runtime, this.attributes);\n\t\tinstance.initializeLocal();\n\t\treturn instance;\n\t}\n}\n"]}
1
+ {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AASH,qDAA8C;AAC9C,mCAAsC;AAEtC;;GAEG;AACH,MAAa,YAAY;IASxB,IAAW,IAAI;QACd,OAAO,YAAY,CAAC,IAAI,CAAC;IAC1B,CAAC;IACD,IAAW,UAAU;QACpB,OAAO,YAAY,CAAC,UAAU,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,IAAI,CAChB,OAA+B,EAC/B,EAAU,EACV,QAA0B,EAC1B,UAA8B;QAE9B,MAAM,QAAQ,GAAG,IAAI,mBAAW,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;QAC1D,MAAM,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC;IACjB,CAAC;IAEM,MAAM,CAAC,OAA+B,EAAE,EAAU;QACxD,MAAM,QAAQ,GAAG,IAAI,mBAAW,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QAC/D,QAAQ,CAAC,eAAe,EAAE,CAAC;QAC3B,OAAO,QAAQ,CAAC;IACjB,CAAC;;AAlCF,oCAmCC;AAlCc,iBAAI,GAAG,+CAA+C,CAAC;AAE9C,uBAAU,GAAuB;IACvD,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,2BAAU;CAC1B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n\tIChannel,\n\tIChannelFactory,\n} from \"@fluidframework/datastore-definitions\";\nimport { pkgVersion } from \"./packageVersion\";\nimport { SharedJson1 } from \"./json1\";\n\n/**\n * @internal\n */\nexport class Json1Factory implements IChannelFactory {\n\tpublic static Type = \"https://graph.microsoft.com/types/sharedjson1\";\n\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: Json1Factory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\tpublic get type() {\n\t\treturn Json1Factory.Type;\n\t}\n\tpublic get attributes() {\n\t\treturn Json1Factory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t */\n\tpublic async load(\n\t\truntime: IFluidDataStoreRuntime,\n\t\tid: string,\n\t\tservices: IChannelServices,\n\t\tattributes: IChannelAttributes,\n\t): Promise<IChannel> {\n\t\tconst instance = new SharedJson1(id, runtime, attributes);\n\t\tawait instance.load(services);\n\t\treturn instance;\n\t}\n\n\tpublic create(runtime: IFluidDataStoreRuntime, id: string): IChannel {\n\t\tconst instance = new SharedJson1(id, runtime, this.attributes);\n\t\tinstance.initializeLocal();\n\t\treturn instance;\n\t}\n}\n"]}
package/dist/json1.d.ts CHANGED
@@ -7,7 +7,7 @@ import { SharedOT } from "@fluid-experimental/ot";
7
7
  import { Doc, JSONOp, Path } from "ot-json1";
8
8
  import { Json1Factory } from "./factory";
9
9
  /**
10
- * @public
10
+ * @internal
11
11
  */
12
12
  export declare class SharedJson1 extends SharedOT<Doc, JSONOp> {
13
13
  static create(runtime: IFluidDataStoreRuntime, id?: string): SharedJson1;
package/dist/json1.js CHANGED
@@ -9,7 +9,7 @@ const ot_1 = require("@fluid-experimental/ot");
9
9
  const ot_json1_1 = require("ot-json1");
10
10
  const factory_1 = require("./factory");
11
11
  /**
12
- * @public
12
+ * @internal
13
13
  */
14
14
  class SharedJson1 extends ot_1.SharedOT {
15
15
  static create(runtime, id) {
package/dist/json1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"json1.js","sourceRoot":"","sources":["../src/json1.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAOH,+CAAkD;AAClD,uCASkB;AAClB,uCAAyC;AAEzC;;GAEG;AACH,MAAa,WAAY,SAAQ,aAAqB;IAC9C,MAAM,CAAC,MAAM,CAAC,OAA+B,EAAE,EAAW;QAChE,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,sBAAY,CAAC,IAAI,CAAgB,CAAC;IACpE,CAAC;IAEM,MAAM,CAAC,UAAU;QACvB,OAAO,IAAI,sBAAY,EAAE,CAAC;IAC3B,CAAC;IAED,YAAY,EAAU,EAAE,OAA+B,EAAE,UAA8B;QACtF,+DAA+D;QAC/D,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;IAEM,GAAG;QACT,OAAO,IAAI,CAAC,KAAK,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,EAAU;QACtB,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAES,SAAS,CAAC,KAAa,EAAE,SAAiB;QACnD,OAAO,eAAW,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAClE,CAAC;IAES,SAAS,CAAC,KAAU,EAAE,EAAU;QACzC,OAAO,eAAW,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE,CAAQ,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,IAAU,EAAE,KAAmB;QAC5C,IAAI,CAAC,KAAK,CAAC,IAAA,mBAAQ,EAAC,IAAI,EAAE,KAAY,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,IAAI,CAAC,IAAU,EAAE,EAAQ;QAC/B,IAAI,CAAC,KAAK,CAAC,IAAA,iBAAM,EAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC;IAEM,MAAM,CAAC,IAAU,EAAE,KAAe;QACxC,IAAI,CAAC,KAAK,CAAC,IAAA,mBAAQ,EAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IACnC,CAAC;IAEM,OAAO,CAAC,IAAU,EAAE,QAAsB,EAAE,QAAsB;QACxE,IAAI,CAAC,KAAK,CAAC,IAAA,oBAAS,EAAC,IAAI,EAAE,QAAe,EAAE,QAAe,CAAC,CAAC,CAAC;IAC/D,CAAC;CACD;AA7CD,kCA6CC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tSerializable,\n} from \"@fluidframework/datastore-definitions\";\nimport { SharedOT } from \"@fluid-experimental/ot\";\nimport {\n\tDoc,\n\ttype as Json1OTType,\n\tJSONOp,\n\treplaceOp,\n\tinsertOp,\n\tmoveOp,\n\tremoveOp,\n\tPath,\n} from \"ot-json1\";\nimport { Json1Factory } from \"./factory\";\n\n/**\n * @public\n */\nexport class SharedJson1 extends SharedOT<Doc, JSONOp> {\n\tpublic static create(runtime: IFluidDataStoreRuntime, id?: string): SharedJson1 {\n\t\treturn runtime.createChannel(id, Json1Factory.Type) as SharedJson1;\n\t}\n\n\tpublic static getFactory() {\n\t\treturn new Json1Factory();\n\t}\n\n\tconstructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes) {\n\t\t// RATIONALE: 'undefined' is not preserved by JSON.stringify().\n\t\tsuper(id, runtime, attributes, /* initialValue: */ null);\n\t}\n\n\tpublic get(): Doc {\n\t\treturn this.state;\n\t}\n\n\tpublic apply(op: JSONOp) {\n\t\tsuper.apply(op);\n\t}\n\n\tprotected transform(input: JSONOp, transform: JSONOp): JSONOp {\n\t\treturn Json1OTType.transformNoConflict(input, transform, \"left\");\n\t}\n\n\tprotected applyCore(state: Doc, op: JSONOp) {\n\t\treturn Json1OTType.apply(state, op) as Doc;\n\t}\n\n\tpublic insert(path: Path, value: Serializable) {\n\t\tthis.apply(insertOp(path, value as Doc));\n\t}\n\n\tpublic move(from: Path, to: Path) {\n\t\tthis.apply(moveOp(from, to));\n\t}\n\n\tpublic remove(path: Path, value?: boolean) {\n\t\tthis.apply(removeOp(path, value));\n\t}\n\n\tpublic replace(path: Path, oldValue: Serializable, newValue: Serializable) {\n\t\tthis.apply(replaceOp(path, oldValue as Doc, newValue as Doc));\n\t}\n}\n"]}
1
+ {"version":3,"file":"json1.js","sourceRoot":"","sources":["../src/json1.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAOH,+CAAkD;AAClD,uCASkB;AAClB,uCAAyC;AAEzC;;GAEG;AACH,MAAa,WAAY,SAAQ,aAAqB;IAC9C,MAAM,CAAC,MAAM,CAAC,OAA+B,EAAE,EAAW;QAChE,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,sBAAY,CAAC,IAAI,CAAgB,CAAC;IACpE,CAAC;IAEM,MAAM,CAAC,UAAU;QACvB,OAAO,IAAI,sBAAY,EAAE,CAAC;IAC3B,CAAC;IAED,YAAY,EAAU,EAAE,OAA+B,EAAE,UAA8B;QACtF,+DAA+D;QAC/D,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;IAEM,GAAG;QACT,OAAO,IAAI,CAAC,KAAK,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,EAAU;QACtB,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAES,SAAS,CAAC,KAAa,EAAE,SAAiB;QACnD,OAAO,eAAW,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAClE,CAAC;IAES,SAAS,CAAC,KAAU,EAAE,EAAU;QACzC,OAAO,eAAW,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE,CAAQ,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,IAAU,EAAE,KAAmB;QAC5C,IAAI,CAAC,KAAK,CAAC,IAAA,mBAAQ,EAAC,IAAI,EAAE,KAAY,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,IAAI,CAAC,IAAU,EAAE,EAAQ;QAC/B,IAAI,CAAC,KAAK,CAAC,IAAA,iBAAM,EAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC;IAEM,MAAM,CAAC,IAAU,EAAE,KAAe;QACxC,IAAI,CAAC,KAAK,CAAC,IAAA,mBAAQ,EAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IACnC,CAAC;IAEM,OAAO,CAAC,IAAU,EAAE,QAAsB,EAAE,QAAsB;QACxE,IAAI,CAAC,KAAK,CAAC,IAAA,oBAAS,EAAC,IAAI,EAAE,QAAe,EAAE,QAAe,CAAC,CAAC,CAAC;IAC/D,CAAC;CACD;AA7CD,kCA6CC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tSerializable,\n} from \"@fluidframework/datastore-definitions\";\nimport { SharedOT } from \"@fluid-experimental/ot\";\nimport {\n\tDoc,\n\ttype as Json1OTType,\n\tJSONOp,\n\treplaceOp,\n\tinsertOp,\n\tmoveOp,\n\tremoveOp,\n\tPath,\n} from \"ot-json1\";\nimport { Json1Factory } from \"./factory\";\n\n/**\n * @internal\n */\nexport class SharedJson1 extends SharedOT<Doc, JSONOp> {\n\tpublic static create(runtime: IFluidDataStoreRuntime, id?: string): SharedJson1 {\n\t\treturn runtime.createChannel(id, Json1Factory.Type) as SharedJson1;\n\t}\n\n\tpublic static getFactory() {\n\t\treturn new Json1Factory();\n\t}\n\n\tconstructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes) {\n\t\t// RATIONALE: 'undefined' is not preserved by JSON.stringify().\n\t\tsuper(id, runtime, attributes, /* initialValue: */ null);\n\t}\n\n\tpublic get(): Doc {\n\t\treturn this.state;\n\t}\n\n\tpublic apply(op: JSONOp) {\n\t\tsuper.apply(op);\n\t}\n\n\tprotected transform(input: JSONOp, transform: JSONOp): JSONOp {\n\t\treturn Json1OTType.transformNoConflict(input, transform, \"left\");\n\t}\n\n\tprotected applyCore(state: Doc, op: JSONOp) {\n\t\treturn Json1OTType.apply(state, op) as Doc;\n\t}\n\n\tpublic insert(path: Path, value: Serializable) {\n\t\tthis.apply(insertOp(path, value as Doc));\n\t}\n\n\tpublic move(from: Path, to: Path) {\n\t\tthis.apply(moveOp(from, to));\n\t}\n\n\tpublic remove(path: Path, value?: boolean) {\n\t\tthis.apply(removeOp(path, value));\n\t}\n\n\tpublic replace(path: Path, oldValue: Serializable, newValue: Serializable) {\n\t\tthis.apply(replaceOp(path, oldValue as Doc, newValue as Doc));\n\t}\n}\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluid-experimental/sharejs-json1";
8
- export declare const pkgVersion = "2.0.0-dev.7.4.0.215930";
8
+ export declare const pkgVersion = "2.0.0-dev.7.4.0.216897";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluid-experimental/sharejs-json1";
11
- exports.pkgVersion = "2.0.0-dev.7.4.0.215930";
11
+ exports.pkgVersion = "2.0.0-dev.7.4.0.216897";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,mCAAmC,CAAC;AAC9C,QAAA,UAAU,GAAG,wBAAwB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluid-experimental/sharejs-json1\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.215930\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,mCAAmC,CAAC;AAC9C,QAAA,UAAU,GAAG,wBAAwB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluid-experimental/sharejs-json1\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.216897\";\n"]}
package/lib/factory.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { IChannelAttributes, IFluidDataStoreRuntime, IChannelServices, IChannel, IChannelFactory } from "@fluidframework/datastore-definitions";
6
6
  /**
7
- * @public
7
+ * @internal
8
8
  */
9
9
  export declare class Json1Factory implements IChannelFactory {
10
10
  static Type: string;
package/lib/factory.js CHANGED
@@ -5,7 +5,7 @@
5
5
  import { pkgVersion } from "./packageVersion";
6
6
  import { SharedJson1 } from "./json1";
7
7
  /**
8
- * @public
8
+ * @internal
9
9
  */
10
10
  export class Json1Factory {
11
11
  get type() {
@@ -1 +1 @@
1
- {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;GAEG;AACH,MAAM,OAAO,YAAY;IASxB,IAAW,IAAI;QACd,OAAO,YAAY,CAAC,IAAI,CAAC;IAC1B,CAAC;IACD,IAAW,UAAU;QACpB,OAAO,YAAY,CAAC,UAAU,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,IAAI,CAChB,OAA+B,EAC/B,EAAU,EACV,QAA0B,EAC1B,UAA8B;QAE9B,MAAM,QAAQ,GAAG,IAAI,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;QAC1D,MAAM,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC;IACjB,CAAC;IAEM,MAAM,CAAC,OAA+B,EAAE,EAAU;QACxD,MAAM,QAAQ,GAAG,IAAI,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QAC/D,QAAQ,CAAC,eAAe,EAAE,CAAC;QAC3B,OAAO,QAAQ,CAAC;IACjB,CAAC;;AAjCa,iBAAI,GAAG,+CAA+C,CAAC;AAE9C,uBAAU,GAAuB;IACvD,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,UAAU;CAC1B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n\tIChannel,\n\tIChannelFactory,\n} from \"@fluidframework/datastore-definitions\";\nimport { pkgVersion } from \"./packageVersion\";\nimport { SharedJson1 } from \"./json1\";\n\n/**\n * @public\n */\nexport class Json1Factory implements IChannelFactory {\n\tpublic static Type = \"https://graph.microsoft.com/types/sharedjson1\";\n\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: Json1Factory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\tpublic get type() {\n\t\treturn Json1Factory.Type;\n\t}\n\tpublic get attributes() {\n\t\treturn Json1Factory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t */\n\tpublic async load(\n\t\truntime: IFluidDataStoreRuntime,\n\t\tid: string,\n\t\tservices: IChannelServices,\n\t\tattributes: IChannelAttributes,\n\t): Promise<IChannel> {\n\t\tconst instance = new SharedJson1(id, runtime, attributes);\n\t\tawait instance.load(services);\n\t\treturn instance;\n\t}\n\n\tpublic create(runtime: IFluidDataStoreRuntime, id: string): IChannel {\n\t\tconst instance = new SharedJson1(id, runtime, this.attributes);\n\t\tinstance.initializeLocal();\n\t\treturn instance;\n\t}\n}\n"]}
1
+ {"version":3,"file":"factory.js","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC;;GAEG;AACH,MAAM,OAAO,YAAY;IASxB,IAAW,IAAI;QACd,OAAO,YAAY,CAAC,IAAI,CAAC;IAC1B,CAAC;IACD,IAAW,UAAU;QACpB,OAAO,YAAY,CAAC,UAAU,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,IAAI,CAChB,OAA+B,EAC/B,EAAU,EACV,QAA0B,EAC1B,UAA8B;QAE9B,MAAM,QAAQ,GAAG,IAAI,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;QAC1D,MAAM,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC;IACjB,CAAC;IAEM,MAAM,CAAC,OAA+B,EAAE,EAAU;QACxD,MAAM,QAAQ,GAAG,IAAI,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QAC/D,QAAQ,CAAC,eAAe,EAAE,CAAC;QAC3B,OAAO,QAAQ,CAAC;IACjB,CAAC;;AAjCa,iBAAI,GAAG,+CAA+C,CAAC;AAE9C,uBAAU,GAAuB;IACvD,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,UAAU;CAC1B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n\tIChannel,\n\tIChannelFactory,\n} from \"@fluidframework/datastore-definitions\";\nimport { pkgVersion } from \"./packageVersion\";\nimport { SharedJson1 } from \"./json1\";\n\n/**\n * @internal\n */\nexport class Json1Factory implements IChannelFactory {\n\tpublic static Type = \"https://graph.microsoft.com/types/sharedjson1\";\n\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: Json1Factory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\tpublic get type() {\n\t\treturn Json1Factory.Type;\n\t}\n\tpublic get attributes() {\n\t\treturn Json1Factory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t */\n\tpublic async load(\n\t\truntime: IFluidDataStoreRuntime,\n\t\tid: string,\n\t\tservices: IChannelServices,\n\t\tattributes: IChannelAttributes,\n\t): Promise<IChannel> {\n\t\tconst instance = new SharedJson1(id, runtime, attributes);\n\t\tawait instance.load(services);\n\t\treturn instance;\n\t}\n\n\tpublic create(runtime: IFluidDataStoreRuntime, id: string): IChannel {\n\t\tconst instance = new SharedJson1(id, runtime, this.attributes);\n\t\tinstance.initializeLocal();\n\t\treturn instance;\n\t}\n}\n"]}
package/lib/json1.d.ts CHANGED
@@ -7,7 +7,7 @@ import { SharedOT } from "@fluid-experimental/ot";
7
7
  import { Doc, JSONOp, Path } from "ot-json1";
8
8
  import { Json1Factory } from "./factory";
9
9
  /**
10
- * @public
10
+ * @internal
11
11
  */
12
12
  export declare class SharedJson1 extends SharedOT<Doc, JSONOp> {
13
13
  static create(runtime: IFluidDataStoreRuntime, id?: string): SharedJson1;
package/lib/json1.js CHANGED
@@ -6,7 +6,7 @@ import { SharedOT } from "@fluid-experimental/ot";
6
6
  import { type as Json1OTType, replaceOp, insertOp, moveOp, removeOp, } from "ot-json1";
7
7
  import { Json1Factory } from "./factory";
8
8
  /**
9
- * @public
9
+ * @internal
10
10
  */
11
11
  export class SharedJson1 extends SharedOT {
12
12
  static create(runtime, id) {
package/lib/json1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"json1.js","sourceRoot":"","sources":["../src/json1.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAEN,IAAI,IAAI,WAAW,EAEnB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,GAER,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,QAAqB;IAC9C,MAAM,CAAC,MAAM,CAAC,OAA+B,EAAE,EAAW;QAChE,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,YAAY,CAAC,IAAI,CAAgB,CAAC;IACpE,CAAC;IAEM,MAAM,CAAC,UAAU;QACvB,OAAO,IAAI,YAAY,EAAE,CAAC;IAC3B,CAAC;IAED,YAAY,EAAU,EAAE,OAA+B,EAAE,UAA8B;QACtF,+DAA+D;QAC/D,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;IAEM,GAAG;QACT,OAAO,IAAI,CAAC,KAAK,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,EAAU;QACtB,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAES,SAAS,CAAC,KAAa,EAAE,SAAiB;QACnD,OAAO,WAAW,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAClE,CAAC;IAES,SAAS,CAAC,KAAU,EAAE,EAAU;QACzC,OAAO,WAAW,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE,CAAQ,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,IAAU,EAAE,KAAmB;QAC5C,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAY,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,IAAI,CAAC,IAAU,EAAE,EAAQ;QAC/B,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC;IAEM,MAAM,CAAC,IAAU,EAAE,KAAe;QACxC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IACnC,CAAC;IAEM,OAAO,CAAC,IAAU,EAAE,QAAsB,EAAE,QAAsB;QACxE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,QAAe,EAAE,QAAe,CAAC,CAAC,CAAC;IAC/D,CAAC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tSerializable,\n} from \"@fluidframework/datastore-definitions\";\nimport { SharedOT } from \"@fluid-experimental/ot\";\nimport {\n\tDoc,\n\ttype as Json1OTType,\n\tJSONOp,\n\treplaceOp,\n\tinsertOp,\n\tmoveOp,\n\tremoveOp,\n\tPath,\n} from \"ot-json1\";\nimport { Json1Factory } from \"./factory\";\n\n/**\n * @public\n */\nexport class SharedJson1 extends SharedOT<Doc, JSONOp> {\n\tpublic static create(runtime: IFluidDataStoreRuntime, id?: string): SharedJson1 {\n\t\treturn runtime.createChannel(id, Json1Factory.Type) as SharedJson1;\n\t}\n\n\tpublic static getFactory() {\n\t\treturn new Json1Factory();\n\t}\n\n\tconstructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes) {\n\t\t// RATIONALE: 'undefined' is not preserved by JSON.stringify().\n\t\tsuper(id, runtime, attributes, /* initialValue: */ null);\n\t}\n\n\tpublic get(): Doc {\n\t\treturn this.state;\n\t}\n\n\tpublic apply(op: JSONOp) {\n\t\tsuper.apply(op);\n\t}\n\n\tprotected transform(input: JSONOp, transform: JSONOp): JSONOp {\n\t\treturn Json1OTType.transformNoConflict(input, transform, \"left\");\n\t}\n\n\tprotected applyCore(state: Doc, op: JSONOp) {\n\t\treturn Json1OTType.apply(state, op) as Doc;\n\t}\n\n\tpublic insert(path: Path, value: Serializable) {\n\t\tthis.apply(insertOp(path, value as Doc));\n\t}\n\n\tpublic move(from: Path, to: Path) {\n\t\tthis.apply(moveOp(from, to));\n\t}\n\n\tpublic remove(path: Path, value?: boolean) {\n\t\tthis.apply(removeOp(path, value));\n\t}\n\n\tpublic replace(path: Path, oldValue: Serializable, newValue: Serializable) {\n\t\tthis.apply(replaceOp(path, oldValue as Doc, newValue as Doc));\n\t}\n}\n"]}
1
+ {"version":3,"file":"json1.js","sourceRoot":"","sources":["../src/json1.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAEN,IAAI,IAAI,WAAW,EAEnB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,GAER,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,QAAqB;IAC9C,MAAM,CAAC,MAAM,CAAC,OAA+B,EAAE,EAAW;QAChE,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,YAAY,CAAC,IAAI,CAAgB,CAAC;IACpE,CAAC;IAEM,MAAM,CAAC,UAAU;QACvB,OAAO,IAAI,YAAY,EAAE,CAAC;IAC3B,CAAC;IAED,YAAY,EAAU,EAAE,OAA+B,EAAE,UAA8B;QACtF,+DAA+D;QAC/D,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;IAEM,GAAG;QACT,OAAO,IAAI,CAAC,KAAK,CAAC;IACnB,CAAC;IAEM,KAAK,CAAC,EAAU;QACtB,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAES,SAAS,CAAC,KAAa,EAAE,SAAiB;QACnD,OAAO,WAAW,CAAC,mBAAmB,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAClE,CAAC;IAES,SAAS,CAAC,KAAU,EAAE,EAAU;QACzC,OAAO,WAAW,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE,CAAQ,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,IAAU,EAAE,KAAmB;QAC5C,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAY,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,IAAI,CAAC,IAAU,EAAE,EAAQ;QAC/B,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC;IAEM,MAAM,CAAC,IAAU,EAAE,KAAe;QACxC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;IACnC,CAAC;IAEM,OAAO,CAAC,IAAU,EAAE,QAAsB,EAAE,QAAsB;QACxE,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,EAAE,QAAe,EAAE,QAAe,CAAC,CAAC,CAAC;IAC/D,CAAC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tSerializable,\n} from \"@fluidframework/datastore-definitions\";\nimport { SharedOT } from \"@fluid-experimental/ot\";\nimport {\n\tDoc,\n\ttype as Json1OTType,\n\tJSONOp,\n\treplaceOp,\n\tinsertOp,\n\tmoveOp,\n\tremoveOp,\n\tPath,\n} from \"ot-json1\";\nimport { Json1Factory } from \"./factory\";\n\n/**\n * @internal\n */\nexport class SharedJson1 extends SharedOT<Doc, JSONOp> {\n\tpublic static create(runtime: IFluidDataStoreRuntime, id?: string): SharedJson1 {\n\t\treturn runtime.createChannel(id, Json1Factory.Type) as SharedJson1;\n\t}\n\n\tpublic static getFactory() {\n\t\treturn new Json1Factory();\n\t}\n\n\tconstructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes) {\n\t\t// RATIONALE: 'undefined' is not preserved by JSON.stringify().\n\t\tsuper(id, runtime, attributes, /* initialValue: */ null);\n\t}\n\n\tpublic get(): Doc {\n\t\treturn this.state;\n\t}\n\n\tpublic apply(op: JSONOp) {\n\t\tsuper.apply(op);\n\t}\n\n\tprotected transform(input: JSONOp, transform: JSONOp): JSONOp {\n\t\treturn Json1OTType.transformNoConflict(input, transform, \"left\");\n\t}\n\n\tprotected applyCore(state: Doc, op: JSONOp) {\n\t\treturn Json1OTType.apply(state, op) as Doc;\n\t}\n\n\tpublic insert(path: Path, value: Serializable) {\n\t\tthis.apply(insertOp(path, value as Doc));\n\t}\n\n\tpublic move(from: Path, to: Path) {\n\t\tthis.apply(moveOp(from, to));\n\t}\n\n\tpublic remove(path: Path, value?: boolean) {\n\t\tthis.apply(removeOp(path, value));\n\t}\n\n\tpublic replace(path: Path, oldValue: Serializable, newValue: Serializable) {\n\t\tthis.apply(replaceOp(path, oldValue as Doc, newValue as Doc));\n\t}\n}\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluid-experimental/sharejs-json1";
8
- export declare const pkgVersion = "2.0.0-dev.7.4.0.215930";
8
+ export declare const pkgVersion = "2.0.0-dev.7.4.0.216897";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluid-experimental/sharejs-json1";
8
- export const pkgVersion = "2.0.0-dev.7.4.0.215930";
8
+ export const pkgVersion = "2.0.0-dev.7.4.0.216897";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluid-experimental/sharejs-json1\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.215930\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluid-experimental/sharejs-json1\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.216897\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/sharejs-json1",
3
- "version": "2.0.0-dev.7.4.0.215930",
3
+ "version": "2.0.0-dev.7.4.0.216897",
4
4
  "description": "Distributed data structure for hosting ottypes",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,20 +35,20 @@
35
35
  "temp-directory": "nyc/.nyc_output"
36
36
  },
37
37
  "dependencies": {
38
- "@fluid-experimental/ot": "2.0.0-dev.7.4.0.215930",
39
- "@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.215930",
40
- "@fluidframework/datastore-definitions": "2.0.0-dev.7.4.0.215930",
38
+ "@fluid-experimental/ot": "2.0.0-dev.7.4.0.216897",
39
+ "@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.216897",
40
+ "@fluidframework/datastore-definitions": "2.0.0-dev.7.4.0.216897",
41
41
  "@fluidframework/protocol-definitions": "^3.0.0",
42
- "@fluidframework/shared-object-base": "2.0.0-dev.7.4.0.215930",
42
+ "@fluidframework/shared-object-base": "2.0.0-dev.7.4.0.216897",
43
43
  "ot-json1": "^1.0.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@fluid-private/test-dds-utils": "2.0.0-dev.7.4.0.215930",
46
+ "@fluid-private/test-dds-utils": "2.0.0-dev.7.4.0.216897",
47
47
  "@fluidframework/build-common": "^2.0.3",
48
48
  "@fluidframework/build-tools": "^0.28.0",
49
49
  "@fluidframework/eslint-config-fluid": "^3.1.0",
50
- "@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.215930",
51
- "@fluidframework/test-runtime-utils": "2.0.0-dev.7.4.0.215930",
50
+ "@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.216897",
51
+ "@fluidframework/test-runtime-utils": "2.0.0-dev.7.4.0.216897",
52
52
  "@microsoft/api-extractor": "^7.38.3",
53
53
  "@types/mocha": "^9.1.1",
54
54
  "@types/node": "^16.18.38",
@@ -77,13 +77,14 @@
77
77
  "build:esnext": "tsc --project ./tsconfig.esnext.json",
78
78
  "build:genver": "gen-version",
79
79
  "build:test": "tsc --project ./src/test/tsconfig.json",
80
+ "check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
80
81
  "ci:build:docs": "api-extractor run",
81
82
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
82
83
  "dev": "npm run tsc && concurrently \"npm run tsc -- --watch\" \"npm run build:test -- --watch\"",
83
84
  "eslint": "eslint --format stylish src",
84
85
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
85
86
  "format": "npm run prettier:fix",
86
- "lint": "npm run prettier && npm run eslint",
87
+ "lint": "npm run prettier && npm run check:release-tags && npm run eslint",
87
88
  "lint:fix": "npm run prettier:fix && npm run eslint:fix",
88
89
  "prettier": "prettier --check . --cache --ignore-path ../../../../../.prettierignore",
89
90
  "prettier:fix": "prettier --write . --cache --ignore-path ../../../../../.prettierignore",
package/src/factory.ts CHANGED
@@ -14,7 +14,7 @@ import { pkgVersion } from "./packageVersion";
14
14
  import { SharedJson1 } from "./json1";
15
15
 
16
16
  /**
17
- * @public
17
+ * @internal
18
18
  */
19
19
  export class Json1Factory implements IChannelFactory {
20
20
  public static Type = "https://graph.microsoft.com/types/sharedjson1";
package/src/json1.ts CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  import { Json1Factory } from "./factory";
23
23
 
24
24
  /**
25
- * @public
25
+ * @internal
26
26
  */
27
27
  export class SharedJson1 extends SharedOT<Doc, JSONOp> {
28
28
  public static create(runtime: IFluidDataStoreRuntime, id?: string): SharedJson1 {
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluid-experimental/sharejs-json1";
9
- export const pkgVersion = "2.0.0-dev.7.4.0.215930";
9
+ export const pkgVersion = "2.0.0-dev.7.4.0.216897";