@yaakapp/api 0.1.2 → 0.1.4

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.
@@ -0,0 +1,8 @@
1
+ import type { CookieDomain } from "./CookieDomain";
2
+ import type { CookieExpires } from "./CookieExpires";
3
+ export type Cookie = {
4
+ raw_cookie: string;
5
+ domain: CookieDomain;
6
+ expires: CookieExpires;
7
+ path: [string, boolean];
8
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export type CookieDomain = {
2
+ "HostOnly": string;
3
+ } | {
4
+ "Suffix": string;
5
+ } | "NotPresent" | "Empty";
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type CookieExpires = {
2
+ "AtUtc": string;
3
+ } | "SessionEnd";
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type { Cookie } from "./Cookie";
2
+ export type CookieJar = {
3
+ id: string;
4
+ model: "cookie_jar";
5
+ createdAt: string;
6
+ updatedAt: string;
7
+ workspaceId: string;
8
+ name: string;
9
+ cookies: Array<Cookie>;
10
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,3 @@
1
- import type { JsonValue } from "./serde_json/JsonValue";
2
1
  export type FilterResponse = {
3
- items: Array<JsonValue>;
2
+ content: string;
4
3
  };
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ import type { CookieJar } from "./CookieJar";
1
2
  import type { Environment } from "./Environment";
2
3
  import type { Folder } from "./Folder";
3
4
  import type { GrpcConnection } from "./GrpcConnection";
@@ -6,5 +7,6 @@ import type { GrpcRequest } from "./GrpcRequest";
6
7
  import type { HttpRequest } from "./HttpRequest";
7
8
  import type { HttpResponse } from "./HttpResponse";
8
9
  import type { KeyValue } from "./KeyValue";
10
+ import type { Settings } from "./Settings";
9
11
  import type { Workspace } from "./Workspace";
10
- export type Model = Environment | Folder | GrpcConnection | GrpcEvent | GrpcRequest | HttpRequest | HttpResponse | KeyValue | Workspace;
12
+ export type Model = Environment | Folder | GrpcConnection | GrpcEvent | GrpcRequest | HttpRequest | HttpResponse | KeyValue | Workspace | CookieJar | Settings;
@@ -0,0 +1,16 @@
1
+ export type Settings = {
2
+ id: string;
3
+ model: "settings";
4
+ createdAt: string;
5
+ updatedAt: string;
6
+ theme: string;
7
+ appearance: string;
8
+ themeDark: string;
9
+ themeLight: string;
10
+ updateChannel: string;
11
+ interfaceFontSize: number;
12
+ interfaceScale: number;
13
+ editorFontSize: number;
14
+ editorSoftWrap: boolean;
15
+ openWorkspaceNewWindow: boolean | null;
16
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
package/lib/index.d.ts CHANGED
@@ -2,6 +2,10 @@ export type * from './plugins';
2
2
  export type * from './themes';
3
3
  export * from './gen/BootRequest';
4
4
  export * from './gen/BootResponse';
5
+ export * from './gen/Cookie';
6
+ export * from './gen/CookieDomain';
7
+ export * from './gen/CookieExpires';
8
+ export * from './gen/CookieJar';
5
9
  export * from './gen/EmptyResponse';
6
10
  export * from './gen/Environment';
7
11
  export * from './gen/EnvironmentVariable';
@@ -26,4 +30,5 @@ export * from './gen/InternalEvent';
26
30
  export * from './gen/InternalEventPayload';
27
31
  export * from './gen/KeyValue';
28
32
  export * from './gen/Model';
33
+ export * from './gen/Settings';
29
34
  export * from './gen/Workspace';
package/lib/index.js CHANGED
@@ -16,6 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./gen/BootRequest"), exports);
18
18
  __exportStar(require("./gen/BootResponse"), exports);
19
+ __exportStar(require("./gen/Cookie"), exports);
20
+ __exportStar(require("./gen/CookieDomain"), exports);
21
+ __exportStar(require("./gen/CookieExpires"), exports);
22
+ __exportStar(require("./gen/CookieJar"), exports);
19
23
  __exportStar(require("./gen/EmptyResponse"), exports);
20
24
  __exportStar(require("./gen/Environment"), exports);
21
25
  __exportStar(require("./gen/EnvironmentVariable"), exports);
@@ -40,4 +44,5 @@ __exportStar(require("./gen/InternalEvent"), exports);
40
44
  __exportStar(require("./gen/InternalEventPayload"), exports);
41
45
  __exportStar(require("./gen/KeyValue"), exports);
42
46
  __exportStar(require("./gen/Model"), exports);
47
+ __exportStar(require("./gen/Settings"), exports);
43
48
  __exportStar(require("./gen/Workspace"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaakapp/api",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "main": "lib/index.js",
5
5
  "typings": "./lib/index.d.ts",
6
6
  "files": [