logisheets 1.1.0 → 1.2.0
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/src/api/author.d.ts +41 -0
- package/dist/src/api/author.js +22 -0
- package/dist/src/api/index.d.ts +2 -0
- package/dist/src/api/index.js +1 -0
- package/dist/src/api/workbook.d.ts +52 -1
- package/dist/src/api/workbook.js +99 -0
- package/dist/src/api/worksheet.d.ts +8 -1
- package/dist/src/api/worksheet.js +9 -0
- package/dist/src/bindings/add_comment.d.ts +44 -0
- package/dist/src/bindings/add_comment.js +66 -0
- package/dist/src/bindings/author_input.d.ts +5 -0
- package/dist/src/bindings/author_input.js +1 -0
- package/dist/src/bindings/comment.d.ts +2 -2
- package/dist/src/bindings/comment_mention.d.ts +7 -0
- package/dist/src/bindings/comment_mention.js +1 -0
- package/dist/src/bindings/comment_mention_info.d.ts +6 -0
- package/dist/src/bindings/comment_mention_info.js +1 -0
- package/dist/src/bindings/comment_note.d.ts +11 -0
- package/dist/src/bindings/comment_note.js +1 -0
- package/dist/src/bindings/comment_person.d.ts +5 -0
- package/dist/src/bindings/comment_person.js +1 -0
- package/dist/src/bindings/delete_comment.d.ts +14 -0
- package/dist/src/bindings/delete_comment.js +19 -0
- package/dist/src/bindings/edit_comment.d.ts +23 -0
- package/dist/src/bindings/edit_comment.js +33 -0
- package/dist/src/bindings/edit_payload.d.ts +20 -0
- package/dist/src/bindings/index.d.ts +11 -0
- package/dist/src/bindings/index.js +11 -0
- package/dist/src/bindings/resolve_comment.d.ts +18 -0
- package/dist/src/bindings/resolve_comment.js +26 -0
- package/dist/src/bindings/rpc_get_comments_params.d.ts +3 -0
- package/dist/src/bindings/rpc_get_comments_params.js +1 -0
- package/dist/src/bindings/rpc_workbook_methods.d.ts +3 -0
- package/dist/src/bindings/upsert_person.d.ts +18 -0
- package/dist/src/bindings/upsert_person.js +22 -0
- package/dist/wasm/logisheets_wasm_server.d.ts +8 -0
- package/dist/wasm/logisheets_wasm_server.js +583 -0
- package/dist/wasm/logisheets_wasm_server_bg.wasm +0 -0
- package/dist/wasm/logisheets_wasm_server_bg.wasm.d.ts +12 -0
- package/dist/wasm/package.json +14 -0
- package/package.json +2 -2
- package/wasm/logisheets_wasm_server.d.ts +8 -0
- package/wasm/logisheets_wasm_server.js +583 -0
- package/wasm/logisheets_wasm_server_bg.wasm +0 -0
- package/wasm/logisheets_wasm_server_bg.wasm.d.ts +12 -0
- package/wasm/package.json +14 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from './action_effect';
|
|
2
|
+
export * from './add_comment';
|
|
2
3
|
export * from './alignment';
|
|
3
4
|
export * from './app_data';
|
|
4
5
|
export * from './appendix';
|
|
5
6
|
export * from './appendix_with_cell';
|
|
6
7
|
export * from './async_func_result';
|
|
8
|
+
export * from './author_input';
|
|
7
9
|
export * from './bind_form_schema';
|
|
8
10
|
export * from './bind_random_schema';
|
|
9
11
|
export * from './block_cell_id';
|
|
@@ -39,6 +41,10 @@ export * from './checkpoint_meta';
|
|
|
39
41
|
export * from './col_info';
|
|
40
42
|
export * from './color';
|
|
41
43
|
export * from './comment';
|
|
44
|
+
export * from './comment_mention';
|
|
45
|
+
export * from './comment_mention_info';
|
|
46
|
+
export * from './comment_note';
|
|
47
|
+
export * from './comment_person';
|
|
42
48
|
export * from './convert_block';
|
|
43
49
|
export * from './create_appendix';
|
|
44
50
|
export * from './create_block';
|
|
@@ -55,6 +61,7 @@ export * from './ct_gradient_stop';
|
|
|
55
61
|
export * from './ct_pattern_fill';
|
|
56
62
|
export * from './delete_cols';
|
|
57
63
|
export * from './delete_cols_in_block';
|
|
64
|
+
export * from './delete_comment';
|
|
58
65
|
export * from './delete_rows';
|
|
59
66
|
export * from './delete_rows_in_block';
|
|
60
67
|
export * from './delete_sheet';
|
|
@@ -62,6 +69,7 @@ export * from './display_window';
|
|
|
62
69
|
export * from './display_window_request';
|
|
63
70
|
export * from './display_window_with_start_point';
|
|
64
71
|
export * from './edit_action';
|
|
72
|
+
export * from './edit_comment';
|
|
65
73
|
export * from './edit_payload';
|
|
66
74
|
export * from './ephemeral_cell_input';
|
|
67
75
|
export * from './ephemeral_cell_remove';
|
|
@@ -111,6 +119,7 @@ export * from './reorder_block_lines';
|
|
|
111
119
|
export * from './reproduce_cells';
|
|
112
120
|
export * from './reproducible_cell';
|
|
113
121
|
export * from './resize_block';
|
|
122
|
+
export * from './resolve_comment';
|
|
114
123
|
export * from './restore_checkpoint';
|
|
115
124
|
export * from './row_info';
|
|
116
125
|
export * from './rpc_batch_get_cell_coordinate_with_sheet_by_id_params';
|
|
@@ -135,6 +144,7 @@ export * from './rpc_get_cell_position_params';
|
|
|
135
144
|
export * from './rpc_get_cells_except_window_params';
|
|
136
145
|
export * from './rpc_get_cells_params';
|
|
137
146
|
export * from './rpc_get_col_width_params';
|
|
147
|
+
export * from './rpc_get_comments_params';
|
|
138
148
|
export * from './rpc_get_data_boundary_params';
|
|
139
149
|
export * from './rpc_get_display_units_of_formula_params';
|
|
140
150
|
export * from './rpc_get_display_window_params';
|
|
@@ -197,6 +207,7 @@ export * from './token_unit';
|
|
|
197
207
|
export * from './underline_property';
|
|
198
208
|
export * from './upsert_field_formulas';
|
|
199
209
|
export * from './upsert_field_render_info';
|
|
210
|
+
export * from './upsert_person';
|
|
200
211
|
export * from './value';
|
|
201
212
|
export * from './vertical_align_font_property';
|
|
202
213
|
export * from './vertical_alignment';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// DO NOT EDIT. CODE GENERATED BY gents.
|
|
2
2
|
export * from './action_effect';
|
|
3
|
+
export * from './add_comment';
|
|
3
4
|
export * from './alignment';
|
|
4
5
|
export * from './app_data';
|
|
5
6
|
export * from './appendix';
|
|
6
7
|
export * from './appendix_with_cell';
|
|
7
8
|
export * from './async_func_result';
|
|
9
|
+
export * from './author_input';
|
|
8
10
|
export * from './bind_form_schema';
|
|
9
11
|
export * from './bind_random_schema';
|
|
10
12
|
export * from './block_cell_id';
|
|
@@ -40,6 +42,10 @@ export * from './checkpoint_meta';
|
|
|
40
42
|
export * from './col_info';
|
|
41
43
|
export * from './color';
|
|
42
44
|
export * from './comment';
|
|
45
|
+
export * from './comment_mention';
|
|
46
|
+
export * from './comment_mention_info';
|
|
47
|
+
export * from './comment_note';
|
|
48
|
+
export * from './comment_person';
|
|
43
49
|
export * from './convert_block';
|
|
44
50
|
export * from './create_appendix';
|
|
45
51
|
export * from './create_block';
|
|
@@ -56,6 +62,7 @@ export * from './ct_gradient_stop';
|
|
|
56
62
|
export * from './ct_pattern_fill';
|
|
57
63
|
export * from './delete_cols';
|
|
58
64
|
export * from './delete_cols_in_block';
|
|
65
|
+
export * from './delete_comment';
|
|
59
66
|
export * from './delete_rows';
|
|
60
67
|
export * from './delete_rows_in_block';
|
|
61
68
|
export * from './delete_sheet';
|
|
@@ -63,6 +70,7 @@ export * from './display_window';
|
|
|
63
70
|
export * from './display_window_request';
|
|
64
71
|
export * from './display_window_with_start_point';
|
|
65
72
|
export * from './edit_action';
|
|
73
|
+
export * from './edit_comment';
|
|
66
74
|
export * from './edit_payload';
|
|
67
75
|
export * from './ephemeral_cell_input';
|
|
68
76
|
export * from './ephemeral_cell_remove';
|
|
@@ -112,6 +120,7 @@ export * from './reorder_block_lines';
|
|
|
112
120
|
export * from './reproduce_cells';
|
|
113
121
|
export * from './reproducible_cell';
|
|
114
122
|
export * from './resize_block';
|
|
123
|
+
export * from './resolve_comment';
|
|
115
124
|
export * from './restore_checkpoint';
|
|
116
125
|
export * from './row_info';
|
|
117
126
|
export * from './rpc_batch_get_cell_coordinate_with_sheet_by_id_params';
|
|
@@ -136,6 +145,7 @@ export * from './rpc_get_cell_position_params';
|
|
|
136
145
|
export * from './rpc_get_cells_except_window_params';
|
|
137
146
|
export * from './rpc_get_cells_params';
|
|
138
147
|
export * from './rpc_get_col_width_params';
|
|
148
|
+
export * from './rpc_get_comments_params';
|
|
139
149
|
export * from './rpc_get_data_boundary_params';
|
|
140
150
|
export * from './rpc_get_display_units_of_formula_params';
|
|
141
151
|
export * from './rpc_get_display_window_params';
|
|
@@ -198,6 +208,7 @@ export * from './token_unit';
|
|
|
198
208
|
export * from './underline_property';
|
|
199
209
|
export * from './upsert_field_formulas';
|
|
200
210
|
export * from './upsert_field_render_info';
|
|
211
|
+
export * from './upsert_person';
|
|
201
212
|
export * from './value';
|
|
202
213
|
export * from './vertical_align_font_property';
|
|
203
214
|
export * from './vertical_alignment';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ResolveComment {
|
|
2
|
+
sheetIdx: number;
|
|
3
|
+
commentId: string;
|
|
4
|
+
resolved: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare class ResolveCommentBuilder {
|
|
7
|
+
private _sheetIdx;
|
|
8
|
+
private _commentId;
|
|
9
|
+
private _resolved;
|
|
10
|
+
sheetIdx(value: number): this;
|
|
11
|
+
commentId(value: string): this;
|
|
12
|
+
resolved(value: boolean): this;
|
|
13
|
+
build(): {
|
|
14
|
+
sheetIdx: number;
|
|
15
|
+
commentId: string;
|
|
16
|
+
resolved: boolean;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export class ResolveCommentBuilder {
|
|
2
|
+
_sheetIdx;
|
|
3
|
+
_commentId;
|
|
4
|
+
_resolved;
|
|
5
|
+
sheetIdx(value) {
|
|
6
|
+
this._sheetIdx = value;
|
|
7
|
+
return this;
|
|
8
|
+
}
|
|
9
|
+
commentId(value) {
|
|
10
|
+
this._commentId = value;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
resolved(value) {
|
|
14
|
+
this._resolved = value;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
build() {
|
|
18
|
+
if (this._sheetIdx === undefined)
|
|
19
|
+
throw new Error('missing sheetIdx');
|
|
20
|
+
if (this._commentId === undefined)
|
|
21
|
+
throw new Error('missing commentId');
|
|
22
|
+
if (this._resolved === undefined)
|
|
23
|
+
throw new Error('missing resolved');
|
|
24
|
+
return { sheetIdx: this._sheetIdx, commentId: this._commentId, resolved: this._resolved };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -13,6 +13,7 @@ import { CellInput } from './cell_input';
|
|
|
13
13
|
import { CellPosition } from './cell_position';
|
|
14
14
|
import { CheckFormulaParams } from './rpc_check_formula_params';
|
|
15
15
|
import { CheckpointMetaDto } from './checkpoint_meta';
|
|
16
|
+
import { Comment } from './comment';
|
|
16
17
|
import { DeleteCheckpointParams } from './rpc_delete_checkpoint_params';
|
|
17
18
|
import { DisplayWindow } from './display_window';
|
|
18
19
|
import { DisplayWindowWithStartPoint } from './display_window_with_start_point';
|
|
@@ -34,6 +35,7 @@ import { GetCellPositionParams } from './rpc_get_cell_position_params';
|
|
|
34
35
|
import { GetCellsExceptWindowParams } from './rpc_get_cells_except_window_params';
|
|
35
36
|
import { GetCellsParams } from './rpc_get_cells_params';
|
|
36
37
|
import { GetColWidthParams } from './rpc_get_col_width_params';
|
|
38
|
+
import { GetCommentsParams } from './rpc_get_comments_params';
|
|
37
39
|
import { GetDataBoundaryParams } from './rpc_get_data_boundary_params';
|
|
38
40
|
import { GetDisplayUnitsOfFormulaParams } from './rpc_get_display_units_of_formula_params';
|
|
39
41
|
import { GetDisplayWindowParams } from './rpc_get_display_window_params';
|
|
@@ -110,6 +112,7 @@ export interface WorkbookMethods {
|
|
|
110
112
|
getDiyCellIdWithBlockId(params: GetDiyCellIdWithBlockIdParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
111
113
|
lookupAppendixUpward(params: LookupAppendixUpwardParams, bookId?: number): Promise<AppendixWithCell | ErrorMessage>;
|
|
112
114
|
getMergedCells(params: GetMergedCellsParams, bookId?: number): Promise<readonly MergeCell[] | ErrorMessage>;
|
|
115
|
+
getComments(params: GetCommentsParams, bookId?: number): Promise<readonly Comment[] | ErrorMessage>;
|
|
113
116
|
getShadowCellId(params: GetShadowCellIdParams, bookId?: number): Promise<SheetCellId | ErrorMessage>;
|
|
114
117
|
getShadowCellIds(params: GetShadowCellIdsParams, bookId?: number): Promise<readonly SheetCellId[] | ErrorMessage>;
|
|
115
118
|
getShadowInfoById(params: GetShadowInfoByIdParams, bookId?: number): Promise<ShadowCellInfo | ErrorMessage>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface UpsertPerson {
|
|
2
|
+
displayName: string;
|
|
3
|
+
userId?: string;
|
|
4
|
+
providerId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class UpsertPersonBuilder {
|
|
7
|
+
private _displayName;
|
|
8
|
+
private _userId?;
|
|
9
|
+
private _providerId?;
|
|
10
|
+
displayName(value: string): this;
|
|
11
|
+
userId(value: string): this;
|
|
12
|
+
providerId(value: string): this;
|
|
13
|
+
build(): {
|
|
14
|
+
displayName: string;
|
|
15
|
+
userId: string | undefined;
|
|
16
|
+
providerId: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export class UpsertPersonBuilder {
|
|
2
|
+
_displayName;
|
|
3
|
+
_userId;
|
|
4
|
+
_providerId;
|
|
5
|
+
displayName(value) {
|
|
6
|
+
this._displayName = value;
|
|
7
|
+
return this;
|
|
8
|
+
}
|
|
9
|
+
userId(value) {
|
|
10
|
+
this._userId = value;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
providerId(value) {
|
|
14
|
+
this._providerId = value;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
build() {
|
|
18
|
+
if (this._displayName === undefined)
|
|
19
|
+
throw new Error('missing displayName');
|
|
20
|
+
return { displayName: this._displayName, userId: this._userId, providerId: this._providerId };
|
|
21
|
+
}
|
|
22
|
+
}
|