@nosana/types 0.1.24 → 2.1.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.
@@ -1,4 +1,4 @@
1
- import typia, { tags } from "typia";
1
+ import { type IValidation, tags } from "typia";
2
2
  import { JobDefinition } from "./JobDefinition/index.js";
3
3
  export * from "./Diagnostics/index.js";
4
4
  export * from "./Flows/index.js";
@@ -24,4 +24,4 @@ type UniqueById = tags.TagBase<{
24
24
  type JobDefinitionWithRule = Omit<JobDefinition, 'ops'> & {
25
25
  ops: JobDefinition['ops'] & UniqueById;
26
26
  };
27
- export declare const validateJobDefinition: ((input: unknown) => typia.IValidation<JobDefinitionWithRule>) & import("@standard-schema/spec").StandardSchemaV1<unknown, JobDefinitionWithRule>;
27
+ export declare const validateJobDefinition: (input: unknown) => IValidation<JobDefinitionWithRule>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Jobs/index.ts"],"names":[],"mappings":";;;AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAGpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAwB/B,MAAM,CAAC,MAAM,qBAAqB,yvBA9BD,EAAE;;;qBAGV,EAAE;;;;;IAGf,CAAC;;AAEP,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;04BARG,EAAG;;;;;;;;;;4CAgBW,CAAE,SAAQ,CAAE;;;;;QAOlC,CAAC;;;;;;;;;YAO+O,CAAC;;QAAoD,CAAC;IAAW,CAAC;;;;;QAA0J,CAAC;IAAW,CAAC;;AAA8B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2GAhCpW,EAAG;;;;;;QAIP,CAAC;;IACf,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2BoC,CAAC"}
@@ -127,26 +127,6 @@ export interface paths {
127
127
  patch?: never;
128
128
  trace?: never;
129
129
  };
130
- "/api/auth/sign-message/external": {
131
- parameters: {
132
- query?: never;
133
- header?: never;
134
- path?: never;
135
- cookie?: never;
136
- };
137
- get?: never;
138
- put?: never;
139
- /**
140
- * Get the signed message for external service authentication
141
- * @description Authentication required via Authorization header. Supports either JWT (Bearer <jwt>) or API key (Bearer <key>).
142
- */
143
- post: operations["postApiAuthSign-messageExternal"];
144
- delete?: never;
145
- options?: never;
146
- head?: never;
147
- patch?: never;
148
- trace?: never;
149
- };
150
130
  "/api/credits/balance": {
151
131
  parameters: {
152
132
  query?: never;
@@ -177,7 +157,26 @@ export interface paths {
177
157
  /** @description List all user deployments. */
178
158
  get: {
179
159
  parameters: {
180
- query?: never;
160
+ query?: {
161
+ /** @description Base64-encoded cursor for keyset pagination */
162
+ cursor?: string;
163
+ /** @description Number of items per page (10, 20, 50, or 100) */
164
+ limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
165
+ /** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
166
+ sort_order?: "asc" | "desc";
167
+ /** @description Filter by deployment status. Can be single value or comma-separated list */
168
+ status?: ("DRAFT" | "ERROR" | "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "INSUFFICIENT_FUNDS" | "ARCHIVED") | string;
169
+ /** @description Filter by deployment strategy. Can be single value or comma-separated list */
170
+ strategy?: ("SIMPLE" | "SIMPLE-EXTEND" | "SCHEDULED" | "INFINITE") | string;
171
+ /** @description Filter by exact deployment ID */
172
+ id?: string;
173
+ /** @description Filter by vault public key */
174
+ vault?: string;
175
+ /** @description Filter deployments created after this date (ISO 8601 format) */
176
+ created_after?: string;
177
+ /** @description Filter deployments created before this date (ISO 8601 format) */
178
+ created_before?: string;
179
+ };
181
180
  header: {
182
181
  /** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
183
182
  "x-user-id"?: string;
@@ -192,13 +191,23 @@ export interface paths {
192
191
  };
193
192
  requestBody?: never;
194
193
  responses: {
195
- /** @description List of deployments. */
194
+ /** @description List of deployments with pagination. */
196
195
  200: {
197
196
  headers: {
198
197
  [name: string]: unknown;
199
198
  };
200
199
  content: {
201
- "application/json": components["schemas"]["Deployments"];
200
+ "application/json": {
201
+ deployments: components["schemas"]["Deployment"][];
202
+ pagination: {
203
+ /** @description Cursor for next page, null if no more pages */
204
+ cursor_next: string | null;
205
+ /** @description Cursor for previous page, null if on first page */
206
+ cursor_prev: string | null;
207
+ /** @description Total number of items in collection */
208
+ total_items: number;
209
+ };
210
+ };
202
211
  };
203
212
  };
204
213
  /** @description Unauthorized. Invalid or missing authentication. */
@@ -369,7 +378,20 @@ export interface paths {
369
378
  /** @description Get scheduled tasks for a specific deployment. */
370
379
  get: {
371
380
  parameters: {
372
- query?: never;
381
+ query?: {
382
+ /** @description Base64-encoded cursor for keyset pagination */
383
+ cursor?: string;
384
+ /** @description Number of items per page (10, 20, 50, or 100) */
385
+ limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
386
+ /** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
387
+ sort_order?: "asc" | "desc";
388
+ /** @description Filter by task type. Can be single value or comma-separated list */
389
+ task?: ("LIST" | "EXTEND" | "STOP") | string;
390
+ /** @description Filter tasks due after this date (ISO 8601 format) */
391
+ due_after?: string;
392
+ /** @description Filter tasks due before this date (ISO 8601 format) */
393
+ due_before?: string;
394
+ };
373
395
  header: {
374
396
  /** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
375
397
  "x-user-id"?: string;
@@ -386,13 +408,23 @@ export interface paths {
386
408
  };
387
409
  requestBody?: never;
388
410
  responses: {
389
- /** @description List of scheduled tasks for the deployment. */
411
+ /** @description List of scheduled tasks for the deployment with pagination. */
390
412
  200: {
391
413
  headers: {
392
414
  [name: string]: unknown;
393
415
  };
394
416
  content: {
395
- "application/json": components["schemas"]["Task"][];
417
+ "application/json": {
418
+ tasks: components["schemas"]["Task"][];
419
+ pagination: {
420
+ /** @description Cursor for next page, null if no more pages */
421
+ cursor_next: string | null;
422
+ /** @description Cursor for previous page, null if on first page */
423
+ cursor_prev: string | null;
424
+ /** @description Total number of items in collection */
425
+ total_items: number;
426
+ };
427
+ };
396
428
  };
397
429
  };
398
430
  /** @description Unauthorized. Invalid or missing authentication. */
@@ -603,7 +635,24 @@ export interface paths {
603
635
  /** @description Get jobs for a specific deployment. */
604
636
  get: {
605
637
  parameters: {
606
- query?: never;
638
+ query?: {
639
+ /** @description Base64-encoded cursor for keyset pagination */
640
+ cursor?: string;
641
+ /** @description Number of items per page (10, 20, 50, or 100) */
642
+ limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
643
+ /** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
644
+ sort_order?: "asc" | "desc";
645
+ /** @description Filter by job state. Can be single value or comma-separated list (e.g., 'RUNNING,COMPLETED') */
646
+ state?: ("QUEUED" | "RUNNING" | "COMPLETED" | "STOPPED") | string;
647
+ /** @description Filter by exact job ID */
648
+ job?: string;
649
+ /** @description Filter by deployment revision number */
650
+ revision?: number;
651
+ /** @description Filter jobs created after this date (ISO 8601 format) */
652
+ created_after?: string;
653
+ /** @description Filter jobs created before this date (ISO 8601 format) */
654
+ created_before?: string;
655
+ };
607
656
  header: {
608
657
  /** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
609
658
  "x-user-id"?: string;
@@ -620,13 +669,23 @@ export interface paths {
620
669
  };
621
670
  requestBody?: never;
622
671
  responses: {
623
- /** @description List of jobs for the deployment. */
672
+ /** @description List of jobs for the deployment with pagination. */
624
673
  200: {
625
674
  headers: {
626
675
  [name: string]: unknown;
627
676
  };
628
677
  content: {
629
- "application/json": components["schemas"]["Job"][];
678
+ "application/json": {
679
+ jobs: components["schemas"]["Job"][];
680
+ pagination: {
681
+ /** @description Cursor for next page, null if no more pages */
682
+ cursor_next: string | null;
683
+ /** @description Cursor for previous page, null if on first page */
684
+ cursor_prev: string | null;
685
+ /** @description Total number of items in collection */
686
+ total_items: number;
687
+ };
688
+ };
630
689
  };
631
690
  };
632
691
  /** @description Unauthorized. Invalid or missing authentication. */
@@ -676,7 +735,20 @@ export interface paths {
676
735
  /** @description Get revisions for a specific deployment. */
677
736
  get: {
678
737
  parameters: {
679
- query?: never;
738
+ query?: {
739
+ /** @description Base64-encoded cursor for keyset pagination */
740
+ cursor?: string;
741
+ /** @description Number of items per page (10, 20, 50, or 100) */
742
+ limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
743
+ /** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
744
+ sort_order?: "asc" | "desc";
745
+ /** @description Filter by exact revision number */
746
+ revision?: number;
747
+ /** @description Filter revisions created after this date (ISO 8601 format) */
748
+ created_after?: string;
749
+ /** @description Filter revisions created before this date (ISO 8601 format) */
750
+ created_before?: string;
751
+ };
680
752
  header: {
681
753
  /** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
682
754
  "x-user-id"?: string;
@@ -693,13 +765,23 @@ export interface paths {
693
765
  };
694
766
  requestBody?: never;
695
767
  responses: {
696
- /** @description List of revisions for the deployment. */
768
+ /** @description List of revisions for the deployment with pagination. */
697
769
  200: {
698
770
  headers: {
699
771
  [name: string]: unknown;
700
772
  };
701
773
  content: {
702
- "application/json": components["schemas"]["Revision"][];
774
+ "application/json": {
775
+ revisions: components["schemas"]["Revision"][];
776
+ pagination: {
777
+ /** @description Cursor for next page, null if no more pages */
778
+ cursor_next: string | null;
779
+ /** @description Cursor for previous page, null if on first page */
780
+ cursor_prev: string | null;
781
+ /** @description Total number of items in collection */
782
+ total_items: number;
783
+ };
784
+ };
703
785
  };
704
786
  };
705
787
  /** @description Unauthorized. Invalid or missing authentication. */
@@ -749,7 +831,22 @@ export interface paths {
749
831
  /** @description Get events for a specific deployment. */
750
832
  get: {
751
833
  parameters: {
752
- query?: never;
834
+ query?: {
835
+ /** @description Base64-encoded cursor for keyset pagination */
836
+ cursor?: string;
837
+ /** @description Number of items per page (10, 20, 50, or 100) */
838
+ limit?: 10 | 20 | 50 | 100 | "10" | "20" | "50" | "100";
839
+ /** @description Sort order: 'asc' (oldest first) or 'desc' (newest first) */
840
+ sort_order?: "asc" | "desc";
841
+ /** @description Filter by event category: 'Deployment' or 'Event'. Can be comma-separated list */
842
+ category?: ("Deployment" | "Event") | string;
843
+ /** @description Filter by event type. Can be single value or comma-separated list */
844
+ type?: string;
845
+ /** @description Filter events created after this date (ISO 8601 format) */
846
+ created_after?: string;
847
+ /** @description Filter events created before this date (ISO 8601 format) */
848
+ created_before?: string;
849
+ };
753
850
  header: {
754
851
  /** @description Required when using Wallet Authentication. The public key used to sign authentication header. */
755
852
  "x-user-id"?: string;
@@ -766,13 +863,23 @@ export interface paths {
766
863
  };
767
864
  requestBody?: never;
768
865
  responses: {
769
- /** @description List of events for the deployment. */
866
+ /** @description List of events for the deployment with pagination. */
770
867
  200: {
771
868
  headers: {
772
869
  [name: string]: unknown;
773
870
  };
774
871
  content: {
775
- "application/json": components["schemas"]["Event"][];
872
+ "application/json": {
873
+ events: components["schemas"]["Event"][];
874
+ pagination: {
875
+ /** @description Cursor for next page, null if no more pages */
876
+ cursor_next: string | null;
877
+ /** @description Cursor for previous page, null if on first page */
878
+ cursor_prev: string | null;
879
+ /** @description Total number of items in collection */
880
+ total_items: number;
881
+ };
882
+ };
776
883
  };
777
884
  };
778
885
  /** @description Unauthorized. Invalid or missing authentication. */
@@ -2353,9 +2460,9 @@ export interface operations {
2353
2460
  postApiJobsList: {
2354
2461
  parameters: {
2355
2462
  query?: never;
2356
- header: {
2463
+ header?: {
2357
2464
  /** @description Authorization header: Bearer <jwt> or Bearer <key> */
2358
- authorization: string;
2465
+ authorization?: string;
2359
2466
  };
2360
2467
  path?: never;
2361
2468
  cookie?: never;
@@ -2428,9 +2535,9 @@ export interface operations {
2428
2535
  postApiJobsByAddressExtend: {
2429
2536
  parameters: {
2430
2537
  query?: never;
2431
- header: {
2538
+ header?: {
2432
2539
  /** @description Authorization header: Bearer <jwt> or Bearer <key> */
2433
- authorization: string;
2540
+ authorization?: string;
2434
2541
  };
2435
2542
  path: {
2436
2543
  address: string;
@@ -2490,9 +2597,9 @@ export interface operations {
2490
2597
  postApiJobsByAddressStop: {
2491
2598
  parameters: {
2492
2599
  query?: never;
2493
- header: {
2600
+ header?: {
2494
2601
  /** @description Authorization header: Bearer <jwt> or Bearer <key> */
2495
- authorization: string;
2602
+ authorization?: string;
2496
2603
  };
2497
2604
  path: {
2498
2605
  address: string;
@@ -3007,110 +3114,12 @@ export interface operations {
3007
3114
  };
3008
3115
  };
3009
3116
  };
3010
- "postApiAuthSign-messageExternal": {
3011
- parameters: {
3012
- query?: never;
3013
- header: {
3014
- /** @description JWT token (with or without Bearer prefix) */
3015
- authorization: string;
3016
- };
3017
- path?: never;
3018
- cookie?: never;
3019
- };
3020
- requestBody: {
3021
- content: {
3022
- "application/json": {
3023
- /** @description The message to be signed with the user's private key */
3024
- message: string;
3025
- };
3026
- "multipart/form-data": {
3027
- /** @description The message to be signed with the user's private key */
3028
- message: string;
3029
- };
3030
- "text/plain": {
3031
- /** @description The message to be signed with the user's private key */
3032
- message: string;
3033
- };
3034
- };
3035
- };
3036
- responses: {
3037
- 200: {
3038
- headers: {
3039
- [name: string]: unknown;
3040
- };
3041
- content: {
3042
- "application/json": {
3043
- /** @description The signed message in base58 format */
3044
- signature: string;
3045
- /** @description The original message that was signed */
3046
- message: string;
3047
- /** @description The address of the user whose private key should be used for signing */
3048
- userAddress: string;
3049
- };
3050
- "multipart/form-data": {
3051
- /** @description The signed message in base58 format */
3052
- signature: string;
3053
- /** @description The original message that was signed */
3054
- message: string;
3055
- /** @description The address of the user whose private key should be used for signing */
3056
- userAddress: string;
3057
- };
3058
- "text/plain": {
3059
- /** @description The signed message in base58 format */
3060
- signature: string;
3061
- /** @description The original message that was signed */
3062
- message: string;
3063
- /** @description The address of the user whose private key should be used for signing */
3064
- userAddress: string;
3065
- };
3066
- };
3067
- };
3068
- 401: {
3069
- headers: {
3070
- [name: string]: unknown;
3071
- };
3072
- content: {
3073
- "application/json": {
3074
- name: string;
3075
- message: string;
3076
- };
3077
- "multipart/form-data": {
3078
- name: string;
3079
- message: string;
3080
- };
3081
- "text/plain": {
3082
- name: string;
3083
- message: string;
3084
- };
3085
- };
3086
- };
3087
- 500: {
3088
- headers: {
3089
- [name: string]: unknown;
3090
- };
3091
- content: {
3092
- "application/json": {
3093
- name: string;
3094
- message: string;
3095
- };
3096
- "multipart/form-data": {
3097
- name: string;
3098
- message: string;
3099
- };
3100
- "text/plain": {
3101
- name: string;
3102
- message: string;
3103
- };
3104
- };
3105
- };
3106
- };
3107
- };
3108
3117
  getApiCreditsBalance: {
3109
3118
  parameters: {
3110
3119
  query?: never;
3111
- header: {
3120
+ header?: {
3112
3121
  /** @description Authorization header: Bearer <jwt> or Bearer <key> */
3113
- authorization: string;
3122
+ authorization?: string;
3114
3123
  };
3115
3124
  path?: never;
3116
3125
  cookie?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.1.24",
3
2
  "name": "@nosana/types",
3
+ "version": "2.1.0",
4
4
  "author": "Nosana",
5
5
  "description": "Nosana Types Module",
6
6
  "type": "module",
@@ -11,8 +11,12 @@
11
11
  "dist"
12
12
  ],
13
13
  "scripts": {
14
+ "prepack": "pnpm run build:with-deps",
14
15
  "typecheck": "tsc --noEmit",
15
16
  "build": "npm run prepare && tsc --build",
17
+ "build:with-deps": "pnpm --filter $npm_package_name... run build",
18
+ "dev": "npm run prepare && tsc --build --watch",
19
+ "dev:with-deps": "pnpm --filter $npm_package_name... run dev --parallel",
16
20
  "clean": "rm -rf dist",
17
21
  "rebuild": "npm run clean && npm run build",
18
22
  "generate": "openapi-typescript https://dashboard.k8s.prd.nos.ci/api/swagger/json -o ./src/Schemas/api.ts",
@@ -21,12 +25,11 @@
21
25
  "test": "vitest run",
22
26
  "test:watch": "vitest",
23
27
  "test:coverage": "vitest run --coverage",
24
- "eslint": "eslint ./src",
25
- "eslint:fix": "eslint --fix ./src",
26
- "format": "npm run eslint",
27
- "format:fix": "npm run eslint:fix",
28
- "prepare": "ts-patch install && typia patch",
29
- "publish:public": "npm run build && npm publish --access public"
28
+ "lint": "eslint ./src",
29
+ "lint:fix": "eslint --fix ./src",
30
+ "format": "echo 'No format' && exit 0",
31
+ "format:fix": "echo 'No format:fix' && exit 0",
32
+ "prepare": "ts-patch install && typia patch"
30
33
  },
31
34
  "devDependencies": {
32
35
  "@typescript-eslint/eslint-plugin": "^8.47.0",
@@ -42,5 +45,10 @@
42
45
  },
43
46
  "dependencies": {
44
47
  "typia": "^10.0.2"
45
- }
46
- }
48
+ },
49
+ "packageManager": "pnpm@10.28.1",
50
+ "engines": {
51
+ "node": ">=20.18.0"
52
+ },
53
+ "gitHead": "3164e4634b654bdc2ba9f3030ccd8891e30940f7"
54
+ }