@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,97 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { Image } from "./ui";
|
|
3
|
-
export declare const protobufPackage = "proto.ext.oauth";
|
|
4
|
-
export declare enum RedirectMethod {
|
|
5
|
-
Web = 0,
|
|
6
|
-
App = 1,
|
|
7
|
-
AppURI = 2,
|
|
8
|
-
UNRECOGNIZED = -1
|
|
9
|
-
}
|
|
10
|
-
export declare function redirectMethodFromJSON(object: any): RedirectMethod;
|
|
11
|
-
export declare function redirectMethodToJSON(object: RedirectMethod): string;
|
|
12
|
-
export interface PKCEClientOptions {
|
|
13
|
-
id?: string | undefined;
|
|
14
|
-
name: string;
|
|
15
|
-
/** we need to implement image like schema */
|
|
16
|
-
description: string;
|
|
17
|
-
icon?: Image | undefined;
|
|
18
|
-
}
|
|
19
|
-
export interface AuthorizeRequest {
|
|
20
|
-
client: PKCEClientOptions | undefined;
|
|
21
|
-
url: string;
|
|
22
|
-
}
|
|
23
|
-
export interface TokenSet {
|
|
24
|
-
accessToken: string;
|
|
25
|
-
refreshToken?: string | undefined;
|
|
26
|
-
idToken?: string | undefined;
|
|
27
|
-
expiresIn?: number | undefined;
|
|
28
|
-
scope?: string | undefined;
|
|
29
|
-
updatedAt: number;
|
|
30
|
-
}
|
|
31
|
-
export interface GetTokensRequest {
|
|
32
|
-
providerId?: string | undefined;
|
|
33
|
-
}
|
|
34
|
-
export interface GetTokensResponse {
|
|
35
|
-
tokenSet: TokenSet | undefined;
|
|
36
|
-
}
|
|
37
|
-
export interface SetTokensRequest {
|
|
38
|
-
providerId?: string | undefined;
|
|
39
|
-
accessToken: string;
|
|
40
|
-
refreshToken?: string | undefined;
|
|
41
|
-
idToken?: string | undefined;
|
|
42
|
-
expiresIn?: number | undefined;
|
|
43
|
-
scope?: string | undefined;
|
|
44
|
-
}
|
|
45
|
-
export interface SetTokensResponse {
|
|
46
|
-
}
|
|
47
|
-
export interface RemoveTokensRequest {
|
|
48
|
-
providerId?: string | undefined;
|
|
49
|
-
}
|
|
50
|
-
export interface RemoveTokensResponse {
|
|
51
|
-
}
|
|
52
|
-
export interface AuthorizeResponse {
|
|
53
|
-
code: string;
|
|
54
|
-
}
|
|
55
|
-
export interface Request {
|
|
56
|
-
authorize?: AuthorizeRequest | undefined;
|
|
57
|
-
getTokens?: GetTokensRequest | undefined;
|
|
58
|
-
setTokens?: SetTokensRequest | undefined;
|
|
59
|
-
removeTokens?: RemoveTokensRequest | undefined;
|
|
60
|
-
}
|
|
61
|
-
export interface Response {
|
|
62
|
-
authorize?: AuthorizeResponse | undefined;
|
|
63
|
-
getTokens?: GetTokensResponse | undefined;
|
|
64
|
-
setTokens?: SetTokensResponse | undefined;
|
|
65
|
-
removeTokens?: RemoveTokensResponse | undefined;
|
|
66
|
-
}
|
|
67
|
-
export declare const PKCEClientOptions: MessageFns<PKCEClientOptions>;
|
|
68
|
-
export declare const AuthorizeRequest: MessageFns<AuthorizeRequest>;
|
|
69
|
-
export declare const TokenSet: MessageFns<TokenSet>;
|
|
70
|
-
export declare const GetTokensRequest: MessageFns<GetTokensRequest>;
|
|
71
|
-
export declare const GetTokensResponse: MessageFns<GetTokensResponse>;
|
|
72
|
-
export declare const SetTokensRequest: MessageFns<SetTokensRequest>;
|
|
73
|
-
export declare const SetTokensResponse: MessageFns<SetTokensResponse>;
|
|
74
|
-
export declare const RemoveTokensRequest: MessageFns<RemoveTokensRequest>;
|
|
75
|
-
export declare const RemoveTokensResponse: MessageFns<RemoveTokensResponse>;
|
|
76
|
-
export declare const AuthorizeResponse: MessageFns<AuthorizeResponse>;
|
|
77
|
-
export declare const Request: MessageFns<Request>;
|
|
78
|
-
export declare const Response: MessageFns<Response>;
|
|
79
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
80
|
-
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 {} ? {
|
|
81
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
82
|
-
} : Partial<T>;
|
|
83
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
84
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
85
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
86
|
-
} & {
|
|
87
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
88
|
-
};
|
|
89
|
-
export interface MessageFns<T> {
|
|
90
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
91
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
92
|
-
fromJSON(object: any): T;
|
|
93
|
-
toJSON(message: T): unknown;
|
|
94
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
95
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
96
|
-
}
|
|
97
|
-
export {};
|