@pelican.ts/sdk 0.3.3-next.0 → 0.3.3-next.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pelican.ts/sdk",
3
- "version": "0.3.3-next.0",
3
+ "version": "0.3.3-next.1",
4
4
  "description": "Pelican panel SDK for TypeScript",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -84,6 +84,7 @@ export const CreateServerSchema = z.object({
84
84
  skip_scripts: z.boolean().optional(),
85
85
  oom_killer: z.boolean().optional(),
86
86
  start_on_completion: z.boolean().optional(),
87
+ docker_labels: z.record(z.string(), z.string()).optional(),
87
88
  limits: z.object({
88
89
  memory: z.number().min(0),
89
90
  swap: z.number().min(-1),
@@ -112,7 +113,8 @@ const UpdateDetailsSchema = CreateServerSchema.pick({
112
113
  external_id: true,
113
114
  name: true,
114
115
  user: true,
115
- description: true
116
+ description: true,
117
+ docker_labels: true
116
118
  })
117
119
 
118
120
  const UpdateBuildSchema = CreateServerSchema.pick({
@@ -11,6 +11,7 @@ export type ApplicationServer = {
11
11
  name: string,
12
12
  description: string,
13
13
  status: Nullable<unknown>,
14
+ docker_labels: Record<string, string>,
14
15
  suspended: boolean,
15
16
  limits: ServerLimits,
16
17
  feature_limits: FeatureLimits,