@vicinae/api 0.20.9 → 0.20.10
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/api/alert.d.ts +1 -1
- package/dist/api/alert.js +9 -14
- package/dist/api/client.d.ts +7 -0
- package/dist/api/client.js +11 -0
- package/dist/api/clipboard.d.ts +4 -8
- package/dist/api/clipboard.js +13 -18
- package/dist/api/color.d.ts +4 -10
- package/dist/api/color.js +8 -47
- package/dist/api/command.js +4 -6
- package/dist/api/controls.js +9 -56
- package/dist/api/environment.d.ts +0 -11
- package/dist/api/environment.js +2 -1
- package/dist/api/file-search.d.ts +3 -4
- package/dist/api/file-search.js +6 -4
- package/dist/api/globals.d.ts +9 -0
- package/dist/api/globals.js +5 -0
- package/dist/api/hooks/use-imperative-form-handle.d.ts +1 -1
- package/dist/api/hooks/use-imperative-form-handle.js +6 -3
- package/dist/api/hooks/use-navigation.d.ts +2 -2
- package/dist/api/hooks/use-navigation.js +2 -5
- package/dist/api/image.d.ts +4 -4
- package/dist/api/image.js +12 -51
- package/dist/api/index.d.ts +0 -2
- package/dist/api/index.js +0 -2
- package/dist/api/local-storage.js +7 -14
- package/dist/api/oauth.d.ts +1 -1
- package/dist/api/oauth.js +7 -15
- package/dist/api/preference.d.ts +2 -4
- package/dist/api/preference.js +10 -6
- package/dist/api/proto/api.d.ts +240 -0
- package/dist/api/proto/api.js +271 -0
- package/dist/api/toast.js +7 -77
- package/dist/api/utils.d.ts +6 -2
- package/dist/api/utils.js +9 -26
- package/dist/api/window-management.d.ts +3 -5
- package/dist/api/window-management.js +14 -27
- package/dist/schemas/manifest.d.ts +3 -3
- package/package.json +1 -4
- package/dist/api/bus.d.ts +0 -125
- package/dist/api/bus.js +0 -201
- package/dist/api/context/index.d.ts +0 -1
- package/dist/api/context/index.js +0 -17
- package/dist/api/context/navigation-context.d.ts +0 -7
- package/dist/api/context/navigation-context.js +0 -12
- package/dist/api/context/navigation-provider.d.ts +0 -7
- package/dist/api/context/navigation-provider.js +0 -58
- package/dist/api/hooks.d.ts +0 -1
- package/dist/api/hooks.js +0 -30
- package/dist/api/proto/application.d.ts +0 -79
- package/dist/api/proto/application.js +0 -826
- package/dist/api/proto/clipboard.d.ts +0 -88
- package/dist/api/proto/clipboard.js +0 -929
- package/dist/api/proto/command.d.ts +0 -35
- package/dist/api/proto/command.js +0 -182
- package/dist/api/proto/common.d.ts +0 -28
- package/dist/api/proto/common.js +0 -102
- package/dist/api/proto/extension.d.ts +0 -106
- package/dist/api/proto/extension.js +0 -1122
- package/dist/api/proto/file-search.d.ts +0 -42
- package/dist/api/proto/file-search.js +0 -290
- package/dist/api/proto/google/protobuf/struct.d.ts +0 -107
- package/dist/api/proto/google/protobuf/struct.js +0 -456
- package/dist/api/proto/ipc.d.ts +0 -64
- package/dist/api/proto/ipc.js +0 -604
- package/dist/api/proto/manager.d.ts +0 -87
- package/dist/api/proto/manager.js +0 -776
- package/dist/api/proto/oauth.d.ts +0 -97
- package/dist/api/proto/oauth.js +0 -994
- package/dist/api/proto/storage.d.ts +0 -80
- package/dist/api/proto/storage.js +0 -804
- package/dist/api/proto/ui.d.ts +0 -208
- package/dist/api/proto/ui.js +0 -2316
- package/dist/api/proto/wlr-clipboard.d.ts +0 -30
- package/dist/api/proto/wlr-clipboard.js +0 -158
- package/dist/api/proto/wm.d.ts +0 -142
- package/dist/api/proto/wm.js +0 -1714
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { AckResponse } from "./common";
|
|
3
|
-
export declare const protobufPackage = "proto.ext.command";
|
|
4
|
-
export interface UpdateCommandMetadataRequest {
|
|
5
|
-
/** Null/empty clears the override. */
|
|
6
|
-
subtitle?: string | undefined;
|
|
7
|
-
}
|
|
8
|
-
export interface Request {
|
|
9
|
-
updateCommandMetadata?: UpdateCommandMetadataRequest | undefined;
|
|
10
|
-
}
|
|
11
|
-
export interface Response {
|
|
12
|
-
updateCommandMetadata?: AckResponse | undefined;
|
|
13
|
-
}
|
|
14
|
-
export declare const UpdateCommandMetadataRequest: MessageFns<UpdateCommandMetadataRequest>;
|
|
15
|
-
export declare const Request: MessageFns<Request>;
|
|
16
|
-
export declare const Response: MessageFns<Response>;
|
|
17
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
18
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
19
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
20
|
-
} : Partial<T>;
|
|
21
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
22
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
23
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
24
|
-
} & {
|
|
25
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
26
|
-
};
|
|
27
|
-
export interface MessageFns<T> {
|
|
28
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
29
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
30
|
-
fromJSON(object: any): T;
|
|
31
|
-
toJSON(message: T): unknown;
|
|
32
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
33
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
34
|
-
}
|
|
35
|
-
export {};
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.7
|
|
5
|
-
// protoc v6.33.1
|
|
6
|
-
// source: command.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.Response = exports.Request = exports.UpdateCommandMetadataRequest = exports.protobufPackage = void 0;
|
|
9
|
-
/* eslint-disable */
|
|
10
|
-
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
-
const common_1 = require("./common");
|
|
12
|
-
exports.protobufPackage = "proto.ext.command";
|
|
13
|
-
function createBaseUpdateCommandMetadataRequest() {
|
|
14
|
-
return { subtitle: undefined };
|
|
15
|
-
}
|
|
16
|
-
exports.UpdateCommandMetadataRequest = {
|
|
17
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
18
|
-
if (message.subtitle !== undefined) {
|
|
19
|
-
writer.uint32(10).string(message.subtitle);
|
|
20
|
-
}
|
|
21
|
-
return writer;
|
|
22
|
-
},
|
|
23
|
-
decode(input, length) {
|
|
24
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
25
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
26
|
-
const message = createBaseUpdateCommandMetadataRequest();
|
|
27
|
-
while (reader.pos < end) {
|
|
28
|
-
const tag = reader.uint32();
|
|
29
|
-
switch (tag >>> 3) {
|
|
30
|
-
case 1: {
|
|
31
|
-
if (tag !== 10) {
|
|
32
|
-
break;
|
|
33
|
-
}
|
|
34
|
-
message.subtitle = reader.string();
|
|
35
|
-
continue;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
reader.skip(tag & 7);
|
|
42
|
-
}
|
|
43
|
-
return message;
|
|
44
|
-
},
|
|
45
|
-
fromJSON(object) {
|
|
46
|
-
return { subtitle: isSet(object.subtitle) ? globalThis.String(object.subtitle) : undefined };
|
|
47
|
-
},
|
|
48
|
-
toJSON(message) {
|
|
49
|
-
const obj = {};
|
|
50
|
-
if (message.subtitle !== undefined) {
|
|
51
|
-
obj.subtitle = message.subtitle;
|
|
52
|
-
}
|
|
53
|
-
return obj;
|
|
54
|
-
},
|
|
55
|
-
create(base) {
|
|
56
|
-
return exports.UpdateCommandMetadataRequest.fromPartial(base ?? {});
|
|
57
|
-
},
|
|
58
|
-
fromPartial(object) {
|
|
59
|
-
const message = createBaseUpdateCommandMetadataRequest();
|
|
60
|
-
message.subtitle = object.subtitle ?? undefined;
|
|
61
|
-
return message;
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
function createBaseRequest() {
|
|
65
|
-
return { updateCommandMetadata: undefined };
|
|
66
|
-
}
|
|
67
|
-
exports.Request = {
|
|
68
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
69
|
-
if (message.updateCommandMetadata !== undefined) {
|
|
70
|
-
exports.UpdateCommandMetadataRequest.encode(message.updateCommandMetadata, writer.uint32(10).fork()).join();
|
|
71
|
-
}
|
|
72
|
-
return writer;
|
|
73
|
-
},
|
|
74
|
-
decode(input, length) {
|
|
75
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
76
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
77
|
-
const message = createBaseRequest();
|
|
78
|
-
while (reader.pos < end) {
|
|
79
|
-
const tag = reader.uint32();
|
|
80
|
-
switch (tag >>> 3) {
|
|
81
|
-
case 1: {
|
|
82
|
-
if (tag !== 10) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
message.updateCommandMetadata = exports.UpdateCommandMetadataRequest.decode(reader, reader.uint32());
|
|
86
|
-
continue;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
reader.skip(tag & 7);
|
|
93
|
-
}
|
|
94
|
-
return message;
|
|
95
|
-
},
|
|
96
|
-
fromJSON(object) {
|
|
97
|
-
return {
|
|
98
|
-
updateCommandMetadata: isSet(object.updateCommandMetadata)
|
|
99
|
-
? exports.UpdateCommandMetadataRequest.fromJSON(object.updateCommandMetadata)
|
|
100
|
-
: undefined,
|
|
101
|
-
};
|
|
102
|
-
},
|
|
103
|
-
toJSON(message) {
|
|
104
|
-
const obj = {};
|
|
105
|
-
if (message.updateCommandMetadata !== undefined) {
|
|
106
|
-
obj.updateCommandMetadata = exports.UpdateCommandMetadataRequest.toJSON(message.updateCommandMetadata);
|
|
107
|
-
}
|
|
108
|
-
return obj;
|
|
109
|
-
},
|
|
110
|
-
create(base) {
|
|
111
|
-
return exports.Request.fromPartial(base ?? {});
|
|
112
|
-
},
|
|
113
|
-
fromPartial(object) {
|
|
114
|
-
const message = createBaseRequest();
|
|
115
|
-
message.updateCommandMetadata =
|
|
116
|
-
(object.updateCommandMetadata !== undefined && object.updateCommandMetadata !== null)
|
|
117
|
-
? exports.UpdateCommandMetadataRequest.fromPartial(object.updateCommandMetadata)
|
|
118
|
-
: undefined;
|
|
119
|
-
return message;
|
|
120
|
-
},
|
|
121
|
-
};
|
|
122
|
-
function createBaseResponse() {
|
|
123
|
-
return { updateCommandMetadata: undefined };
|
|
124
|
-
}
|
|
125
|
-
exports.Response = {
|
|
126
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
127
|
-
if (message.updateCommandMetadata !== undefined) {
|
|
128
|
-
common_1.AckResponse.encode(message.updateCommandMetadata, writer.uint32(10).fork()).join();
|
|
129
|
-
}
|
|
130
|
-
return writer;
|
|
131
|
-
},
|
|
132
|
-
decode(input, length) {
|
|
133
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
134
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
135
|
-
const message = createBaseResponse();
|
|
136
|
-
while (reader.pos < end) {
|
|
137
|
-
const tag = reader.uint32();
|
|
138
|
-
switch (tag >>> 3) {
|
|
139
|
-
case 1: {
|
|
140
|
-
if (tag !== 10) {
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
message.updateCommandMetadata = common_1.AckResponse.decode(reader, reader.uint32());
|
|
144
|
-
continue;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
148
|
-
break;
|
|
149
|
-
}
|
|
150
|
-
reader.skip(tag & 7);
|
|
151
|
-
}
|
|
152
|
-
return message;
|
|
153
|
-
},
|
|
154
|
-
fromJSON(object) {
|
|
155
|
-
return {
|
|
156
|
-
updateCommandMetadata: isSet(object.updateCommandMetadata)
|
|
157
|
-
? common_1.AckResponse.fromJSON(object.updateCommandMetadata)
|
|
158
|
-
: undefined,
|
|
159
|
-
};
|
|
160
|
-
},
|
|
161
|
-
toJSON(message) {
|
|
162
|
-
const obj = {};
|
|
163
|
-
if (message.updateCommandMetadata !== undefined) {
|
|
164
|
-
obj.updateCommandMetadata = common_1.AckResponse.toJSON(message.updateCommandMetadata);
|
|
165
|
-
}
|
|
166
|
-
return obj;
|
|
167
|
-
},
|
|
168
|
-
create(base) {
|
|
169
|
-
return exports.Response.fromPartial(base ?? {});
|
|
170
|
-
},
|
|
171
|
-
fromPartial(object) {
|
|
172
|
-
const message = createBaseResponse();
|
|
173
|
-
message.updateCommandMetadata =
|
|
174
|
-
(object.updateCommandMetadata !== undefined && object.updateCommandMetadata !== null)
|
|
175
|
-
? common_1.AckResponse.fromPartial(object.updateCommandMetadata)
|
|
176
|
-
: undefined;
|
|
177
|
-
return message;
|
|
178
|
-
},
|
|
179
|
-
};
|
|
180
|
-
function isSet(value) {
|
|
181
|
-
return value !== null && value !== undefined;
|
|
182
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "proto.ext.common";
|
|
3
|
-
export interface AckResponse {
|
|
4
|
-
}
|
|
5
|
-
export interface ErrorResponse {
|
|
6
|
-
errorText: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const AckResponse: MessageFns<AckResponse>;
|
|
9
|
-
export declare const ErrorResponse: MessageFns<ErrorResponse>;
|
|
10
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
11
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
12
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
13
|
-
} : Partial<T>;
|
|
14
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
15
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
16
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
17
|
-
} & {
|
|
18
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
19
|
-
};
|
|
20
|
-
export interface MessageFns<T> {
|
|
21
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
22
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
23
|
-
fromJSON(object: any): T;
|
|
24
|
-
toJSON(message: T): unknown;
|
|
25
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
26
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
package/dist/api/proto/common.js
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.7
|
|
5
|
-
// protoc v6.33.1
|
|
6
|
-
// source: common.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ErrorResponse = exports.AckResponse = exports.protobufPackage = void 0;
|
|
9
|
-
/* eslint-disable */
|
|
10
|
-
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
-
exports.protobufPackage = "proto.ext.common";
|
|
12
|
-
function createBaseAckResponse() {
|
|
13
|
-
return {};
|
|
14
|
-
}
|
|
15
|
-
exports.AckResponse = {
|
|
16
|
-
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
17
|
-
return writer;
|
|
18
|
-
},
|
|
19
|
-
decode(input, length) {
|
|
20
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
21
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
22
|
-
const message = createBaseAckResponse();
|
|
23
|
-
while (reader.pos < end) {
|
|
24
|
-
const tag = reader.uint32();
|
|
25
|
-
switch (tag >>> 3) {
|
|
26
|
-
}
|
|
27
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
28
|
-
break;
|
|
29
|
-
}
|
|
30
|
-
reader.skip(tag & 7);
|
|
31
|
-
}
|
|
32
|
-
return message;
|
|
33
|
-
},
|
|
34
|
-
fromJSON(_) {
|
|
35
|
-
return {};
|
|
36
|
-
},
|
|
37
|
-
toJSON(_) {
|
|
38
|
-
const obj = {};
|
|
39
|
-
return obj;
|
|
40
|
-
},
|
|
41
|
-
create(base) {
|
|
42
|
-
return exports.AckResponse.fromPartial(base ?? {});
|
|
43
|
-
},
|
|
44
|
-
fromPartial(_) {
|
|
45
|
-
const message = createBaseAckResponse();
|
|
46
|
-
return message;
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
function createBaseErrorResponse() {
|
|
50
|
-
return { errorText: "" };
|
|
51
|
-
}
|
|
52
|
-
exports.ErrorResponse = {
|
|
53
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
54
|
-
if (message.errorText !== "") {
|
|
55
|
-
writer.uint32(10).string(message.errorText);
|
|
56
|
-
}
|
|
57
|
-
return writer;
|
|
58
|
-
},
|
|
59
|
-
decode(input, length) {
|
|
60
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
61
|
-
const end = length === undefined ? reader.len : reader.pos + length;
|
|
62
|
-
const message = createBaseErrorResponse();
|
|
63
|
-
while (reader.pos < end) {
|
|
64
|
-
const tag = reader.uint32();
|
|
65
|
-
switch (tag >>> 3) {
|
|
66
|
-
case 1: {
|
|
67
|
-
if (tag !== 10) {
|
|
68
|
-
break;
|
|
69
|
-
}
|
|
70
|
-
message.errorText = reader.string();
|
|
71
|
-
continue;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
75
|
-
break;
|
|
76
|
-
}
|
|
77
|
-
reader.skip(tag & 7);
|
|
78
|
-
}
|
|
79
|
-
return message;
|
|
80
|
-
},
|
|
81
|
-
fromJSON(object) {
|
|
82
|
-
return { errorText: isSet(object.errorText) ? globalThis.String(object.errorText) : "" };
|
|
83
|
-
},
|
|
84
|
-
toJSON(message) {
|
|
85
|
-
const obj = {};
|
|
86
|
-
if (message.errorText !== "") {
|
|
87
|
-
obj.errorText = message.errorText;
|
|
88
|
-
}
|
|
89
|
-
return obj;
|
|
90
|
-
},
|
|
91
|
-
create(base) {
|
|
92
|
-
return exports.ErrorResponse.fromPartial(base ?? {});
|
|
93
|
-
},
|
|
94
|
-
fromPartial(object) {
|
|
95
|
-
const message = createBaseErrorResponse();
|
|
96
|
-
message.errorText = object.errorText ?? "";
|
|
97
|
-
return message;
|
|
98
|
-
},
|
|
99
|
-
};
|
|
100
|
-
function isSet(value) {
|
|
101
|
-
return value !== null && value !== undefined;
|
|
102
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { Request as Request2, Response as Response10 } from "./application";
|
|
3
|
-
import { Request as Request3, Response as Response11 } from "./clipboard";
|
|
4
|
-
import { Request as Request8, Response as Response16 } from "./command";
|
|
5
|
-
import { ErrorResponse } from "./common";
|
|
6
|
-
import { Request as Request6, Response as Response14 } from "./file-search";
|
|
7
|
-
import { CommandMode } from "./manager";
|
|
8
|
-
import { Request as Request5, Response as Response13 } from "./oauth";
|
|
9
|
-
import { Request as Request4, Response as Response12 } from "./storage";
|
|
10
|
-
import { Request as Request1, Response as Response9 } from "./ui";
|
|
11
|
-
import { Request as Request7, Response as Response15 } from "./wm";
|
|
12
|
-
export declare const protobufPackage = "proto.ext.extension";
|
|
13
|
-
export interface Request {
|
|
14
|
-
requestId: string;
|
|
15
|
-
data: RequestData | undefined;
|
|
16
|
-
}
|
|
17
|
-
export interface RequestData {
|
|
18
|
-
ui?: Request1 | undefined;
|
|
19
|
-
app?: Request2 | undefined;
|
|
20
|
-
clipboard?: Request3 | undefined;
|
|
21
|
-
storage?: Request4 | undefined;
|
|
22
|
-
oauth?: Request5 | undefined;
|
|
23
|
-
fileSearch?: Request6 | undefined;
|
|
24
|
-
wm?: Request7 | undefined;
|
|
25
|
-
command?: Request8 | undefined;
|
|
26
|
-
}
|
|
27
|
-
export interface Response {
|
|
28
|
-
requestId: string;
|
|
29
|
-
data?: ResponseData | undefined;
|
|
30
|
-
error?: ErrorResponse | undefined;
|
|
31
|
-
}
|
|
32
|
-
export interface ResponseData {
|
|
33
|
-
ui?: Response9 | undefined;
|
|
34
|
-
app?: Response10 | undefined;
|
|
35
|
-
clipboard?: Response11 | undefined;
|
|
36
|
-
storage?: Response12 | undefined;
|
|
37
|
-
oauth?: Response13 | undefined;
|
|
38
|
-
fileSearch?: Response14 | undefined;
|
|
39
|
-
wm?: Response15 | undefined;
|
|
40
|
-
command?: Response16 | undefined;
|
|
41
|
-
}
|
|
42
|
-
export interface Event {
|
|
43
|
-
id: string;
|
|
44
|
-
generic?: GenericEventData | undefined;
|
|
45
|
-
crash?: CrashEventData | undefined;
|
|
46
|
-
launch?: LaunchEventData | undefined;
|
|
47
|
-
}
|
|
48
|
-
export interface CrashEventData {
|
|
49
|
-
text: string;
|
|
50
|
-
}
|
|
51
|
-
export interface GenericEventData {
|
|
52
|
-
json: string;
|
|
53
|
-
}
|
|
54
|
-
export interface LaunchEventData {
|
|
55
|
-
extensionName: string;
|
|
56
|
-
commandName: string;
|
|
57
|
-
mode: CommandMode;
|
|
58
|
-
entrypoint: string;
|
|
59
|
-
assetPath: string;
|
|
60
|
-
supportPath: string;
|
|
61
|
-
preferenceValues: {
|
|
62
|
-
[key: string]: any | undefined;
|
|
63
|
-
};
|
|
64
|
-
argumentValues: {
|
|
65
|
-
[key: string]: any | undefined;
|
|
66
|
-
};
|
|
67
|
-
isRaycast: boolean;
|
|
68
|
-
ownerOrAuthorName: string;
|
|
69
|
-
}
|
|
70
|
-
export interface LaunchEventData_PreferenceValuesEntry {
|
|
71
|
-
key: string;
|
|
72
|
-
value: any | undefined;
|
|
73
|
-
}
|
|
74
|
-
export interface LaunchEventData_ArgumentValuesEntry {
|
|
75
|
-
key: string;
|
|
76
|
-
value: any | undefined;
|
|
77
|
-
}
|
|
78
|
-
export declare const Request: MessageFns<Request>;
|
|
79
|
-
export declare const RequestData: MessageFns<RequestData>;
|
|
80
|
-
export declare const Response: MessageFns<Response>;
|
|
81
|
-
export declare const ResponseData: MessageFns<ResponseData>;
|
|
82
|
-
export declare const Event: MessageFns<Event>;
|
|
83
|
-
export declare const CrashEventData: MessageFns<CrashEventData>;
|
|
84
|
-
export declare const GenericEventData: MessageFns<GenericEventData>;
|
|
85
|
-
export declare const LaunchEventData: MessageFns<LaunchEventData>;
|
|
86
|
-
export declare const LaunchEventData_PreferenceValuesEntry: MessageFns<LaunchEventData_PreferenceValuesEntry>;
|
|
87
|
-
export declare const LaunchEventData_ArgumentValuesEntry: MessageFns<LaunchEventData_ArgumentValuesEntry>;
|
|
88
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
89
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
90
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
91
|
-
} : Partial<T>;
|
|
92
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
93
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
94
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
95
|
-
} & {
|
|
96
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
97
|
-
};
|
|
98
|
-
export interface MessageFns<T> {
|
|
99
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
100
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
101
|
-
fromJSON(object: any): T;
|
|
102
|
-
toJSON(message: T): unknown;
|
|
103
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
104
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
105
|
-
}
|
|
106
|
-
export {};
|