Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@phala/cloud

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phala/cloud - npm Package Compare versions

Comparing version
0.2.2
to
0.2.3
+42
dist/actions/apps/get_app_filter_options.d.ts
import { z } from "zod";
import { type Client, type SafeResult } from "../../client";
import type { ApiVersion } from "../../types/client";
export declare const AppFilterOptionsSchema: z.ZodObject<{
statuses: z.ZodArray<z.ZodString, "many">;
image_versions: z.ZodArray<z.ZodString, "many">;
instance_types: z.ZodArray<z.ZodString, "many">;
kms_slugs: z.ZodArray<z.ZodString, "many">;
kms_types: z.ZodArray<z.ZodString, "many">;
regions: z.ZodArray<z.ZodString, "many">;
nodes: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
nodes: string[];
statuses: string[];
image_versions: string[];
instance_types: string[];
kms_slugs: string[];
kms_types: string[];
regions: string[];
}, {
nodes: string[];
statuses: string[];
image_versions: string[];
instance_types: string[];
kms_slugs: string[];
kms_types: string[];
regions: string[];
}>;
export type AppFilterOptions = z.infer<typeof AppFilterOptionsSchema>;
/**
* Get available filter options for apps
*
* Returns distinct values for each filterable field based on the current workspace's apps.
*
* @param client - The API client
* @returns Available filter option values
*/
export declare function getAppFilterOptions<V extends ApiVersion>(client: Client<V>): Promise<AppFilterOptions>;
/**
* Safe version of getAppFilterOptions that returns a SafeResult instead of throwing
*/
export declare function safeGetAppFilterOptions<V extends ApiVersion>(client: Client<V>): Promise<SafeResult<AppFilterOptions>>;
+4
-4

@@ -15,3 +15,3 @@ import { z } from "zod";

kms_type: z.ZodOptional<z.ZodString>;
teepod_name: z.ZodOptional<z.ZodString>;
node: z.ZodOptional<z.ZodString>;
region: z.ZodOptional<z.ZodString>;

@@ -21,2 +21,3 @@ }, "strict", z.ZodTypeAny, {

search?: string | undefined;
node?: string | undefined;
listed?: boolean | undefined;

@@ -27,3 +28,2 @@ base_image?: string | undefined;

page_size?: number | undefined;
teepod_name?: string | undefined;
kms_type?: string | undefined;

@@ -35,2 +35,3 @@ kms_slug?: string | undefined;

search?: string | undefined;
node?: string | undefined;
listed?: boolean | undefined;

@@ -41,3 +42,2 @@ base_image?: string | undefined;

page_size?: number | undefined;
teepod_name?: string | undefined;
kms_type?: string | undefined;

@@ -62,3 +62,3 @@ kms_slug?: string | undefined;

* @param request.kms_type - Filter by KMS type
* @param request.teepod_name - Filter by node name
* @param request.node - Filter by node name
* @param request.region - Filter by region

@@ -65,0 +65,0 @@ * @returns Paginated list of apps with type based on client API version

@@ -7,11 +7,11 @@ import { z } from "zod";

appId: z.ZodString;
composeHash: z.ZodString;
revisionId: z.ZodString;
rawComposeFile: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
composeHash: string;
appId: string;
revisionId: string;
rawComposeFile?: boolean | undefined;
}, {
composeHash: string;
appId: string;
revisionId: string;
rawComposeFile?: boolean | undefined;

@@ -26,3 +26,3 @@ }>;

* @param request.appId - The app ID
* @param request.composeHash - The compose hash of the revision
* @param request.revisionId - The revision record id (rev_...) of the revision
* @param request.rawComposeFile - If true, returns compose_file as raw string instead of parsed object

@@ -35,3 +35,3 @@ * @returns Detailed revision information including compose file and encrypted env

* appId: "my-app-id",
* composeHash: "abc123"
* revisionId: "rev_abc123"
* })

@@ -42,3 +42,3 @@ *

* appId: "my-app-id",
* composeHash: "abc123",
* revisionId: "rev_abc123",
* rawComposeFile: true

@@ -45,0 +45,0 @@ * })

@@ -71,3 +71,3 @@ import { z } from "zod";

