@univerjs/thread-comment 0.2.15 → 0.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/es/index.js +1 -1
- package/lib/types/index.d.ts +5 -5
- package/package.json +6 -9
package/lib/es/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value;
|
|
3
3
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key != "symbol" ? key + "" : key, value);
|
|
5
|
-
import { Disposable,
|
|
5
|
+
import { createIdentifier, Disposable, Inject, CustomRangeType, ICommandService, OnLifecycle, LifecycleStages, IResourceManagerService, CommandType, Plugin, UniverInstanceType, mergeOverrideWithDependencies, Injector, IConfigService } from "@univerjs/core";
|
|
6
6
|
import { Subject, BehaviorSubject, map } from "rxjs";
|
|
7
7
|
const _ThreadCommentDataSourceService = class _ThreadCommentDataSourceService extends Disposable {
|
|
8
8
|
constructor() {
|
package/lib/types/index.d.ts
CHANGED
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export {
|
|
16
|
+
export { type CommentUpdate, ThreadCommentModel } from './models/thread-comment.model';
|
|
17
17
|
export { ThreadCommentResourceController } from './controllers/tc-resource.controller';
|
|
18
18
|
export { TC_PLUGIN_NAME } from './types/const';
|
|
19
|
-
export type { IThreadComment, IThreadCommentMention
|
|
19
|
+
export type { IBaseComment, IThreadComment, IThreadCommentMention } from './types/interfaces/i-thread-comment';
|
|
20
20
|
export { UniverThreadCommentPlugin } from './plugin';
|
|
21
|
-
export { IThreadCommentDataSourceService, ThreadCommentDataSourceService, type
|
|
21
|
+
export { type IThreadCommentDataSource, IThreadCommentDataSourceService, ThreadCommentDataSourceService, type ThreadCommentJSON, } from './services/tc-datasource.service';
|
|
22
22
|
export { AddCommentMutation, DeleteCommentMutation, ResolveCommentMutation, UpdateCommentMutation, UpdateCommentRefMutation, } from './commands/mutations/comment.mutation';
|
|
23
23
|
export type { IAddCommentMutationParams, IDeleteCommentMutationParams, IResolveCommentMutationParams, IUpdateCommentMutationParams, IUpdateCommentPayload, IUpdateCommentRefMutationParams, } from './commands/mutations/comment.mutation';
|
|
24
|
-
export { AddCommentCommand, DeleteCommentCommand, ResolveCommentCommand, UpdateCommentCommand,
|
|
25
|
-
export type { IAddCommentCommandParams, IDeleteCommentCommandParams, IResolveCommentCommandParams, IUpdateCommentCommandParams,
|
|
24
|
+
export { AddCommentCommand, DeleteCommentCommand, DeleteCommentTreeCommand, ResolveCommentCommand, UpdateCommentCommand, } from './commands/commands/comment.command';
|
|
25
|
+
export type { IAddCommentCommandParams, IDeleteCommentCommandParams, IDeleteCommentTreeCommandParams, IResolveCommentCommandParams, IUpdateCommentCommandParams, } from './commands/commands/comment.command';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/thread-comment",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-alpha.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Univer thread comment core plugin",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -18,9 +18,6 @@
|
|
|
18
18
|
"url": "https://github.com/dream-num/univer/issues"
|
|
19
19
|
},
|
|
20
20
|
"keywords": [],
|
|
21
|
-
"sideEffects": [
|
|
22
|
-
"**/*.css"
|
|
23
|
-
],
|
|
24
21
|
"exports": {
|
|
25
22
|
".": {
|
|
26
23
|
"import": "./lib/es/index.js",
|
|
@@ -48,18 +45,18 @@
|
|
|
48
45
|
],
|
|
49
46
|
"peerDependencies": {
|
|
50
47
|
"rxjs": ">=7.0.0",
|
|
51
|
-
"@univerjs/core": "0.
|
|
48
|
+
"@univerjs/core": "0.3.0-alpha.1"
|
|
52
49
|
},
|
|
53
50
|
"dependencies": {
|
|
54
51
|
"@univerjs/protocol": "0.1.39-alpha.15",
|
|
55
|
-
"@univerjs/core": "0.
|
|
52
|
+
"@univerjs/core": "0.3.0-alpha.1"
|
|
56
53
|
},
|
|
57
54
|
"devDependencies": {
|
|
58
55
|
"rxjs": "^7.8.1",
|
|
59
56
|
"typescript": "^5.6.2",
|
|
60
|
-
"vite": "^5.4.
|
|
61
|
-
"vitest": "^2.
|
|
62
|
-
"@univerjs-infra/shared": "0.
|
|
57
|
+
"vite": "^5.4.8",
|
|
58
|
+
"vitest": "^2.1.1",
|
|
59
|
+
"@univerjs-infra/shared": "0.3.0-alpha.1"
|
|
63
60
|
},
|
|
64
61
|
"univerSpace": {
|
|
65
62
|
".": {
|