@fluid-experimental/sequence-deprecated 2.70.0-360753 → 2.70.0-361248
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.
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/sequenceFactory.d.ts +16 -16
- package/dist/sequenceFactory.js +16 -16
- package/dist/sequenceFactory.js.map +1 -1
- package/dist/sharedSequence.d.ts +1 -1
- package/dist/sharedSequence.js +1 -1
- package/dist/sharedSequence.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/sequenceFactory.d.ts +16 -16
- package/lib/sequenceFactory.js +16 -16
- package/lib/sequenceFactory.js.map +1 -1
- package/lib/sharedSequence.d.ts +1 -1
- package/lib/sharedSequence.js +1 -1
- package/lib/sharedSequence.js.map +1 -1
- package/package.json +12 -12
- package/src/packageVersion.ts +1 -1
- package/src/sequenceFactory.ts +16 -16
- package/src/sharedSequence.ts +1 -1
package/dist/packageVersion.d.ts
CHANGED
|
@@ -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/sequence-deprecated";
|
|
8
|
-
export declare const pkgVersion = "2.70.0-
|
|
8
|
+
export declare const pkgVersion = "2.70.0-361248";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -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/sequence-deprecated";
|
|
11
|
-
exports.pkgVersion = "2.70.0-
|
|
11
|
+
exports.pkgVersion = "2.70.0-361248";
|
|
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,yCAAyC,CAAC;AACpD,QAAA,UAAU,GAAG,eAAe,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/sequence-deprecated\";\nexport const pkgVersion = \"2.70.0-
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,yCAAyC,CAAC;AACpD,QAAA,UAAU,GAAG,eAAe,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/sequence-deprecated\";\nexport const pkgVersion = \"2.70.0-361248\";\n"]}
|
|
@@ -10,89 +10,89 @@ import { SharedNumberSequenceClass } from "./sharedNumberSequence.js";
|
|
|
10
10
|
import { SharedObjectSequenceClass } from "./sharedObjectSequence.js";
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
13
|
-
* For more info, please see
|
|
13
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
16
|
export declare class SharedObjectSequenceFactory implements IChannelFactory {
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
19
|
-
* For more info, please see
|
|
19
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
20
20
|
*/
|
|
21
21
|
static Type: string;
|
|
22
22
|
/**
|
|
23
23
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
24
|
-
* For more info, please see
|
|
24
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
25
25
|
*/
|
|
26
26
|
static readonly Attributes: IChannelAttributes;
|
|
27
27
|
/**
|
|
28
28
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
29
|
-
* For more info, please see
|
|
29
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
30
30
|
*/
|
|
31
31
|
static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object>;
|
|
32
32
|
/**
|
|
33
33
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
34
|
-
* For more info, please see
|
|
34
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
35
35
|
*/
|
|
36
36
|
get type(): string;
|
|
37
37
|
/**
|
|
38
38
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
39
|
-
* For more info, please see
|
|
39
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
40
40
|
*/
|
|
41
41
|
get attributes(): IChannelAttributes;
|
|
42
42
|
/**
|
|
43
43
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
44
44
|
*
|
|
45
45
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
46
|
-
* For more info, please see
|
|
46
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
47
47
|
*/
|
|
48
48
|
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
|
|
49
49
|
/**
|
|
50
50
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
51
|
-
* For more info, please see
|
|
51
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
52
52
|
*/
|
|
53
53
|
create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
57
|
-
* For more info, please see
|
|
57
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
58
58
|
* @internal
|
|
59
59
|
*/
|
|
60
60
|
export declare class SharedNumberSequenceFactory implements IChannelFactory {
|
|
61
61
|
/**
|
|
62
62
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
63
|
-
* For more info, please see
|
|
63
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
64
64
|
*/
|
|
65
65
|
static Type: string;
|
|
66
66
|
/**
|
|
67
67
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
68
|
-
* For more info, please see
|
|
68
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
69
69
|
*/
|
|
70
70
|
static readonly Attributes: IChannelAttributes;
|
|
71
71
|
/**
|
|
72
72
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
73
|
-
* For more info, please see
|
|
73
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
74
74
|
*/
|
|
75
75
|
static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number>;
|
|
76
76
|
/**
|
|
77
77
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
78
|
-
* For more info, please see
|
|
78
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
79
79
|
*/
|
|
80
80
|
get type(): string;
|
|
81
81
|
/**
|
|
82
82
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
83
|
-
* For more info, please see
|
|
83
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
84
84
|
*/
|
|
85
85
|
get attributes(): IChannelAttributes;
|
|
86
86
|
/**
|
|
87
87
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
88
88
|
*
|
|
89
89
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
90
|
-
* For more info, please see
|
|
90
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
91
91
|
*/
|
|
92
92
|
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
|
|
93
93
|
/**
|
|
94
94
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
95
|
-
* For more info, please see
|
|
95
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
96
96
|
*/
|
|
97
97
|
create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
|
|
98
98
|
}
|
package/dist/sequenceFactory.js
CHANGED
|
@@ -12,13 +12,13 @@ const sharedNumberSequence_js_1 = require("./sharedNumberSequence.js");
|
|
|
12
12
|
const sharedObjectSequence_js_1 = require("./sharedObjectSequence.js");
|
|
13
13
|
/**
|
|
14
14
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
15
|
-
* For more info, please see
|
|
15
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
16
16
|
* @internal
|
|
17
17
|
*/
|
|
18
18
|
class SharedObjectSequenceFactory {
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
21
|
-
* For more info, please see
|
|
21
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
22
22
|
*/
|
|
23
23
|
static segmentFromSpec(segSpec) {
|
|
24
24
|
const runSegment = segSpec;
|
|
@@ -29,14 +29,14 @@ class SharedObjectSequenceFactory {
|
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
32
|
-
* For more info, please see
|
|
32
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
33
33
|
*/
|
|
34
34
|
get type() {
|
|
35
35
|
return SharedObjectSequenceFactory.Type;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
39
|
-
* For more info, please see
|
|
39
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
40
40
|
*/
|
|
41
41
|
get attributes() {
|
|
42
42
|
return SharedObjectSequenceFactory.Attributes;
|
|
@@ -45,7 +45,7 @@ class SharedObjectSequenceFactory {
|
|
|
45
45
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
46
46
|
*
|
|
47
47
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
48
|
-
* For more info, please see
|
|
48
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
49
49
|
*/
|
|
50
50
|
async load(runtime, id, services, attributes) {
|
|
51
51
|
const sharedSeq = new sharedObjectSequence_js_1.SharedObjectSequenceClass(runtime, id, attributes);
|
|
@@ -54,7 +54,7 @@ class SharedObjectSequenceFactory {
|
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
57
|
-
* For more info, please see
|
|
57
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
58
58
|
*/
|
|
59
59
|
create(document, id) {
|
|
60
60
|
const sharedString = new sharedObjectSequence_js_1.SharedObjectSequenceClass(document, id, this.attributes);
|
|
@@ -65,12 +65,12 @@ class SharedObjectSequenceFactory {
|
|
|
65
65
|
exports.SharedObjectSequenceFactory = SharedObjectSequenceFactory;
|
|
66
66
|
/**
|
|
67
67
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
68
|
-
* For more info, please see
|
|
68
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
69
69
|
*/
|
|
70
70
|
SharedObjectSequenceFactory.Type = "https://graph.microsoft.com/types/mergeTree/object-sequence";
|
|
71
71
|
/**
|
|
72
72
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
73
|
-
* For more info, please see
|
|
73
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
74
74
|
*/
|
|
75
75
|
SharedObjectSequenceFactory.Attributes = {
|
|
76
76
|
type: SharedObjectSequenceFactory.Type,
|
|
@@ -79,13 +79,13 @@ SharedObjectSequenceFactory.Attributes = {
|
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
81
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
82
|
-
* For more info, please see
|
|
82
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
83
83
|
* @internal
|
|
84
84
|
*/
|
|
85
85
|
class SharedNumberSequenceFactory {
|
|
86
86
|
/**
|
|
87
87
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
88
|
-
* For more info, please see
|
|
88
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
89
89
|
*/
|
|
90
90
|
static segmentFromSpec(segSpec) {
|
|
91
91
|
const runSegment = segSpec;
|
|
@@ -96,14 +96,14 @@ class SharedNumberSequenceFactory {
|
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
99
|
-
* For more info, please see
|
|
99
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
100
100
|
*/
|
|
101
101
|
get type() {
|
|
102
102
|
return SharedNumberSequenceFactory.Type;
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
106
|
-
* For more info, please see
|
|
106
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
107
107
|
*/
|
|
108
108
|
get attributes() {
|
|
109
109
|
return SharedNumberSequenceFactory.Attributes;
|
|
@@ -112,7 +112,7 @@ class SharedNumberSequenceFactory {
|
|
|
112
112
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
113
113
|
*
|
|
114
114
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
115
|
-
* For more info, please see
|
|
115
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
116
116
|
*/
|
|
117
117
|
async load(runtime, id, services, attributes) {
|
|
118
118
|
const sharedSeq = new sharedNumberSequence_js_1.SharedNumberSequenceClass(runtime, id, attributes);
|
|
@@ -121,7 +121,7 @@ class SharedNumberSequenceFactory {
|
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
124
|
-
* For more info, please see
|
|
124
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
125
125
|
*/
|
|
126
126
|
create(document, id) {
|
|
127
127
|
const sharedString = new sharedNumberSequence_js_1.SharedNumberSequenceClass(document, id, this.attributes);
|
|
@@ -132,12 +132,12 @@ class SharedNumberSequenceFactory {
|
|
|
132
132
|
exports.SharedNumberSequenceFactory = SharedNumberSequenceFactory;
|
|
133
133
|
/**
|
|
134
134
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
135
|
-
* For more info, please see
|
|
135
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
136
136
|
*/
|
|
137
137
|
SharedNumberSequenceFactory.Type = "https://graph.microsoft.com/types/mergeTree/number-sequence";
|
|
138
138
|
/**
|
|
139
139
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
140
|
-
* For more info, please see
|
|
140
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
141
141
|
*/
|
|
142
142
|
SharedNumberSequenceFactory.Attributes = {
|
|
143
143
|
type: SharedNumberSequenceFactory.Type,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sequenceFactory.js","sourceRoot":"","sources":["../src/sequenceFactory.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIChannelFactory,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n} from \"@fluidframework/datastore-definitions/internal\";\nimport { IJSONSegment } from \"@fluidframework/merge-tree/internal\";\nimport { IJSONRunSegment, SubSequence } from \"@fluidframework/sequence/internal\";\nimport {\n\tISharedObject,\n\tcreateSharedObjectKind,\n} from \"@fluidframework/shared-object-base/internal\";\n\nimport { pkgVersion } from \"./packageVersion.js\";\nimport { SharedNumberSequenceClass } from \"./sharedNumberSequence.js\";\nimport { SharedObjectSequenceClass } from \"./sharedObjectSequence.js\";\n\n/**\n * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n * @internal\n */\nexport class SharedObjectSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/object-sequence\";\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedObjectSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<object>;\n\t\tif (runSegment.items) {\n\t\t\treturn new SubSequence<object>(runSegment.items, runSegment.props);\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get type() {\n\t\treturn SharedObjectSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get attributes() {\n\t\treturn SharedObjectSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\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<ISharedObject> {\n\t\tconst sharedSeq = new SharedObjectSequenceClass<object>(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedObjectSequenceClass(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n * @internal\n */\nexport class SharedNumberSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/number-sequence\";\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedNumberSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<number>;\n\t\tif (runSegment.items) {\n\t\t\treturn new SubSequence<number>(runSegment.items, runSegment.props);\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get type() {\n\t\treturn SharedNumberSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get attributes() {\n\t\treturn SharedNumberSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\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<ISharedObject> {\n\t\tconst sharedSeq = new SharedNumberSequenceClass(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedNumberSequenceClass(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * {@inheritDoc SharedNumberSequenceClass}\n * @internal\n */\nexport const SharedNumberSequence = createSharedObjectKind(SharedNumberSequenceFactory);\n/**\n * {@inheritDoc SharedNumberSequenceClass}\n * @internal\n */\nexport type SharedNumberSequence = SharedNumberSequenceClass;\n\n/**\n * {@inheritDoc SharedObjectSequenceClass}\n * @internal\n */\nexport const SharedObjectSequence = createSharedObjectKind(SharedObjectSequenceFactory);\n/**\n * {@inheritDoc SharedObjectSequenceClass}\n * @internal\n */\nexport type SharedObjectSequence<T> = SharedObjectSequenceClass<T>;\n"]}
|
|
1
|
+
{"version":3,"file":"sequenceFactory.js","sourceRoot":"","sources":["../src/sequenceFactory.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIChannelFactory,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n} from \"@fluidframework/datastore-definitions/internal\";\nimport { IJSONSegment } from \"@fluidframework/merge-tree/internal\";\nimport { IJSONRunSegment, SubSequence } from \"@fluidframework/sequence/internal\";\nimport {\n\tISharedObject,\n\tcreateSharedObjectKind,\n} from \"@fluidframework/shared-object-base/internal\";\n\nimport { pkgVersion } from \"./packageVersion.js\";\nimport { SharedNumberSequenceClass } from \"./sharedNumberSequence.js\";\nimport { SharedObjectSequenceClass } from \"./sharedObjectSequence.js\";\n\n/**\n * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n * @internal\n */\nexport class SharedObjectSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/object-sequence\";\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedObjectSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<object>;\n\t\tif (runSegment.items) {\n\t\t\treturn new SubSequence<object>(runSegment.items, runSegment.props);\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic get type() {\n\t\treturn SharedObjectSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic get attributes() {\n\t\treturn SharedObjectSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\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<ISharedObject> {\n\t\tconst sharedSeq = new SharedObjectSequenceClass<object>(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedObjectSequenceClass(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n * @internal\n */\nexport class SharedNumberSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/number-sequence\";\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedNumberSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<number>;\n\t\tif (runSegment.items) {\n\t\t\treturn new SubSequence<number>(runSegment.items, runSegment.props);\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic get type() {\n\t\treturn SharedNumberSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic get attributes() {\n\t\treturn SharedNumberSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\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<ISharedObject> {\n\t\tconst sharedSeq = new SharedNumberSequenceClass(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedNumberSequenceClass(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * {@inheritDoc SharedNumberSequenceClass}\n * @internal\n */\nexport const SharedNumberSequence = createSharedObjectKind(SharedNumberSequenceFactory);\n/**\n * {@inheritDoc SharedNumberSequenceClass}\n * @internal\n */\nexport type SharedNumberSequence = SharedNumberSequenceClass;\n\n/**\n * {@inheritDoc SharedObjectSequenceClass}\n * @internal\n */\nexport const SharedObjectSequence = createSharedObjectKind(SharedObjectSequenceFactory);\n/**\n * {@inheritDoc SharedObjectSequenceClass}\n * @internal\n */\nexport type SharedObjectSequence<T> = SharedObjectSequenceClass<T>;\n"]}
|
package/dist/sharedSequence.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* In a future release we will move these types here and export them directly with:
|
|
7
7
|
*
|
|
8
8
|
* @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.
|
|
9
|
-
* For more info, please see
|
|
9
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
10
10
|
*/
|
|
11
11
|
export { SubSequence, SharedSequence, IJSONRunSegment, } from "@fluidframework/sequence/internal";
|
|
12
12
|
//# sourceMappingURL=sharedSequence.d.ts.map
|
package/dist/sharedSequence.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.SharedSequence = exports.SubSequence = void 0;
|
|
|
9
9
|
* In a future release we will move these types here and export them directly with:
|
|
10
10
|
*
|
|
11
11
|
* @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.
|
|
12
|
-
* For more info, please see
|
|
12
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
13
13
|
*/
|
|
14
14
|
var internal_1 = require("@fluidframework/sequence/internal");
|
|
15
15
|
Object.defineProperty(exports, "SubSequence", { enumerable: true, get: function () { return internal_1.SubSequence; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedSequence.js","sourceRoot":"","sources":["../src/sharedSequence.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;;;GAKG;AACH,8DAI2C;AAH1C,uGAAA,WAAW,OAAA;AACX,0GAAA,cAAc,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * In a future release we will move these types here and export them directly with:\n *\n * @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see
|
|
1
|
+
{"version":3,"file":"sharedSequence.js","sourceRoot":"","sources":["../src/sharedSequence.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;;;GAKG;AACH,8DAI2C;AAH1C,uGAAA,WAAW,OAAA;AACX,0GAAA,cAAc,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * In a future release we will move these types here and export them directly with:\n *\n * @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n */\nexport {\n\tSubSequence,\n\tSharedSequence,\n\tIJSONRunSegment,\n} from \"@fluidframework/sequence/internal\";\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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/sequence-deprecated";
|
|
8
|
-
export declare const pkgVersion = "2.70.0-
|
|
8
|
+
export declare const pkgVersion = "2.70.0-361248";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -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/sequence-deprecated";
|
|
8
|
-
export const pkgVersion = "2.70.0-
|
|
8
|
+
export const pkgVersion = "2.70.0-361248";
|
|
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,yCAAyC,CAAC;AACjE,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,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/sequence-deprecated\";\nexport const pkgVersion = \"2.70.0-
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yCAAyC,CAAC;AACjE,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,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/sequence-deprecated\";\nexport const pkgVersion = \"2.70.0-361248\";\n"]}
|
package/lib/sequenceFactory.d.ts
CHANGED
|
@@ -10,89 +10,89 @@ import { SharedNumberSequenceClass } from "./sharedNumberSequence.js";
|
|
|
10
10
|
import { SharedObjectSequenceClass } from "./sharedObjectSequence.js";
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
13
|
-
* For more info, please see
|
|
13
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
16
|
export declare class SharedObjectSequenceFactory implements IChannelFactory {
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
19
|
-
* For more info, please see
|
|
19
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
20
20
|
*/
|
|
21
21
|
static Type: string;
|
|
22
22
|
/**
|
|
23
23
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
24
|
-
* For more info, please see
|
|
24
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
25
25
|
*/
|
|
26
26
|
static readonly Attributes: IChannelAttributes;
|
|
27
27
|
/**
|
|
28
28
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
29
|
-
* For more info, please see
|
|
29
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
30
30
|
*/
|
|
31
31
|
static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object>;
|
|
32
32
|
/**
|
|
33
33
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
34
|
-
* For more info, please see
|
|
34
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
35
35
|
*/
|
|
36
36
|
get type(): string;
|
|
37
37
|
/**
|
|
38
38
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
39
|
-
* For more info, please see
|
|
39
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
40
40
|
*/
|
|
41
41
|
get attributes(): IChannelAttributes;
|
|
42
42
|
/**
|
|
43
43
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
44
44
|
*
|
|
45
45
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
46
|
-
* For more info, please see
|
|
46
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
47
47
|
*/
|
|
48
48
|
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
|
|
49
49
|
/**
|
|
50
50
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
51
|
-
* For more info, please see
|
|
51
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
52
52
|
*/
|
|
53
53
|
create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
57
|
-
* For more info, please see
|
|
57
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
58
58
|
* @internal
|
|
59
59
|
*/
|
|
60
60
|
export declare class SharedNumberSequenceFactory implements IChannelFactory {
|
|
61
61
|
/**
|
|
62
62
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
63
|
-
* For more info, please see
|
|
63
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
64
64
|
*/
|
|
65
65
|
static Type: string;
|
|
66
66
|
/**
|
|
67
67
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
68
|
-
* For more info, please see
|
|
68
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
69
69
|
*/
|
|
70
70
|
static readonly Attributes: IChannelAttributes;
|
|
71
71
|
/**
|
|
72
72
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
73
|
-
* For more info, please see
|
|
73
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
74
74
|
*/
|
|
75
75
|
static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number>;
|
|
76
76
|
/**
|
|
77
77
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
78
|
-
* For more info, please see
|
|
78
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
79
79
|
*/
|
|
80
80
|
get type(): string;
|
|
81
81
|
/**
|
|
82
82
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
83
|
-
* For more info, please see
|
|
83
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
84
84
|
*/
|
|
85
85
|
get attributes(): IChannelAttributes;
|
|
86
86
|
/**
|
|
87
87
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
88
88
|
*
|
|
89
89
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
90
|
-
* For more info, please see
|
|
90
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
91
91
|
*/
|
|
92
92
|
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
|
|
93
93
|
/**
|
|
94
94
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
95
|
-
* For more info, please see
|
|
95
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
96
96
|
*/
|
|
97
97
|
create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
|
|
98
98
|
}
|
package/lib/sequenceFactory.js
CHANGED
|
@@ -9,13 +9,13 @@ import { SharedNumberSequenceClass } from "./sharedNumberSequence.js";
|
|
|
9
9
|
import { SharedObjectSequenceClass } from "./sharedObjectSequence.js";
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
12
|
-
* For more info, please see
|
|
12
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
15
15
|
export class SharedObjectSequenceFactory {
|
|
16
16
|
/**
|
|
17
17
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
18
|
-
* For more info, please see
|
|
18
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
19
19
|
*/
|
|
20
20
|
static segmentFromSpec(segSpec) {
|
|
21
21
|
const runSegment = segSpec;
|
|
@@ -26,14 +26,14 @@ export class SharedObjectSequenceFactory {
|
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
29
|
-
* For more info, please see
|
|
29
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
30
30
|
*/
|
|
31
31
|
get type() {
|
|
32
32
|
return SharedObjectSequenceFactory.Type;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
36
|
-
* For more info, please see
|
|
36
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
37
37
|
*/
|
|
38
38
|
get attributes() {
|
|
39
39
|
return SharedObjectSequenceFactory.Attributes;
|
|
@@ -42,7 +42,7 @@ export class SharedObjectSequenceFactory {
|
|
|
42
42
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
43
43
|
*
|
|
44
44
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
45
|
-
* For more info, please see
|
|
45
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
46
46
|
*/
|
|
47
47
|
async load(runtime, id, services, attributes) {
|
|
48
48
|
const sharedSeq = new SharedObjectSequenceClass(runtime, id, attributes);
|
|
@@ -51,7 +51,7 @@ export class SharedObjectSequenceFactory {
|
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
54
|
-
* For more info, please see
|
|
54
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
55
55
|
*/
|
|
56
56
|
create(document, id) {
|
|
57
57
|
const sharedString = new SharedObjectSequenceClass(document, id, this.attributes);
|
|
@@ -61,12 +61,12 @@ export class SharedObjectSequenceFactory {
|
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
64
|
-
* For more info, please see
|
|
64
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
65
65
|
*/
|
|
66
66
|
SharedObjectSequenceFactory.Type = "https://graph.microsoft.com/types/mergeTree/object-sequence";
|
|
67
67
|
/**
|
|
68
68
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
69
|
-
* For more info, please see
|
|
69
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
70
70
|
*/
|
|
71
71
|
SharedObjectSequenceFactory.Attributes = {
|
|
72
72
|
type: SharedObjectSequenceFactory.Type,
|
|
@@ -75,13 +75,13 @@ SharedObjectSequenceFactory.Attributes = {
|
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
77
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
78
|
-
* For more info, please see
|
|
78
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
79
79
|
* @internal
|
|
80
80
|
*/
|
|
81
81
|
export class SharedNumberSequenceFactory {
|
|
82
82
|
/**
|
|
83
83
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
84
|
-
* For more info, please see
|
|
84
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
85
85
|
*/
|
|
86
86
|
static segmentFromSpec(segSpec) {
|
|
87
87
|
const runSegment = segSpec;
|
|
@@ -92,14 +92,14 @@ export class SharedNumberSequenceFactory {
|
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
95
|
-
* For more info, please see
|
|
95
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
96
96
|
*/
|
|
97
97
|
get type() {
|
|
98
98
|
return SharedNumberSequenceFactory.Type;
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
101
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
102
|
-
* For more info, please see
|
|
102
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
103
103
|
*/
|
|
104
104
|
get attributes() {
|
|
105
105
|
return SharedNumberSequenceFactory.Attributes;
|
|
@@ -108,7 +108,7 @@ export class SharedNumberSequenceFactory {
|
|
|
108
108
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
109
109
|
*
|
|
110
110
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
111
|
-
* For more info, please see
|
|
111
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
112
112
|
*/
|
|
113
113
|
async load(runtime, id, services, attributes) {
|
|
114
114
|
const sharedSeq = new SharedNumberSequenceClass(runtime, id, attributes);
|
|
@@ -117,7 +117,7 @@ export class SharedNumberSequenceFactory {
|
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
120
|
-
* For more info, please see
|
|
120
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
121
121
|
*/
|
|
122
122
|
create(document, id) {
|
|
123
123
|
const sharedString = new SharedNumberSequenceClass(document, id, this.attributes);
|
|
@@ -127,12 +127,12 @@ export class SharedNumberSequenceFactory {
|
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
129
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
130
|
-
* For more info, please see
|
|
130
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
131
131
|
*/
|
|
132
132
|
SharedNumberSequenceFactory.Type = "https://graph.microsoft.com/types/mergeTree/number-sequence";
|
|
133
133
|
/**
|
|
134
134
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
135
|
-
* For more info, please see
|
|
135
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
136
136
|
*/
|
|
137
137
|
SharedNumberSequenceFactory.Attributes = {
|
|
138
138
|
type: SharedNumberSequenceFactory.Type,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sequenceFactory.js","sourceRoot":"","sources":["../src/sequenceFactory.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIChannelFactory,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n} from \"@fluidframework/datastore-definitions/internal\";\nimport { IJSONSegment } from \"@fluidframework/merge-tree/internal\";\nimport { IJSONRunSegment, SubSequence } from \"@fluidframework/sequence/internal\";\nimport {\n\tISharedObject,\n\tcreateSharedObjectKind,\n} from \"@fluidframework/shared-object-base/internal\";\n\nimport { pkgVersion } from \"./packageVersion.js\";\nimport { SharedNumberSequenceClass } from \"./sharedNumberSequence.js\";\nimport { SharedObjectSequenceClass } from \"./sharedObjectSequence.js\";\n\n/**\n * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n * @internal\n */\nexport class SharedObjectSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/object-sequence\";\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedObjectSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<object>;\n\t\tif (runSegment.items) {\n\t\t\treturn new SubSequence<object>(runSegment.items, runSegment.props);\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get type() {\n\t\treturn SharedObjectSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get attributes() {\n\t\treturn SharedObjectSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\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<ISharedObject> {\n\t\tconst sharedSeq = new SharedObjectSequenceClass<object>(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedObjectSequenceClass(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n * @internal\n */\nexport class SharedNumberSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/number-sequence\";\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedNumberSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<number>;\n\t\tif (runSegment.items) {\n\t\t\treturn new SubSequence<number>(runSegment.items, runSegment.props);\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get type() {\n\t\treturn SharedNumberSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get attributes() {\n\t\treturn SharedNumberSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\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<ISharedObject> {\n\t\tconst sharedSeq = new SharedNumberSequenceClass(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedNumberSequenceClass(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * {@inheritDoc SharedNumberSequenceClass}\n * @internal\n */\nexport const SharedNumberSequence = createSharedObjectKind(SharedNumberSequenceFactory);\n/**\n * {@inheritDoc SharedNumberSequenceClass}\n * @internal\n */\nexport type SharedNumberSequence = SharedNumberSequenceClass;\n\n/**\n * {@inheritDoc SharedObjectSequenceClass}\n * @internal\n */\nexport const SharedObjectSequence = createSharedObjectKind(SharedObjectSequenceFactory);\n/**\n * {@inheritDoc SharedObjectSequenceClass}\n * @internal\n */\nexport type SharedObjectSequence<T> = SharedObjectSequenceClass<T>;\n"]}
|
|
1
|
+
{"version":3,"file":"sequenceFactory.js","sourceRoot":"","sources":["../src/sequenceFactory.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIChannelFactory,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n} from \"@fluidframework/datastore-definitions/internal\";\nimport { IJSONSegment } from \"@fluidframework/merge-tree/internal\";\nimport { IJSONRunSegment, SubSequence } from \"@fluidframework/sequence/internal\";\nimport {\n\tISharedObject,\n\tcreateSharedObjectKind,\n} from \"@fluidframework/shared-object-base/internal\";\n\nimport { pkgVersion } from \"./packageVersion.js\";\nimport { SharedNumberSequenceClass } from \"./sharedNumberSequence.js\";\nimport { SharedObjectSequenceClass } from \"./sharedObjectSequence.js\";\n\n/**\n * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n * @internal\n */\nexport class SharedObjectSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/object-sequence\";\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedObjectSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<object>;\n\t\tif (runSegment.items) {\n\t\t\treturn new SubSequence<object>(runSegment.items, runSegment.props);\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic get type() {\n\t\treturn SharedObjectSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic get attributes() {\n\t\treturn SharedObjectSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\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<ISharedObject> {\n\t\tconst sharedSeq = new SharedObjectSequenceClass<object>(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedObjectSequenceClass(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n * @internal\n */\nexport class SharedNumberSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/number-sequence\";\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedNumberSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<number>;\n\t\tif (runSegment.items) {\n\t\t\treturn new SubSequence<number>(runSegment.items, runSegment.props);\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic get type() {\n\t\treturn SharedNumberSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic get attributes() {\n\t\treturn SharedNumberSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\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<ISharedObject> {\n\t\tconst sharedSeq = new SharedNumberSequenceClass(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedNumberSequenceClass(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * {@inheritDoc SharedNumberSequenceClass}\n * @internal\n */\nexport const SharedNumberSequence = createSharedObjectKind(SharedNumberSequenceFactory);\n/**\n * {@inheritDoc SharedNumberSequenceClass}\n * @internal\n */\nexport type SharedNumberSequence = SharedNumberSequenceClass;\n\n/**\n * {@inheritDoc SharedObjectSequenceClass}\n * @internal\n */\nexport const SharedObjectSequence = createSharedObjectKind(SharedObjectSequenceFactory);\n/**\n * {@inheritDoc SharedObjectSequenceClass}\n * @internal\n */\nexport type SharedObjectSequence<T> = SharedObjectSequenceClass<T>;\n"]}
|
package/lib/sharedSequence.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* In a future release we will move these types here and export them directly with:
|
|
7
7
|
*
|
|
8
8
|
* @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.
|
|
9
|
-
* For more info, please see
|
|
9
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
10
10
|
*/
|
|
11
11
|
export { SubSequence, SharedSequence, IJSONRunSegment, } from "@fluidframework/sequence/internal";
|
|
12
12
|
//# sourceMappingURL=sharedSequence.d.ts.map
|
package/lib/sharedSequence.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* In a future release we will move these types here and export them directly with:
|
|
7
7
|
*
|
|
8
8
|
* @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.
|
|
9
|
-
* For more info, please see
|
|
9
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
10
10
|
*/
|
|
11
11
|
export { SubSequence, SharedSequence, } from "@fluidframework/sequence/internal";
|
|
12
12
|
//# sourceMappingURL=sharedSequence.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedSequence.js","sourceRoot":"","sources":["../src/sharedSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,OAAO,EACN,WAAW,EACX,cAAc,GAEd,MAAM,mCAAmC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * In a future release we will move these types here and export them directly with:\n *\n * @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see
|
|
1
|
+
{"version":3,"file":"sharedSequence.js","sourceRoot":"","sources":["../src/sharedSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,OAAO,EACN,WAAW,EACX,cAAc,GAEd,MAAM,mCAAmC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * In a future release we will move these types here and export them directly with:\n *\n * @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}\n */\nexport {\n\tSubSequence,\n\tSharedSequence,\n\tIJSONRunSegment,\n} from \"@fluidframework/sequence/internal\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/sequence-deprecated",
|
|
3
|
-
"version": "2.70.0-
|
|
3
|
+
"version": "2.70.0-361248",
|
|
4
4
|
"description": "Deprecated distributed sequences",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -49,23 +49,23 @@
|
|
|
49
49
|
"temp-directory": "nyc/.nyc_output"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@fluidframework/core-interfaces": "2.70.0-
|
|
53
|
-
"@fluidframework/core-utils": "2.70.0-
|
|
54
|
-
"@fluidframework/datastore-definitions": "2.70.0-
|
|
55
|
-
"@fluidframework/merge-tree": "2.70.0-
|
|
56
|
-
"@fluidframework/sequence": "2.70.0-
|
|
57
|
-
"@fluidframework/shared-object-base": "2.70.0-
|
|
52
|
+
"@fluidframework/core-interfaces": "2.70.0-361248",
|
|
53
|
+
"@fluidframework/core-utils": "2.70.0-361248",
|
|
54
|
+
"@fluidframework/datastore-definitions": "2.70.0-361248",
|
|
55
|
+
"@fluidframework/merge-tree": "2.70.0-361248",
|
|
56
|
+
"@fluidframework/sequence": "2.70.0-361248",
|
|
57
|
+
"@fluidframework/shared-object-base": "2.70.0-361248"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
61
61
|
"@biomejs/biome": "~1.9.3",
|
|
62
|
-
"@fluid-internal/mocha-test-setup": "2.70.0-
|
|
63
|
-
"@fluid-private/test-dds-utils": "2.70.0-
|
|
62
|
+
"@fluid-internal/mocha-test-setup": "2.70.0-361248",
|
|
63
|
+
"@fluid-private/test-dds-utils": "2.70.0-361248",
|
|
64
64
|
"@fluid-tools/build-cli": "^0.58.3",
|
|
65
65
|
"@fluidframework/build-common": "^2.0.3",
|
|
66
66
|
"@fluidframework/build-tools": "^0.58.3",
|
|
67
|
-
"@fluidframework/eslint-config-fluid": "^6.
|
|
68
|
-
"@fluidframework/test-runtime-utils": "2.70.0-
|
|
67
|
+
"@fluidframework/eslint-config-fluid": "^6.1.0",
|
|
68
|
+
"@fluidframework/test-runtime-utils": "2.70.0-361248",
|
|
69
69
|
"@microsoft/api-extractor": "7.52.11",
|
|
70
70
|
"@types/diff": "^3.5.1",
|
|
71
71
|
"@types/mocha": "^10.0.10",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"copyfiles": "^2.4.1",
|
|
76
76
|
"cross-env": "^7.0.3",
|
|
77
77
|
"diff": "^3.5.0",
|
|
78
|
-
"eslint": "~8.
|
|
78
|
+
"eslint": "~8.57.1",
|
|
79
79
|
"mocha": "^10.8.2",
|
|
80
80
|
"mocha-multi-reporters": "^1.5.1",
|
|
81
81
|
"rimraf": "^4.4.0",
|
package/src/packageVersion.ts
CHANGED
package/src/sequenceFactory.ts
CHANGED
|
@@ -22,19 +22,19 @@ import { SharedObjectSequenceClass } from "./sharedObjectSequence.js";
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
25
|
-
* For more info, please see
|
|
25
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
26
26
|
* @internal
|
|
27
27
|
*/
|
|
28
28
|
export class SharedObjectSequenceFactory implements IChannelFactory {
|
|
29
29
|
/**
|
|
30
30
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
31
|
-
* For more info, please see
|
|
31
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
32
32
|
*/
|
|
33
33
|
public static Type = "https://graph.microsoft.com/types/mergeTree/object-sequence";
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
37
|
-
* For more info, please see
|
|
37
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
38
38
|
*/
|
|
39
39
|
public static readonly Attributes: IChannelAttributes = {
|
|
40
40
|
type: SharedObjectSequenceFactory.Type,
|
|
@@ -44,7 +44,7 @@ export class SharedObjectSequenceFactory implements IChannelFactory {
|
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
47
|
-
* For more info, please see
|
|
47
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
48
48
|
*/
|
|
49
49
|
public static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object> {
|
|
50
50
|
const runSegment = segSpec as IJSONRunSegment<object>;
|
|
@@ -57,7 +57,7 @@ export class SharedObjectSequenceFactory implements IChannelFactory {
|
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
60
|
-
* For more info, please see
|
|
60
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
61
61
|
*/
|
|
62
62
|
public get type() {
|
|
63
63
|
return SharedObjectSequenceFactory.Type;
|
|
@@ -65,7 +65,7 @@ export class SharedObjectSequenceFactory implements IChannelFactory {
|
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
68
|
-
* For more info, please see
|
|
68
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
69
69
|
*/
|
|
70
70
|
public get attributes() {
|
|
71
71
|
return SharedObjectSequenceFactory.Attributes;
|
|
@@ -75,7 +75,7 @@ export class SharedObjectSequenceFactory implements IChannelFactory {
|
|
|
75
75
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
76
76
|
*
|
|
77
77
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
78
|
-
* For more info, please see
|
|
78
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
79
79
|
*/
|
|
80
80
|
public async load(
|
|
81
81
|
runtime: IFluidDataStoreRuntime,
|
|
@@ -90,7 +90,7 @@ export class SharedObjectSequenceFactory implements IChannelFactory {
|
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
93
|
-
* For more info, please see
|
|
93
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
94
94
|
*/
|
|
95
95
|
public create(document: IFluidDataStoreRuntime, id: string): ISharedObject {
|
|
96
96
|
const sharedString = new SharedObjectSequenceClass(document, id, this.attributes);
|
|
@@ -101,19 +101,19 @@ export class SharedObjectSequenceFactory implements IChannelFactory {
|
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
104
|
-
* For more info, please see
|
|
104
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
105
105
|
* @internal
|
|
106
106
|
*/
|
|
107
107
|
export class SharedNumberSequenceFactory implements IChannelFactory {
|
|
108
108
|
/**
|
|
109
109
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
110
|
-
* For more info, please see
|
|
110
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
111
111
|
*/
|
|
112
112
|
public static Type = "https://graph.microsoft.com/types/mergeTree/number-sequence";
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
116
|
-
* For more info, please see
|
|
116
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
117
117
|
*/
|
|
118
118
|
public static readonly Attributes: IChannelAttributes = {
|
|
119
119
|
type: SharedNumberSequenceFactory.Type,
|
|
@@ -123,7 +123,7 @@ export class SharedNumberSequenceFactory implements IChannelFactory {
|
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
126
|
-
* For more info, please see
|
|
126
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
127
127
|
*/
|
|
128
128
|
public static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number> {
|
|
129
129
|
const runSegment = segSpec as IJSONRunSegment<number>;
|
|
@@ -136,7 +136,7 @@ export class SharedNumberSequenceFactory implements IChannelFactory {
|
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
139
|
-
* For more info, please see
|
|
139
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
140
140
|
*/
|
|
141
141
|
public get type() {
|
|
142
142
|
return SharedNumberSequenceFactory.Type;
|
|
@@ -144,7 +144,7 @@ export class SharedNumberSequenceFactory implements IChannelFactory {
|
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
147
|
-
* For more info, please see
|
|
147
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
148
148
|
*/
|
|
149
149
|
public get attributes() {
|
|
150
150
|
return SharedNumberSequenceFactory.Attributes;
|
|
@@ -154,7 +154,7 @@ export class SharedNumberSequenceFactory implements IChannelFactory {
|
|
|
154
154
|
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
155
155
|
*
|
|
156
156
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
157
|
-
* For more info, please see
|
|
157
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
158
158
|
*/
|
|
159
159
|
public async load(
|
|
160
160
|
runtime: IFluidDataStoreRuntime,
|
|
@@ -169,7 +169,7 @@ export class SharedNumberSequenceFactory implements IChannelFactory {
|
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
172
|
-
* For more info, please see
|
|
172
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
173
173
|
*/
|
|
174
174
|
public create(document: IFluidDataStoreRuntime, id: string): ISharedObject {
|
|
175
175
|
const sharedString = new SharedNumberSequenceClass(document, id, this.attributes);
|
package/src/sharedSequence.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* In a future release we will move these types here and export them directly with:
|
|
8
8
|
*
|
|
9
9
|
* @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.
|
|
10
|
-
* For more info, please see
|
|
10
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}
|
|
11
11
|
*/
|
|
12
12
|
export {
|
|
13
13
|
SubSequence,
|