@lazycatcloud/sdk 0.1.480 → 0.1.484
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/common/box.d.ts +600 -640
- package/dist/common/box.d.ts.map +1 -1
- package/dist/common/file_handler.d.ts +960 -1024
- package/dist/common/file_handler.d.ts.map +1 -1
- package/dist/common/filetrans.d.ts +2520 -2688
- package/dist/common/filetrans.d.ts.map +1 -1
- package/dist/common/iscsi.d.ts +180 -192
- package/dist/common/iscsi.d.ts.map +1 -1
- package/dist/common/media_meta.d.ts +60 -64
- package/dist/common/media_meta.d.ts.map +1 -1
- package/dist/common/message.d.ts +420 -448
- package/dist/common/message.d.ts.map +1 -1
- package/dist/common/peripheral_device.d.ts +360 -384
- package/dist/common/peripheral_device.d.ts.map +1 -1
- package/dist/extentions/app_common.d.ts +5 -0
- package/dist/extentions/app_common.d.ts.map +1 -1
- package/dist/extentions/app_common.js +20 -0
- package/dist/extentions/app_common.js.map +1 -1
- package/dist/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/google/protobuf/timestamp.d.ts +60 -64
- package/dist/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/localdevice/ble.d.ts +5 -1
- package/dist/localdevice/ble.d.ts.map +1 -1
- package/dist/localdevice/ble.js +24 -10
- package/dist/localdevice/ble.js.map +1 -1
- package/dist/localdevice/client.d.ts +60 -64
- package/dist/localdevice/client.d.ts.map +1 -1
- package/dist/localdevice/clipboard.d.ts +137 -0
- package/dist/localdevice/clipboard.d.ts.map +1 -0
- package/dist/localdevice/clipboard.js +433 -0
- package/dist/localdevice/clipboard.js.map +1 -0
- package/dist/localdevice/contacts.d.ts +60 -64
- package/dist/localdevice/contacts.d.ts.map +1 -1
- package/dist/localdevice/photo.d.ts +374 -192
- package/dist/localdevice/photo.d.ts.map +1 -1
- package/dist/localdevice/photo.js +157 -1
- package/dist/localdevice/photo.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/sys/OS_snapshot.d.ts +585 -0
- package/dist/sys/OS_snapshot.d.ts.map +1 -0
- package/dist/sys/OS_snapshot.js +1543 -0
- package/dist/sys/OS_snapshot.js.map +1 -0
- package/dist/sys/OS_upgrader.d.ts +202 -0
- package/dist/sys/OS_upgrader.d.ts.map +1 -0
- package/dist/sys/OS_upgrader.js +639 -0
- package/dist/sys/OS_upgrader.js.map +1 -0
- package/dist/sys/btrfs.d.ts +180 -192
- package/dist/sys/btrfs.d.ts.map +1 -1
- package/dist/sys/hal.d.ts +120 -128
- package/dist/sys/hal.d.ts.map +1 -1
- package/dist/sys/hc-core/hc-core.d.ts +691 -0
- package/dist/sys/hc-core/hc-core.d.ts.map +1 -0
- package/dist/sys/hc-core/hc-core.js +1484 -0
- package/dist/sys/hc-core/hc-core.js.map +1 -0
- package/dist/sys/ingress.d.ts +60 -64
- package/dist/sys/ingress.d.ts.map +1 -1
- package/dist/sys/installer.d.ts +277 -0
- package/dist/sys/installer.d.ts.map +1 -0
- package/dist/sys/installer.js +796 -0
- package/dist/sys/installer.js.map +1 -0
- package/dist/sys/network_manager.d.ts +180 -192
- package/dist/sys/network_manager.d.ts.map +1 -1
- package/dist/sys/osupgrader.d.ts +256 -0
- package/dist/sys/osupgrader.d.ts.map +1 -0
- package/dist/sys/osupgrader.js +536 -0
- package/dist/sys/osupgrader.js.map +1 -0
- package/dist/sys/package_manager.d.ts +8700 -9280
- package/dist/sys/package_manager.d.ts.map +1 -1
- package/dist/sys/portal-server/portal-server.d.ts +947 -0
- package/dist/sys/portal-server/portal-server.d.ts.map +1 -0
- package/dist/sys/portal-server/portal-server.js +2756 -0
- package/dist/sys/portal-server/portal-server.js.map +1 -0
- package/dist/sys/snapd.d.ts +343 -0
- package/dist/sys/snapd.d.ts.map +1 -0
- package/dist/sys/snapd.js +798 -0
- package/dist/sys/snapd.js.map +1 -0
- package/dist/sys/stats/cgroup_metrics.d.ts +8220 -8768
- package/dist/sys/stats/cgroup_metrics.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -22,41 +22,40 @@ export declare const GetClientInfoResponse: {
|
|
|
22
22
|
high: number;
|
|
23
23
|
low: number;
|
|
24
24
|
unsigned: boolean;
|
|
25
|
-
add: (addend:
|
|
26
|
-
and: (other:
|
|
27
|
-
compare: (other:
|
|
28
|
-
comp: (other:
|
|
29
|
-
divide: (divisor:
|
|
30
|
-
div: (divisor:
|
|
31
|
-
equals: (other:
|
|
32
|
-
eq: (other:
|
|
25
|
+
add: (addend: string | number | Long) => Long;
|
|
26
|
+
and: (other: string | number | Long) => Long;
|
|
27
|
+
compare: (other: string | number | Long) => number;
|
|
28
|
+
comp: (other: string | number | Long) => number;
|
|
29
|
+
divide: (divisor: string | number | Long) => Long;
|
|
30
|
+
div: (divisor: string | number | Long) => Long;
|
|
31
|
+
equals: (other: string | number | Long) => boolean;
|
|
32
|
+
eq: (other: string | number | Long) => boolean;
|
|
33
33
|
getHighBits: () => number;
|
|
34
34
|
getHighBitsUnsigned: () => number;
|
|
35
35
|
getLowBits: () => number;
|
|
36
36
|
getLowBitsUnsigned: () => number;
|
|
37
37
|
getNumBitsAbs: () => number;
|
|
38
|
-
greaterThan: (other:
|
|
39
|
-
gt: (other:
|
|
40
|
-
greaterThanOrEqual: (other:
|
|
41
|
-
gte: (other:
|
|
42
|
-
ge: (other:
|
|
38
|
+
greaterThan: (other: string | number | Long) => boolean;
|
|
39
|
+
gt: (other: string | number | Long) => boolean;
|
|
40
|
+
greaterThanOrEqual: (other: string | number | Long) => boolean;
|
|
41
|
+
gte: (other: string | number | Long) => boolean;
|
|
42
|
+
ge: (other: string | number | Long) => boolean;
|
|
43
43
|
isEven: () => boolean;
|
|
44
44
|
isNegative: () => boolean;
|
|
45
45
|
isOdd: () => boolean;
|
|
46
46
|
isPositive: () => boolean;
|
|
47
|
-
isSafeInteger: () => boolean;
|
|
48
47
|
isZero: () => boolean;
|
|
49
48
|
eqz: () => boolean;
|
|
50
|
-
lessThan: (other:
|
|
51
|
-
lt: (other:
|
|
52
|
-
lessThanOrEqual: (other:
|
|
53
|
-
lte: (other:
|
|
54
|
-
le: (other:
|
|
55
|
-
modulo: (other:
|
|
56
|
-
mod: (other:
|
|
57
|
-
rem: (other:
|
|
58
|
-
multiply: (multiplier:
|
|
59
|
-
mul: (multiplier:
|
|
49
|
+
lessThan: (other: string | number | Long) => boolean;
|
|
50
|
+
lt: (other: string | number | Long) => boolean;
|
|
51
|
+
lessThanOrEqual: (other: string | number | Long) => boolean;
|
|
52
|
+
lte: (other: string | number | Long) => boolean;
|
|
53
|
+
le: (other: string | number | Long) => boolean;
|
|
54
|
+
modulo: (other: string | number | Long) => Long;
|
|
55
|
+
mod: (other: string | number | Long) => Long;
|
|
56
|
+
rem: (other: string | number | Long) => Long;
|
|
57
|
+
multiply: (multiplier: string | number | Long) => Long;
|
|
58
|
+
mul: (multiplier: string | number | Long) => Long;
|
|
60
59
|
negate: () => Long;
|
|
61
60
|
neg: () => Long;
|
|
62
61
|
not: () => Long;
|
|
@@ -64,10 +63,10 @@ export declare const GetClientInfoResponse: {
|
|
|
64
63
|
clz: () => number;
|
|
65
64
|
countTrailingZeros: () => number;
|
|
66
65
|
ctz: () => number;
|
|
67
|
-
notEquals: (other:
|
|
68
|
-
neq: (other:
|
|
69
|
-
ne: (other:
|
|
70
|
-
or: (other:
|
|
66
|
+
notEquals: (other: string | number | Long) => boolean;
|
|
67
|
+
neq: (other: string | number | Long) => boolean;
|
|
68
|
+
ne: (other: string | number | Long) => boolean;
|
|
69
|
+
or: (other: string | number | Long) => Long;
|
|
71
70
|
shiftLeft: (numBits: number | Long) => Long;
|
|
72
71
|
shl: (numBits: number | Long) => Long;
|
|
73
72
|
shiftRight: (numBits: number | Long) => Long;
|
|
@@ -79,9 +78,8 @@ export declare const GetClientInfoResponse: {
|
|
|
79
78
|
rotl: (numBits: number | Long) => Long;
|
|
80
79
|
rotateRight: (numBits: number | Long) => Long;
|
|
81
80
|
rotr: (numBits: number | Long) => Long;
|
|
82
|
-
subtract: (subtrahend:
|
|
83
|
-
sub: (subtrahend:
|
|
84
|
-
toBigInt: () => bigint;
|
|
81
|
+
subtract: (subtrahend: string | number | Long) => Long;
|
|
82
|
+
sub: (subtrahend: string | number | Long) => Long;
|
|
85
83
|
toInt: () => number;
|
|
86
84
|
toNumber: () => number;
|
|
87
85
|
toBytes: (le?: boolean) => number[];
|
|
@@ -90,7 +88,7 @@ export declare const GetClientInfoResponse: {
|
|
|
90
88
|
toSigned: () => Long;
|
|
91
89
|
toString: (radix?: number) => string;
|
|
92
90
|
toUnsigned: () => Long;
|
|
93
|
-
xor: (other:
|
|
91
|
+
xor: (other: string | number | Long) => Long;
|
|
94
92
|
} & { [K in Exclude<keyof I["clientCode"], keyof Long>]: never; });
|
|
95
93
|
} & { [K_1 in Exclude<keyof I, keyof GetClientInfoResponse>]: never; }>(base?: I): GetClientInfoResponse;
|
|
96
94
|
fromPartial<I_1 extends {
|
|
@@ -102,41 +100,40 @@ export declare const GetClientInfoResponse: {
|
|
|
102
100
|
high: number;
|
|
103
101
|
low: number;
|
|
104
102
|
unsigned: boolean;
|
|
105
|
-
add: (addend:
|
|
106
|
-
and: (other:
|
|
107
|
-
compare: (other:
|
|
108
|
-
comp: (other:
|
|
109
|
-
divide: (divisor:
|
|
110
|
-
div: (divisor:
|
|
111
|
-
equals: (other:
|
|
112
|
-
eq: (other:
|
|
103
|
+
add: (addend: string | number | Long) => Long;
|
|
104
|
+
and: (other: string | number | Long) => Long;
|
|
105
|
+
compare: (other: string | number | Long) => number;
|
|
106
|
+
comp: (other: string | number | Long) => number;
|
|
107
|
+
divide: (divisor: string | number | Long) => Long;
|
|
108
|
+
div: (divisor: string | number | Long) => Long;
|
|
109
|
+
equals: (other: string | number | Long) => boolean;
|
|
110
|
+
eq: (other: string | number | Long) => boolean;
|
|
113
111
|
getHighBits: () => number;
|
|
114
112
|
getHighBitsUnsigned: () => number;
|
|
115
113
|
getLowBits: () => number;
|
|
116
114
|
getLowBitsUnsigned: () => number;
|
|
117
115
|
getNumBitsAbs: () => number;
|
|
118
|
-
greaterThan: (other:
|
|
119
|
-
gt: (other:
|
|
120
|
-
greaterThanOrEqual: (other:
|
|
121
|
-
gte: (other:
|
|
122
|
-
ge: (other:
|
|
116
|
+
greaterThan: (other: string | number | Long) => boolean;
|
|
117
|
+
gt: (other: string | number | Long) => boolean;
|
|
118
|
+
greaterThanOrEqual: (other: string | number | Long) => boolean;
|
|
119
|
+
gte: (other: string | number | Long) => boolean;
|
|
120
|
+
ge: (other: string | number | Long) => boolean;
|
|
123
121
|
isEven: () => boolean;
|
|
124
122
|
isNegative: () => boolean;
|
|
125
123
|
isOdd: () => boolean;
|
|
126
124
|
isPositive: () => boolean;
|
|
127
|
-
isSafeInteger: () => boolean;
|
|
128
125
|
isZero: () => boolean;
|
|
129
126
|
eqz: () => boolean;
|
|
130
|
-
lessThan: (other:
|
|
131
|
-
lt: (other:
|
|
132
|
-
lessThanOrEqual: (other:
|
|
133
|
-
lte: (other:
|
|
134
|
-
le: (other:
|
|
135
|
-
modulo: (other:
|
|
136
|
-
mod: (other:
|
|
137
|
-
rem: (other:
|
|
138
|
-
multiply: (multiplier:
|
|
139
|
-
mul: (multiplier:
|
|
127
|
+
lessThan: (other: string | number | Long) => boolean;
|
|
128
|
+
lt: (other: string | number | Long) => boolean;
|
|
129
|
+
lessThanOrEqual: (other: string | number | Long) => boolean;
|
|
130
|
+
lte: (other: string | number | Long) => boolean;
|
|
131
|
+
le: (other: string | number | Long) => boolean;
|
|
132
|
+
modulo: (other: string | number | Long) => Long;
|
|
133
|
+
mod: (other: string | number | Long) => Long;
|
|
134
|
+
rem: (other: string | number | Long) => Long;
|
|
135
|
+
multiply: (multiplier: string | number | Long) => Long;
|
|
136
|
+
mul: (multiplier: string | number | Long) => Long;
|
|
140
137
|
negate: () => Long;
|
|
141
138
|
neg: () => Long;
|
|
142
139
|
not: () => Long;
|
|
@@ -144,10 +141,10 @@ export declare const GetClientInfoResponse: {
|
|
|
144
141
|
clz: () => number;
|
|
145
142
|
countTrailingZeros: () => number;
|
|
146
143
|
ctz: () => number;
|
|
147
|
-
notEquals: (other:
|
|
148
|
-
neq: (other:
|
|
149
|
-
ne: (other:
|
|
150
|
-
or: (other:
|
|
144
|
+
notEquals: (other: string | number | Long) => boolean;
|
|
145
|
+
neq: (other: string | number | Long) => boolean;
|
|
146
|
+
ne: (other: string | number | Long) => boolean;
|
|
147
|
+
or: (other: string | number | Long) => Long;
|
|
151
148
|
shiftLeft: (numBits: number | Long) => Long;
|
|
152
149
|
shl: (numBits: number | Long) => Long;
|
|
153
150
|
shiftRight: (numBits: number | Long) => Long;
|
|
@@ -159,9 +156,8 @@ export declare const GetClientInfoResponse: {
|
|
|
159
156
|
rotl: (numBits: number | Long) => Long;
|
|
160
157
|
rotateRight: (numBits: number | Long) => Long;
|
|
161
158
|
rotr: (numBits: number | Long) => Long;
|
|
162
|
-
subtract: (subtrahend:
|
|
163
|
-
sub: (subtrahend:
|
|
164
|
-
toBigInt: () => bigint;
|
|
159
|
+
subtract: (subtrahend: string | number | Long) => Long;
|
|
160
|
+
sub: (subtrahend: string | number | Long) => Long;
|
|
165
161
|
toInt: () => number;
|
|
166
162
|
toNumber: () => number;
|
|
167
163
|
toBytes: (le?: boolean) => number[];
|
|
@@ -170,7 +166,7 @@ export declare const GetClientInfoResponse: {
|
|
|
170
166
|
toSigned: () => Long;
|
|
171
167
|
toString: (radix?: number) => string;
|
|
172
168
|
toUnsigned: () => Long;
|
|
173
|
-
xor: (other:
|
|
169
|
+
xor: (other: string | number | Long) => Long;
|
|
174
170
|
} & { [K_2 in Exclude<keyof I_1["clientCode"], keyof Long>]: never; });
|
|
175
171
|
} & { [K_3 in Exclude<keyof I_1, keyof GetClientInfoResponse>]: never; }>(object: I_1): GetClientInfoResponse;
|
|
176
172
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../localdevice/client.ts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,EAAS,QAAQ,EAAE,IAAI,CAAC,QAAQ;CAGpF"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { grpc } from "@improbable-eng/grpc-web";
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
export interface ReadClipRequest {
|
|
5
|
+
/** 目前只支持text/plain和image/png */
|
|
6
|
+
mime: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ReadClipResponse {
|
|
9
|
+
content: Uint8Array;
|
|
10
|
+
}
|
|
11
|
+
export interface WriteClipRequest {
|
|
12
|
+
mime: string;
|
|
13
|
+
content: Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
export interface WriteClipResponse {
|
|
16
|
+
success: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const ReadClipRequest: {
|
|
19
|
+
encode(message: ReadClipRequest, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ReadClipRequest;
|
|
21
|
+
fromJSON(object: any): ReadClipRequest;
|
|
22
|
+
toJSON(message: ReadClipRequest): unknown;
|
|
23
|
+
create<I extends {
|
|
24
|
+
mime?: string;
|
|
25
|
+
} & {
|
|
26
|
+
mime?: string;
|
|
27
|
+
} & { [K in Exclude<keyof I, "mime">]: never; }>(base?: I): ReadClipRequest;
|
|
28
|
+
fromPartial<I_1 extends {
|
|
29
|
+
mime?: string;
|
|
30
|
+
} & {
|
|
31
|
+
mime?: string;
|
|
32
|
+
} & { [K_1 in Exclude<keyof I_1, "mime">]: never; }>(object: I_1): ReadClipRequest;
|
|
33
|
+
};
|
|
34
|
+
export declare const ReadClipResponse: {
|
|
35
|
+
encode(message: ReadClipResponse, writer?: _m0.Writer): _m0.Writer;
|
|
36
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ReadClipResponse;
|
|
37
|
+
fromJSON(object: any): ReadClipResponse;
|
|
38
|
+
toJSON(message: ReadClipResponse): unknown;
|
|
39
|
+
create<I extends {
|
|
40
|
+
content?: Uint8Array;
|
|
41
|
+
} & {
|
|
42
|
+
content?: Uint8Array;
|
|
43
|
+
} & { [K in Exclude<keyof I, "content">]: never; }>(base?: I): ReadClipResponse;
|
|
44
|
+
fromPartial<I_1 extends {
|
|
45
|
+
content?: Uint8Array;
|
|
46
|
+
} & {
|
|
47
|
+
content?: Uint8Array;
|
|
48
|
+
} & { [K_1 in Exclude<keyof I_1, "content">]: never; }>(object: I_1): ReadClipResponse;
|
|
49
|
+
};
|
|
50
|
+
export declare const WriteClipRequest: {
|
|
51
|
+
encode(message: WriteClipRequest, writer?: _m0.Writer): _m0.Writer;
|
|
52
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WriteClipRequest;
|
|
53
|
+
fromJSON(object: any): WriteClipRequest;
|
|
54
|
+
toJSON(message: WriteClipRequest): unknown;
|
|
55
|
+
create<I extends {
|
|
56
|
+
mime?: string;
|
|
57
|
+
content?: Uint8Array;
|
|
58
|
+
} & {
|
|
59
|
+
mime?: string;
|
|
60
|
+
content?: Uint8Array;
|
|
61
|
+
} & { [K in Exclude<keyof I, keyof WriteClipRequest>]: never; }>(base?: I): WriteClipRequest;
|
|
62
|
+
fromPartial<I_1 extends {
|
|
63
|
+
mime?: string;
|
|
64
|
+
content?: Uint8Array;
|
|
65
|
+
} & {
|
|
66
|
+
mime?: string;
|
|
67
|
+
content?: Uint8Array;
|
|
68
|
+
} & { [K_1 in Exclude<keyof I_1, keyof WriteClipRequest>]: never; }>(object: I_1): WriteClipRequest;
|
|
69
|
+
};
|
|
70
|
+
export declare const WriteClipResponse: {
|
|
71
|
+
encode(message: WriteClipResponse, writer?: _m0.Writer): _m0.Writer;
|
|
72
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WriteClipResponse;
|
|
73
|
+
fromJSON(object: any): WriteClipResponse;
|
|
74
|
+
toJSON(message: WriteClipResponse): unknown;
|
|
75
|
+
create<I extends {
|
|
76
|
+
success?: boolean;
|
|
77
|
+
} & {
|
|
78
|
+
success?: boolean;
|
|
79
|
+
} & { [K in Exclude<keyof I, "success">]: never; }>(base?: I): WriteClipResponse;
|
|
80
|
+
fromPartial<I_1 extends {
|
|
81
|
+
success?: boolean;
|
|
82
|
+
} & {
|
|
83
|
+
success?: boolean;
|
|
84
|
+
} & { [K_1 in Exclude<keyof I_1, "success">]: never; }>(object: I_1): WriteClipResponse;
|
|
85
|
+
};
|
|
86
|
+
export interface ClipboardManager {
|
|
87
|
+
Read(request: DeepPartial<ReadClipRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ReadClipResponse>;
|
|
88
|
+
Write(request: DeepPartial<WriteClipRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<WriteClipResponse>;
|
|
89
|
+
Watch(request: DeepPartial<ReadClipRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Observable<ReadClipResponse>;
|
|
90
|
+
}
|
|
91
|
+
export declare class ClipboardManagerClientImpl implements ClipboardManager {
|
|
92
|
+
private readonly rpc;
|
|
93
|
+
constructor(rpc: Rpc);
|
|
94
|
+
Read(request: DeepPartial<ReadClipRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ReadClipResponse>;
|
|
95
|
+
Write(request: DeepPartial<WriteClipRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<WriteClipResponse>;
|
|
96
|
+
Watch(request: DeepPartial<ReadClipRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Observable<ReadClipResponse>;
|
|
97
|
+
}
|
|
98
|
+
export declare const ClipboardManagerDesc: {
|
|
99
|
+
serviceName: string;
|
|
100
|
+
};
|
|
101
|
+
export declare const ClipboardManagerReadDesc: UnaryMethodDefinitionish;
|
|
102
|
+
export declare const ClipboardManagerWriteDesc: UnaryMethodDefinitionish;
|
|
103
|
+
export declare const ClipboardManagerWatchDesc: UnaryMethodDefinitionish;
|
|
104
|
+
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
|
|
105
|
+
requestStream: any;
|
|
106
|
+
responseStream: any;
|
|
107
|
+
}
|
|
108
|
+
type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
109
|
+
interface Rpc {
|
|
110
|
+
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
|
|
111
|
+
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Observable<any>;
|
|
112
|
+
}
|
|
113
|
+
export declare class GrpcWebImpl {
|
|
114
|
+
private host;
|
|
115
|
+
private options;
|
|
116
|
+
constructor(host: string, options: {
|
|
117
|
+
transport?: grpc.TransportFactory;
|
|
118
|
+
streamingTransport?: grpc.TransportFactory;
|
|
119
|
+
debug?: boolean;
|
|
120
|
+
metadata?: grpc.Metadata;
|
|
121
|
+
upStreamRetryCodes?: number[];
|
|
122
|
+
});
|
|
123
|
+
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
|
|
124
|
+
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Observable<any>;
|
|
125
|
+
}
|
|
126
|
+
declare const tsProtoGlobalThis: any;
|
|
127
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
128
|
+
type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
129
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
130
|
+
} : Partial<T>;
|
|
131
|
+
export declare class GrpcWebError extends tsProtoGlobalThis.Error {
|
|
132
|
+
code: grpc.Code;
|
|
133
|
+
metadata: grpc.Metadata;
|
|
134
|
+
constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
|
|
135
|
+
}
|
|
136
|
+
export {};
|
|
137
|
+
//# sourceMappingURL=clipboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../localdevice/clipboard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAEhD,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlC,MAAM,WAAW,eAAe;IAC9B,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,UAAU,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,UAAU,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB;AAMD,eAAO,MAAM,eAAe;oBACV,eAAe,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAOxE,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,eAAe;qBAuBvD,GAAG,GAAG,eAAe;oBAItB,eAAe,GAAG,OAAO;;eAvDnC,MAAM;;eAAN,MAAM;gEA+DwD,eAAe;;eA/D7E,MAAM;;eAAN,MAAM;uEAmE8D,eAAe;CAK1F,CAAC;AAMF,eAAO,MAAM,gBAAgB;oBACX,gBAAgB,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAOzE,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,gBAAgB;qBAuBxD,GAAG,GAAG,gBAAgB;oBAIvB,gBAAgB,GAAG,OAAO;;kBA7GjC,UAAU;;kBAAV,UAAU;mEAqHkD,gBAAgB;;kBArH5E,UAAU;;kBAAV,UAAU;0EAyHwD,gBAAgB;CAK5F,CAAC;AAMF,eAAO,MAAM,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