@vicinae/api 0.20.8 → 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,88 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
export declare const protobufPackage = "proto.ext.clipboard";
|
|
3
|
-
export interface ClipboardHtmlContent {
|
|
4
|
-
html: string;
|
|
5
|
-
text: string;
|
|
6
|
-
}
|
|
7
|
-
export interface ClipboardPathContent {
|
|
8
|
-
path: string;
|
|
9
|
-
}
|
|
10
|
-
export interface ClipboardOptions {
|
|
11
|
-
concealed: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface ClearRequest {
|
|
14
|
-
}
|
|
15
|
-
export interface ClearResponse {
|
|
16
|
-
}
|
|
17
|
-
export interface ReadContentRequest {
|
|
18
|
-
}
|
|
19
|
-
export interface ReadContentResponse {
|
|
20
|
-
content: ClipboardReadContent | undefined;
|
|
21
|
-
}
|
|
22
|
-
export interface CopyToClipboardRequest {
|
|
23
|
-
content: ClipboardContent | undefined;
|
|
24
|
-
options: ClipboardOptions | undefined;
|
|
25
|
-
}
|
|
26
|
-
export interface PasteToClipboardRequest {
|
|
27
|
-
content: ClipboardContent | undefined;
|
|
28
|
-
}
|
|
29
|
-
export interface ClipboardContent {
|
|
30
|
-
text?: string | undefined;
|
|
31
|
-
html?: ClipboardHtmlContent | undefined;
|
|
32
|
-
path?: ClipboardPathContent | undefined;
|
|
33
|
-
}
|
|
34
|
-
export interface ClipboardReadContent {
|
|
35
|
-
text: string;
|
|
36
|
-
file?: string | undefined;
|
|
37
|
-
html?: string | undefined;
|
|
38
|
-
}
|
|
39
|
-
export interface CopyToClipboardResponse {
|
|
40
|
-
}
|
|
41
|
-
export interface PasteToClipboardResponse {
|
|
42
|
-
}
|
|
43
|
-
export interface Request {
|
|
44
|
-
copy?: CopyToClipboardRequest | undefined;
|
|
45
|
-
paste?: PasteToClipboardRequest | undefined;
|
|
46
|
-
readContent?: ReadContentRequest | undefined;
|
|
47
|
-
clear?: ClearRequest | undefined;
|
|
48
|
-
}
|
|
49
|
-
export interface Response {
|
|
50
|
-
copy?: CopyToClipboardResponse | undefined;
|
|
51
|
-
paste?: PasteToClipboardResponse | undefined;
|
|
52
|
-
readContent?: ReadContentResponse | undefined;
|
|
53
|
-
clear?: ClearResponse | undefined;
|
|
54
|
-
}
|
|
55
|
-
export declare const ClipboardHtmlContent: MessageFns<ClipboardHtmlContent>;
|
|
56
|
-
export declare const ClipboardPathContent: MessageFns<ClipboardPathContent>;
|
|
57
|
-
export declare const ClipboardOptions: MessageFns<ClipboardOptions>;
|
|
58
|
-
export declare const ClearRequest: MessageFns<ClearRequest>;
|
|
59
|
-
export declare const ClearResponse: MessageFns<ClearResponse>;
|
|
60
|
-
export declare const ReadContentRequest: MessageFns<ReadContentRequest>;
|
|
61
|
-
export declare const ReadContentResponse: MessageFns<ReadContentResponse>;
|
|
62
|
-
export declare const CopyToClipboardRequest: MessageFns<CopyToClipboardRequest>;
|
|
63
|
-
export declare const PasteToClipboardRequest: MessageFns<PasteToClipboardRequest>;
|
|
64
|
-
export declare const ClipboardContent: MessageFns<ClipboardContent>;
|
|
65
|
-
export declare const ClipboardReadContent: MessageFns<ClipboardReadContent>;
|
|
66
|
-
export declare const CopyToClipboardResponse: MessageFns<CopyToClipboardResponse>;
|
|
67
|
-
export declare const PasteToClipboardResponse: MessageFns<PasteToClipboardResponse>;
|
|
68
|
-
export declare const Request: MessageFns<Request>;
|
|
69
|
-
export declare const Response: MessageFns<Response>;
|
|
70
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
71
|
-
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 {} ? {
|
|
72
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
73
|
-
} : Partial<T>;
|
|
74
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
75
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
76
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
77
|
-
} & {
|
|
78
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
79
|
-
};
|
|
80
|
-
export interface MessageFns<T> {
|
|
81
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
82
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
83
|
-
fromJSON(object: any): T;
|
|
84
|
-
toJSON(message: T): unknown;
|
|
85
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
86
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
87
|
-
}
|
|
88
|
-
export {};
|