@yaakapp/api 0.1.13 → 0.1.14

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.
@@ -6,6 +6,7 @@ export type GrpcEvent = {
6
6
  requestId: string;
7
7
  connectionId: string;
8
8
  createdAt: string;
9
+ updatedAt: string;
9
10
  content: string;
10
11
  eventType: GrpcEventType;
11
12
  metadata: {
@@ -7,6 +7,7 @@ import type { GrpcRequest } from "./GrpcRequest";
7
7
  import type { HttpRequest } from "./HttpRequest";
8
8
  import type { HttpResponse } from "./HttpResponse";
9
9
  import type { KeyValue } from "./KeyValue";
10
+ import type { Plugin } from "./Plugin";
10
11
  import type { Settings } from "./Settings";
11
12
  import type { Workspace } from "./Workspace";
12
- export type Model = Environment | Folder | GrpcConnection | GrpcEvent | GrpcRequest | HttpRequest | HttpResponse | KeyValue | Workspace | CookieJar | Settings;
13
+ export type Model = Environment | Folder | GrpcConnection | GrpcEvent | GrpcRequest | HttpRequest | HttpResponse | KeyValue | Workspace | CookieJar | Settings | Plugin;
@@ -0,0 +1,11 @@
1
+ export type Plugin = {
2
+ id: string;
3
+ model: "plugin";
4
+ createdAt: string;
5
+ updatedAt: string;
6
+ checkedAt: string | null;
7
+ name: string;
8
+ version: string;
9
+ uri: string;
10
+ enabled: boolean;
11
+ };
@@ -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 });
@@ -1,6 +1,6 @@
1
1
  export type Settings = {
2
2
  id: string;
3
- model: 'settings';
3
+ model: "settings";
4
4
  createdAt: string;
5
5
  updatedAt: string;
6
6
  theme: string;
package/lib/index.d.ts CHANGED
@@ -61,3 +61,4 @@ export * from './gen/TemplateFunctionSelectOption';
61
61
  export * from './gen/TemplateFunctionTextArg';
62
62
  export * from './gen/ToastVariant';
63
63
  export * from './gen/Workspace';
64
+ export * from './gen/Plugin';
package/lib/index.js CHANGED
@@ -76,3 +76,4 @@ __exportStar(require("./gen/TemplateFunctionSelectOption"), exports);
76
76
  __exportStar(require("./gen/TemplateFunctionTextArg"), exports);
77
77
  __exportStar(require("./gen/ToastVariant"), exports);
78
78
  __exportStar(require("./gen/Workspace"), exports);
79
+ __exportStar(require("./gen/Plugin"), exports);
@@ -7,7 +7,7 @@ export type { Context } from './Context';
7
7
  /**
8
8
  * The global structure of a Yaak plugin
9
9
  */
10
- export type Plugin = {
10
+ export type PluginDefinition = {
11
11
  importer?: ImporterPlugin;
12
12
  theme?: ThemePlugin;
13
13
  filter?: FilterPlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaakapp/api",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "main": "lib/index.js",
5
5
  "typings": "./lib/index.d.ts",
6
6
  "files": [