@openkaiden/kdn-api 0.8.0 → 0.10.0

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 (2) hide show
  1. package/index.d.ts +56 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -93,7 +93,18 @@ export type paths = {
93
93
  * "paths": {
94
94
  * "source": "/home/user/workspace1",
95
95
  * "configuration": "/home/user/workspace1/.kaiden"
96
- * }
96
+ * },
97
+ * "timestamps": {
98
+ * "created": 1777383824532,
99
+ * "started": 1777383824532
100
+ * },
101
+ * "forwards": [
102
+ * {
103
+ * "target": 8080,
104
+ * "bind": "0.0.0.0",
105
+ * "port": 18080
106
+ * }
107
+ * ]
97
108
  * }
98
109
  */
99
110
  "application/json": components["schemas"]["Workspace"];
@@ -159,7 +170,18 @@ export type paths = {
159
170
  * "paths": {
160
171
  * "source": "/home/user/workspace1",
161
172
  * "configuration": "/home/user/workspace1/.kaiden"
162
- * }
173
+ * },
174
+ * "timestamps": {
175
+ * "created": 1777383824532,
176
+ * "started": 1777383824532
177
+ * },
178
+ * "forwards": [
179
+ * {
180
+ * "target": 8080,
181
+ * "bind": "0.0.0.0",
182
+ * "port": 18080
183
+ * }
184
+ * ]
163
185
  * },
164
186
  * {
165
187
  * "id": "20cb499a4561703e973631fa3036cc8be9a06b709759d23a7d7f6dd1df146d95",
@@ -170,7 +192,11 @@ export type paths = {
170
192
  * "paths": {
171
193
  * "source": "/home/user/workspace2",
172
194
  * "configuration": "/home/user/.kdn/workspaces/workspace2"
173
- * }
195
+ * },
196
+ * "timestamps": {
197
+ * "created": 1777383824532
198
+ * },
199
+ * "forwards": []
174
200
  * }
175
201
  * ]
176
202
  * }
@@ -685,6 +711,17 @@ export type components = {
685
711
  source: string;
686
712
  configuration: string;
687
713
  };
714
+ WorkspaceTimestamps: {
715
+ /** Format: int64 */
716
+ created: number;
717
+ /** Format: int64 */
718
+ started?: number;
719
+ };
720
+ WorkspaceForward: {
721
+ target: number;
722
+ bind: string;
723
+ port: number;
724
+ };
688
725
  Workspace: {
689
726
  id: string;
690
727
  name: string;
@@ -693,6 +730,22 @@ export type components = {
693
730
  model?: string;
694
731
  state: components["schemas"]["WorkspaceState"];
695
732
  paths: components["schemas"]["WorkspacePaths"];
733
+ timestamps: components["schemas"]["WorkspaceTimestamps"];
734
+ /**
735
+ * @example [
736
+ * {
737
+ * "target": 8080,
738
+ * "bind": "0.0.0.0",
739
+ * "port": 18080
740
+ * },
741
+ * {
742
+ * "target": 5432,
743
+ * "bind": "localhost",
744
+ * "port": 5433
745
+ * }
746
+ * ]
747
+ */
748
+ forwards: components["schemas"]["WorkspaceForward"][];
696
749
  };
697
750
  Info: {
698
751
  version: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openkaiden/kdn-api",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "description": "TypeScript types for the kaiden cli (kdn)",
5
5
  "repository": "https://github.com/openkaiden/kdn-api",
6
6
  "publishConfig": {