glitch-javascript-sdk 3.10.0 → 3.10.2

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.
@@ -112,6 +112,17 @@ export interface HostingSite {
112
112
  domains?: HostingDomain[];
113
113
  databases?: HostingDatabase[];
114
114
  services?: HostingService[];
115
+ runtime_routes?: Array<{
116
+ path_prefix: string;
117
+ service: string;
118
+ runtime_origin: string;
119
+ }>;
120
+ }
121
+ export interface HostingServiceVolume {
122
+ name: string;
123
+ mount_path: string;
124
+ size_gb: number;
125
+ access_mode?: 'ReadOnly' | 'ReadWrite';
115
126
  }
116
127
  export interface HostingServiceDeployment {
117
128
  id: string;
@@ -121,7 +132,7 @@ export interface HostingServiceDeployment {
121
132
  version: string;
122
133
  status: 'queued' | 'deploying' | 'ready' | 'active' | 'inactive' | 'failed';
123
134
  image?: string | null;
124
- azure_fqdn?: string | null;
135
+ public_url?: string | null;
125
136
  error_message?: string | null;
126
137
  ready_at?: string | null;
127
138
  promoted_at?: string | null;
@@ -139,13 +150,19 @@ export interface HostingService {
139
150
  target_port?: number | null;
140
151
  transport: 'http' | 'http2' | 'tcp';
141
152
  health_check_path?: string | null;
153
+ startup_check_path?: string | null;
154
+ readiness_check_path?: string | null;
155
+ liveness_check_path?: string | null;
142
156
  capacity_model: HostingCapacityModel;
143
157
  container_cpu: number;
144
158
  container_memory_mb: number;
145
159
  min_replicas: number;
146
160
  max_replicas: number;
147
161
  schedule_cron?: string | null;
162
+ termination_grace_seconds: number;
148
163
  depends_on: string[];
164
+ public_paths: string[];
165
+ volumes: HostingServiceVolume[];
149
166
  database_bindings: string[];
150
167
  secret_names: string[];
151
168
  active_deployment?: HostingServiceDeployment | null;
@@ -161,13 +178,19 @@ export interface HostingServiceDefinition {
161
178
  target_port?: number;
162
179
  transport?: 'http' | 'http2' | 'tcp';
163
180
  health_check_path?: string;
181
+ startup_check_path?: string;
182
+ readiness_check_path?: string;
183
+ liveness_check_path?: string;
164
184
  capacity_model?: HostingCapacityModel;
165
185
  container_cpu?: number;
166
186
  container_memory_mb?: number;
167
187
  min_replicas?: number;
168
188
  max_replicas?: number;
169
189
  schedule_cron?: string;
190
+ termination_grace_seconds?: number;
170
191
  depends_on?: string[];
192
+ public_paths?: string[];
193
+ volumes?: HostingServiceVolume[];
171
194
  environment?: Record<string, string | number | boolean | null>;
172
195
  database_bindings?: string[];
173
196
  configuration?: Record<string, unknown>;
@@ -176,7 +199,7 @@ export interface HostingServiceDefinition {
176
199
  game_build_id?: string;
177
200
  }
178
201
  export interface HostingServiceStackRequest {
179
- preset?: 'single_server' | 'web_and_api' | 'authoritative_world' | 'biomes_style';
202
+ preset?: 'single_server' | 'world_of_claudecraft' | 'web_and_api' | 'authoritative_world' | 'biomes_style';
180
203
  game_build_id?: string;
181
204
  builds?: Record<string, string>;
182
205
  services?: HostingServiceDefinition[];
@@ -201,6 +224,7 @@ export interface HostingServiceEstimate {
201
224
  vcpu_hour_cents: number;
202
225
  memory_gib_hour_cents: number;
203
226
  requests_million_cents: number;
227
+ persistent_storage_gib_month_cents: number;
204
228
  };
205
229
  note: string;
206
230
  }