@univerjs/protocol 0.1.39-alpha.1 → 0.1.39-alpha.2

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.
@@ -1,5 +1,4 @@
1
1
  import { UniverType } from './constants/univer';
2
-
3
2
  export declare const protobufPackage = "univer";
4
3
  /** It should be the same as `ICommandInfo` in the frontend. */
5
4
  export interface Mutation {
@@ -1,6 +1,5 @@
1
1
  import { Changeset } from './changeset';
2
2
  import { UnitPermissionStrategy, UnitRole, UnitShareScope, User } from './permission';
3
-
4
3
  export declare const protobufPackage = "univer";
5
4
  export interface CollaMsg {
6
5
  eventID: string;
@@ -1,5 +1,4 @@
1
1
  import { Resource } from './resource';
2
-
3
2
  export declare const protobufPackage = "univer";
4
3
  export interface DocumentMeta {
5
4
  unitID: string;
@@ -1,7 +1,6 @@
1
1
  import { UniverType } from './constants/univer';
2
2
  import { DocumentMeta } from './doc';
3
3
  import { WorkbookMeta } from './workbook';
4
-
5
4
  export declare const protobufPackage = "univer";
6
5
  export interface Snapshot {
7
6
  /** unitID of the Univer document */
@@ -2,7 +2,6 @@ import { UniverType } from './constants/univer';
2
2
  import { DocumentMeta } from './doc';
3
3
  import { DrawingMeta } from './drawing';
4
4
  import { WorkbookMeta } from './workbook';
5
-
6
5
  export declare const protobufPackage = "univer";
7
6
  export interface UniverFile {
8
7
  univerID: string;
@@ -1,6 +1,5 @@
1
1
  import { DocumentMeta } from './doc';
2
2
  import { Resource } from './resource';
3
-
4
3
  export declare const protobufPackage = "univer";
5
4
  export declare enum CellValueType {
6
5
  UNKNOWN = 0,
@@ -6,7 +6,6 @@ import { UniverType } from '../univer/constants/univer';
6
6
  import { InitialSheet } from '../univer/initial_sheet';
7
7
  import { Snapshot } from '../univer/snapshot';
8
8
  import { CustomCellTemplate } from '../univer/unit_template';
9
-
10
9
  export declare const protobufPackage = "univerpro.v1";
11
10
  /** The meta required to create a new unit. */
12
11
  export interface WorkbookCreateMeta {
@@ -2,7 +2,6 @@ import { Metadata } from '@grpc/grpc-js';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Error } from '../univer/constants/errors';
4
4
  import { UnitAction, UnitObject, UnitPermissionStrategy, UnitRole, UnitRoleKV, UnitShareScope, User } from '../univer/permission';
5
-
6
5
  export declare const protobufPackage = "universer.v1";
7
6
  export interface Collaborator {
8
7
  id: string;
@@ -5,7 +5,6 @@ import { Changeset } from '../univer/changeset';
5
5
  import { CollaMsg } from '../univer/colla_msg';
6
6
  import { Error } from '../univer/constants/errors';
7
7
  import { UniverType } from '../univer/constants/univer';
8
-
9
8
  export declare const protobufPackage = "universer.v1";
10
9
  /** more details: https://c3fgartrp2.feishu.cn/docx/OS47dk8BCo1ZeKxXiNvcDLuZn2g#PymGdupuyoYfvTxv1EBciV7in9b */
11
10
  export declare enum CombCmd {
@@ -1,7 +1,6 @@
1
1
  import { Metadata } from '@grpc/grpc-js';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Error } from '../univer/constants/errors';
4
-
5
4
  export declare const protobufPackage = "universer.v1";
6
5
  export interface SignUrlRequest {
7
6
  fileID: string;
@@ -3,7 +3,6 @@ import { Observable } from 'rxjs';
3
3
  import { Error } from '../univer/constants/errors';
4
4
  import { UniverType } from '../univer/constants/univer';
5
5
  import { User } from '../univer/permission';
6
-
7
6
  export declare const protobufPackage = "universer.v1";
8
7
  export interface CreateHistoryRequest {
9
8
  unitId: string;
@@ -9,7 +9,6 @@ import { Snapshot } from '../univer/snapshot';
9
9
  import { CustomCellTemplate } from '../univer/unit_template';
10
10
  import { Unit } from '../univer/univer_file';
11
11
  import { SheetBlock } from '../univer/workbook';
12
-
13
12
  export declare const protobufPackage = "universer.v1";
14
13
  export interface DirectWriteRequest {
15
14
  unitID: string;
@@ -1,7 +1,6 @@
1
1
  import { Metadata } from '@grpc/grpc-js';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Error } from '../univer/constants/errors';
4
-
5
4
  export declare const protobufPackage = "universer.v1";
6
5
  export interface User {
7
6
  userID: string;
@@ -1,5 +1,4 @@
1
1
  import { Error } from './ts/univer/constants/errors';
2
-
3
2
  /**
4
3
  * To examine if a response is an error.
5
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/protocol",
3
- "version": "0.1.39-alpha.1",
3
+ "version": "0.1.39-alpha.2",
4
4
  "private": false,
5
5
  "description": "A protocol of Univer repos",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -38,9 +38,9 @@
38
38
  "rxjs": ">=7.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "typescript": "^5.5.3",
42
- "vite": "^5.3.3",
43
- "vite-plugin-dts": "^3.9.1"
41
+ "typescript": "^5.5.4",
42
+ "vite": "^5.3.5",
43
+ "vite-plugin-dts": "^4.0.0"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsc && vite build"