@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.
Files changed (76) hide show
  1. package/dist/api/alert.d.ts +1 -1
  2. package/dist/api/alert.js +9 -14
  3. package/dist/api/client.d.ts +7 -0
  4. package/dist/api/client.js +11 -0
  5. package/dist/api/clipboard.d.ts +4 -8
  6. package/dist/api/clipboard.js +13 -18
  7. package/dist/api/color.d.ts +4 -10
  8. package/dist/api/color.js +8 -47
  9. package/dist/api/command.js +4 -6
  10. package/dist/api/controls.js +9 -56
  11. package/dist/api/environment.d.ts +0 -11
  12. package/dist/api/environment.js +2 -1
  13. package/dist/api/file-search.d.ts +3 -4
  14. package/dist/api/file-search.js +6 -4
  15. package/dist/api/globals.d.ts +9 -0
  16. package/dist/api/globals.js +5 -0
  17. package/dist/api/hooks/use-imperative-form-handle.d.ts +1 -1
  18. package/dist/api/hooks/use-imperative-form-handle.js +6 -3
  19. package/dist/api/hooks/use-navigation.d.ts +2 -2
  20. package/dist/api/hooks/use-navigation.js +2 -5
  21. package/dist/api/image.d.ts +4 -4
  22. package/dist/api/image.js +12 -51
  23. package/dist/api/index.d.ts +0 -2
  24. package/dist/api/index.js +0 -2
  25. package/dist/api/local-storage.js +7 -14
  26. package/dist/api/oauth.d.ts +1 -1
  27. package/dist/api/oauth.js +7 -15
  28. package/dist/api/preference.d.ts +2 -4
  29. package/dist/api/preference.js +10 -6
  30. package/dist/api/proto/api.d.ts +240 -0
  31. package/dist/api/proto/api.js +271 -0
  32. package/dist/api/toast.js +7 -77
  33. package/dist/api/utils.d.ts +6 -2
  34. package/dist/api/utils.js +9 -26
  35. package/dist/api/window-management.d.ts +3 -5
  36. package/dist/api/window-management.js +14 -27
  37. package/dist/schemas/manifest.d.ts +3 -3
  38. package/package.json +1 -4
  39. package/dist/api/bus.d.ts +0 -125
  40. package/dist/api/bus.js +0 -201
  41. package/dist/api/context/index.d.ts +0 -1
  42. package/dist/api/context/index.js +0 -17
  43. package/dist/api/context/navigation-context.d.ts +0 -7
  44. package/dist/api/context/navigation-context.js +0 -12
  45. package/dist/api/context/navigation-provider.d.ts +0 -7
  46. package/dist/api/context/navigation-provider.js +0 -58
  47. package/dist/api/hooks.d.ts +0 -1
  48. package/dist/api/hooks.js +0 -30
  49. package/dist/api/proto/application.d.ts +0 -79
  50. package/dist/api/proto/application.js +0 -826
  51. package/dist/api/proto/clipboard.d.ts +0 -88
  52. package/dist/api/proto/clipboard.js +0 -929
  53. package/dist/api/proto/command.d.ts +0 -35
  54. package/dist/api/proto/command.js +0 -182
  55. package/dist/api/proto/common.d.ts +0 -28
  56. package/dist/api/proto/common.js +0 -102
  57. package/dist/api/proto/extension.d.ts +0 -106
  58. package/dist/api/proto/extension.js +0 -1122
  59. package/dist/api/proto/file-search.d.ts +0 -42
  60. package/dist/api/proto/file-search.js +0 -290
  61. package/dist/api/proto/google/protobuf/struct.d.ts +0 -107
  62. package/dist/api/proto/google/protobuf/struct.js +0 -456
  63. package/dist/api/proto/ipc.d.ts +0 -64
  64. package/dist/api/proto/ipc.js +0 -604
  65. package/dist/api/proto/manager.d.ts +0 -87
  66. package/dist/api/proto/manager.js +0 -776
  67. package/dist/api/proto/oauth.d.ts +0 -97
  68. package/dist/api/proto/oauth.js +0 -994
  69. package/dist/api/proto/storage.d.ts +0 -80
  70. package/dist/api/proto/storage.js +0 -804
  71. package/dist/api/proto/ui.d.ts +0 -208
  72. package/dist/api/proto/ui.js +0 -2316
  73. package/dist/api/proto/wlr-clipboard.d.ts +0 -30
  74. package/dist/api/proto/wlr-clipboard.js +0 -158
  75. package/dist/api/proto/wm.d.ts +0 -142
  76. 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 {};