*/
export declare const GetCvmComposeFileResultSchema: z.ZodEffects<z.ZodObject<{
export declare const GetCvmComposeFileResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -111,2 +111,28 @@ docker_compose_file: z.ZodString;

salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
docker_compose_file: z.ZodString;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name: z.ZodOptional<z.ZodString>;
manifest_version: z.ZodOptional<z.ZodNumber>;
kms_enabled: z.ZodOptional<z.ZodBoolean>;
public_logs: z.ZodOptional<z.ZodBoolean>;
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
pre_launch_script: z.ZodOptional<z.ZodString>;
env_pubkey: z.ZodOptional<z.ZodString>;
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
docker_compose_file: z.ZodString;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name: z.ZodOptional<z.ZodString>;
manifest_version: z.ZodOptional<z.ZodNumber>;
kms_enabled: z.ZodOptional<z.ZodBoolean>;
public_logs: z.ZodOptional<z.ZodBoolean>;
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
pre_launch_script: z.ZodOptional<z.ZodString>;
env_pubkey: z.ZodOptional<z.ZodString>;
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">>, {

@@ -118,7 +144,7 @@ docker_compose_file: string;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -145,3 +171,3 @@ salt?: string | null | undefined;

}, z.ZodTypeAny, "passthrough">>;
export declare const CvmComposeFileSchema: z.ZodEffects<z.ZodObject<{
export declare const CvmComposeFileSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -185,2 +211,28 @@ docker_compose_file: z.ZodString;

salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
docker_compose_file: z.ZodString;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name: z.ZodOptional<z.ZodString>;
manifest_version: z.ZodOptional<z.ZodNumber>;
kms_enabled: z.ZodOptional<z.ZodBoolean>;
public_logs: z.ZodOptional<z.ZodBoolean>;
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
pre_launch_script: z.ZodOptional<z.ZodString>;
env_pubkey: z.ZodOptional<z.ZodString>;
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
docker_compose_file: z.ZodString;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name: z.ZodOptional<z.ZodString>;
manifest_version: z.ZodOptional<z.ZodNumber>;
kms_enabled: z.ZodOptional<z.ZodBoolean>;
public_logs: z.ZodOptional<z.ZodBoolean>;
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
pre_launch_script: z.ZodOptional<z.ZodString>;
env_pubkey: z.ZodOptional<z.ZodString>;
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">>, {

@@ -192,7 +244,7 @@ docker_compose_file: string;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -250,7 +302,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -277,7 +329,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -284,0 +336,0 @@ salt?: string | null | undefined;

@@ -47,5 +47,5 @@ import { z } from "zod";

docker_compose_file: string | null;
features: string[] | null;
manifest_version: number | null;
runner: string | null;
features: string[] | null;
is_online: boolean;

@@ -68,5 +68,5 @@ is_public: boolean;

docker_compose_file: string | null;
features: string[] | null;
manifest_version: number | null;
runner: string | null;
features: string[] | null;
is_online: boolean;

@@ -114,5 +114,5 @@ containers: {

docker_compose_file: string | null;
features: string[] | null;
manifest_version: number | null;
runner: string | null;
features: string[] | null;
is_online: boolean;

@@ -143,5 +143,5 @@ is_public: boolean;

docker_compose_file: string | null;
features: string[] | null;
manifest_version: number | null;
runner: string | null;
features: string[] | null;
is_online: boolean;

@@ -148,0 +148,0 @@ is_public: boolean;

@@ -85,3 +85,3 @@ import { z } from "zod";

instance_id: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
app_compose: z.ZodObject<{
app_compose: z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -125,2 +125,28 @@ docker_compose_file: z.ZodString;

salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
docker_compose_file: z.ZodString;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name: z.ZodOptional<z.ZodString>;
manifest_version: z.ZodOptional<z.ZodNumber>;
kms_enabled: z.ZodOptional<z.ZodBoolean>;
public_logs: z.ZodOptional<z.ZodBoolean>;
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
pre_launch_script: z.ZodOptional<z.ZodString>;
env_pubkey: z.ZodOptional<z.ZodString>;
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
docker_compose_file: z.ZodString;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name: z.ZodOptional<z.ZodString>;
manifest_version: z.ZodOptional<z.ZodNumber>;
kms_enabled: z.ZodOptional<z.ZodBoolean>;
public_logs: z.ZodOptional<z.ZodBoolean>;
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
pre_launch_script: z.ZodOptional<z.ZodString>;
env_pubkey: z.ZodOptional<z.ZodString>;
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">>;

@@ -135,7 +161,7 @@ update_env_vars: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -158,7 +184,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -181,7 +207,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -204,7 +230,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -229,7 +255,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -245,7 +271,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -269,7 +295,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -576,7 +602,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -645,7 +671,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -671,7 +697,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -698,7 +724,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -767,7 +793,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -793,7 +819,7 @@ salt?: string | null | undefined;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
features?: string[] | undefined;
manifest_version?: number | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
manifest_version?: number | undefined;
features?: string[] | undefined;
pre_launch_script?: string | undefined;
env_pubkey?: string | undefined;

@@ -800,0 +826,0 @@ salt?: string | null | undefined;

@@ -428,3 +428,3 @@ import { z } from "zod";

disk_size: z.ZodOptional<z.ZodNumber>;
compose_file: z.ZodObject<{
compose_file: z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -445,6 +445,6 @@ pre_launch_script: z.ZodOptional<z.ZodString>;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {

@@ -456,6 +456,26 @@ name?: string | undefined;

allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>, {
name: string;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {
name?: string | undefined;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>;

@@ -479,3 +499,3 @@ listed: z.ZodOptional<z.ZodBoolean>;

disk_size: z.ZodOptional<z.ZodNumber>;
compose_file: z.ZodObject<{
compose_file: z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -496,6 +516,6 @@ pre_launch_script: z.ZodOptional<z.ZodString>;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {

@@ -507,6 +527,26 @@ name?: string | undefined;

allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>, {
name: string;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {
name?: string | undefined;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>;

@@ -530,3 +570,3 @@ listed: z.ZodOptional<z.ZodBoolean>;

disk_size: z.ZodOptional<z.ZodNumber>;
compose_file: z.ZodObject<{
compose_file: z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -547,6 +587,6 @@ pre_launch_script: z.ZodOptional<z.ZodString>;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {

@@ -558,6 +598,26 @@ name?: string | undefined;

allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>, {
name: string;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {
name?: string | undefined;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>;

@@ -581,3 +641,3 @@ listed: z.ZodOptional<z.ZodBoolean>;

disk_size: z.ZodOptional<z.ZodNumber>;
compose_file: z.ZodObject<{
compose_file: z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -598,6 +658,6 @@ pre_launch_script: z.ZodOptional<z.ZodString>;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {

@@ -609,6 +669,26 @@ name?: string | undefined;

allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>, {
name: string;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {
name?: string | undefined;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>;

@@ -632,3 +712,3 @@ listed: z.ZodOptional<z.ZodBoolean>;

disk_size: z.ZodOptional<z.ZodNumber>;
compose_file: z.ZodObject<{
compose_file: z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -649,6 +729,6 @@ pre_launch_script: z.ZodOptional<z.ZodString>;

allowed_envs?: string[] | undefined;
pre_launch_script?: string | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {

@@ -660,6 +740,26 @@ name?: string | undefined;

allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>, {
name: string;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}, {
name?: string | undefined;
public_sysinfo?: boolean | undefined;
public_logs?: boolean | undefined;
gateway_enabled?: boolean | undefined;
allowed_envs?: string[] | undefined;
docker_compose_file?: string | undefined;
kms_enabled?: boolean | undefined;
tproxy_enabled?: boolean | undefined;
pre_launch_script?: string | undefined;
}>;

@@ -666,0 +766,0 @@ listed: z.ZodOptional<z.ZodBoolean>;

@@ -81,5 +81,5 @@ import { z } from "zod";

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>;

@@ -116,5 +116,5 @@ <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>>;

@@ -121,0 +121,0 @@ <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {

@@ -74,5 +74,5 @@ import { type CvmIdInput } from "../../types/cvm_id";

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>;

@@ -109,5 +109,5 @@ <T extends import("zod").ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>>;

@@ -114,0 +114,0 @@ <T extends import("zod").ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {

@@ -75,5 +75,5 @@ import { type CvmIdInput } from "../../types/cvm_id";

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>;

@@ -110,5 +110,5 @@ <T extends import("zod").ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>>;

@@ -115,0 +115,0 @@ <T extends import("zod").ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {

@@ -76,5 +76,5 @@ import { type CvmIdInput } from "../../types/cvm_id";

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>;

@@ -111,5 +111,5 @@ <T extends import("zod").ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>>;

@@ -116,0 +116,0 @@ <T extends import("zod").ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput, parameters: {

@@ -29,2 +29,3 @@ import { z } from "zod";

public_logs: z.ZodBoolean;
public_tcbinfo: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {

@@ -37,2 +38,3 @@ public_sysinfo: boolean;

instance_id?: string | undefined;
public_tcbinfo?: boolean | undefined;
uuid?: string | undefined;

@@ -46,2 +48,3 @@ }, {

instance_id?: string | undefined;
public_tcbinfo?: boolean | undefined;
uuid?: string | undefined;

@@ -48,0 +51,0 @@ }>, any, any>;

@@ -47,1 +47,2 @@ export { getCurrentUser, safeGetCurrentUser, CurrentUserSchema, type CurrentUser, } from "./get_current_user";

export { getAppRevisionDetail, safeGetAppRevisionDetail, GetAppRevisionDetailRequestSchema, type GetAppRevisionDetailRequest, } from "./apps/get_app_revision_detail";
export { getAppFilterOptions, safeGetAppFilterOptions, AppFilterOptionsSchema, type AppFilterOptions, } from "./apps/get_app_filter_options";
import { z } from "zod";
export declare const LooseAppComposeSchema: z.ZodObject<{
/** Maximum combined byte size of docker_compose_file + pre_launch_script (200KB) */
export declare const MAX_COMPOSE_PAYLOAD_BYTES: number;
/**
* Validate that combined byte size of docker_compose_file and pre_launch_script
* does not exceed MAX_COMPOSE_PAYLOAD_BYTES.
*/
export declare function validateComposePayloadSize(dockerComposeFile: string | undefined, preLaunchScript: string | undefined, ctx: z.RefinementCtx): void;
export declare const LooseAppComposeSchema: z.ZodEffects<z.ZodObject<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;

@@ -41,3 +48,29 @@ docker_compose_file: z.ZodString;

salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
docker_compose_file: z.ZodString;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name: z.ZodOptional<z.ZodString>;
manifest_version: z.ZodOptional<z.ZodNumber>;
kms_enabled: z.ZodOptional<z.ZodBoolean>;
public_logs: z.ZodOptional<z.ZodBoolean>;
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
pre_launch_script: z.ZodOptional<z.ZodString>;
env_pubkey: z.ZodOptional<z.ZodString>;
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
allowed_envs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
docker_compose_file: z.ZodString;
features: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
name: z.ZodOptional<z.ZodString>;
manifest_version: z.ZodOptional<z.ZodNumber>;
kms_enabled: z.ZodOptional<z.ZodBoolean>;
public_logs: z.ZodOptional<z.ZodBoolean>;
public_sysinfo: z.ZodOptional<z.ZodBoolean>;
tproxy_enabled: z.ZodOptional<z.ZodBoolean>;
pre_launch_script: z.ZodOptional<z.ZodString>;
env_pubkey: z.ZodOptional<z.ZodString>;
salt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
}, z.ZodTypeAny, "passthrough">>;
export type LooseAppCompose = z.infer<typeof LooseAppComposeSchema>;

@@ -89,2 +89,19 @@ import { z } from "zod";

export type CvmBasicInfoV20251028 = z.infer<typeof CvmBasicInfoV20251028Schema>;
export declare const AppProfileSchema: z.ZodObject<{
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
}, {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
}>;
export type AppProfile = z.infer<typeof AppProfileSchema>;
export declare const DstackAppFullResponseV20251028Schema: z.ZodObject<{

@@ -98,2 +115,18 @@ id: z.ZodString;

kms_type: z.ZodString;
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
}, {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
}>>>;
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{

@@ -307,2 +340,8 @@ vm_uuid: z.ZodNullable<z.ZodString>;

app_icon_url?: string | null | undefined;
profile?: {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
} | null | undefined;
current_cvm?: {

@@ -342,2 +381,8 @@ status: string;

app_icon_url?: string | null | undefined;
profile?: {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
} | null | undefined;
current_cvm?: {

@@ -441,2 +486,18 @@ status: string;

kms_type: z.ZodString;
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
}, {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
}>>>;
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{

@@ -650,2 +711,8 @@ vm_uuid: z.ZodNullable<z.ZodString>;

app_icon_url?: string | null | undefined;
profile?: {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
} | null | undefined;
current_cvm?: {

@@ -685,2 +752,8 @@ status: string;

app_icon_url?: string | null | undefined;
profile?: {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
} | null | undefined;
current_cvm?: {

@@ -783,2 +856,18 @@ status: string;

kms_type: z.ZodString;
profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
custom_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
}, {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
}>>>;
current_cvm: z.ZodOptional<z.ZodNullable<z.ZodObject<{

@@ -992,2 +1081,8 @@ vm_uuid: z.ZodNullable<z.ZodString>;

app_icon_url?: string | null | undefined;
profile?: {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
} | null | undefined;
current_cvm?: {

@@ -1027,2 +1122,8 @@ status: string;

app_icon_url?: string | null | undefined;
profile?: {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
} | null | undefined;
current_cvm?: {

@@ -1158,2 +1259,8 @@ status: string;

app_icon_url?: string | null | undefined;
profile?: {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
} | null | undefined;
current_cvm?: {

@@ -1210,2 +1317,8 @@ status: string;

app_icon_url?: string | null | undefined;
profile?: {
description?: string | null | undefined;
display_name?: string | null | undefined;
avatar_url?: string | null | undefined;
custom_domain?: string | null | undefined;
} | null | undefined;
current_cvm?: {

@@ -1212,0 +1325,0 @@ status: string;

@@ -23,2 +23,3 @@ import { z } from "zod";

export declare const AppRevisionResponseSchema: z.ZodObject<{
revision_id: z.ZodString;
app_id: z.ZodString;

@@ -89,2 +90,3 @@ vm_uuid: z.ZodString;

compose_hash: string;
revision_id: string;
operation_type: string;

@@ -117,2 +119,3 @@ workspace?: {

compose_hash: string;
revision_id: string;
operation_type: string;

@@ -143,2 +146,3 @@ workspace?: {

export declare const AppRevisionDetailResponseSchema: z.ZodObject<{
revision_id: z.ZodString;
app_id: z.ZodString;

@@ -213,2 +217,3 @@ vm_uuid: z.ZodString;

encrypted_env: string;
revision_id: string;
operation_type: string;

@@ -244,2 +249,3 @@ user_config: string;

encrypted_env: string;
revision_id: string;
operation_type: string;

@@ -273,2 +279,3 @@ user_config: string;

revisions: z.ZodArray<z.ZodObject<{
revision_id: z.ZodString;
app_id: z.ZodString;

@@ -339,2 +346,3 @@ vm_uuid: z.ZodString;

compose_hash: string;
revision_id: string;
operation_type: string;

@@ -367,2 +375,3 @@ workspace?: {

compose_hash: string;
revision_id: string;
operation_type: string;

@@ -405,2 +414,3 @@ workspace?: {

compose_hash: string;
revision_id: string;
operation_type: string;

@@ -439,2 +449,3 @@ workspace?: {

compose_hash: string;
revision_id: string;
operation_type: string;

@@ -441,0 +452,0 @@ workspace?: {

@@ -67,5 +67,5 @@ /**

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}, {

@@ -94,6 +94,6 @@ status: string;

docker_compose_file?: string | null | undefined;
features?: string[] | null | undefined;
manifest_version?: number | null | undefined;
runner?: string | null | undefined;
features?: string[] | null | undefined;
}>;
export type VM = z.infer<typeof VMSchema>;

@@ -13,1 +13,2 @@ export * from "./client";

export * from "./app_revision";
export * from "./app_compose";
{
"name": "@phala/cloud",
"version": "0.2.2",
"version": "0.2.3",
"description": "TypeScript SDK for Phala Cloud API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display