everything-dev
Version:
A consolidated product package for building Module Federation apps with oRPC APIs.
623 lines (622 loc) • 22.5 kB
text/typescript
import * as z from "zod";
//#region src/types.d.ts
declare const ExtendsSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>;
type Extends = z.infer<typeof ExtendsSchema>;
type ExtendsConfig = Extract<Extends, Record<string, string | undefined>>;
declare const SourceModeSchema: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
type SourceMode = z.infer<typeof SourceModeSchema>;
declare const SharedConfigSchema: z.ZodObject<{
version: z.ZodString;
requiredVersion: z.ZodOptional<z.ZodString>;
singleton: z.ZodOptional<z.ZodBoolean>;
eager: z.ZodOptional<z.ZodBoolean>;
strictVersion: z.ZodOptional<z.ZodBoolean>;
shareScope: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type SharedConfig = z.infer<typeof SharedConfigSchema>;
type SharedDepConfig = SharedConfig;
declare const SharedDepConfigSchema: z.ZodObject<{
version: z.ZodString;
requiredVersion: z.ZodOptional<z.ZodString>;
singleton: z.ZodOptional<z.ZodBoolean>;
eager: z.ZodOptional<z.ZodBoolean>;
strictVersion: z.ZodOptional<z.ZodBoolean>;
shareScope: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
declare const FederationEntrySchema: z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
integrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type FederationEntry = z.infer<typeof FederationEntrySchema>;
declare const SidebarRoleSchema: z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>;
type SidebarRole = z.infer<typeof SidebarRoleSchema>;
declare const SidebarItemSchema: z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>;
type SidebarItem = z.infer<typeof SidebarItemSchema>;
declare const ComposableAppEntrySchema: z.ZodObject<{
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>>;
name: z.ZodOptional<z.ZodString>;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
type ComposableAppEntry = z.infer<typeof ComposableAppEntrySchema>;
declare const ApiPluginConfigSchema: z.ZodObject<{
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>>;
name: z.ZodOptional<z.ZodString>;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
type ApiPluginConfig = z.infer<typeof ApiPluginConfigSchema>;
declare const PluginUiConfigSchema: z.ZodObject<{
name: z.ZodString;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type PluginUiConfig = z.infer<typeof PluginUiConfigSchema>;
declare const BosPluginRefSchema: z.ZodObject<{
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>>;
name: z.ZodOptional<z.ZodString>;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
version: z.ZodOptional<z.ZodString>;
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
version: z.ZodString;
requiredVersion: z.ZodOptional<z.ZodString>;
singleton: z.ZodOptional<z.ZodBoolean>;
eager: z.ZodOptional<z.ZodBoolean>;
strictVersion: z.ZodOptional<z.ZodBoolean>;
shareScope: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>>>;
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, z.core.$strip>;
type BosPluginRef = z.infer<typeof BosPluginRefSchema>;
type PluginEntryValue = string | BosPluginRef;
type PluginEntries = Record<string, PluginEntryValue>;
declare const PluginRuntimeUiSchema: z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
integrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type PluginRuntimeUi = z.infer<typeof PluginRuntimeUiSchema>;
declare const RuntimePluginConfigSchema: z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
integrity: z.ZodOptional<z.ZodString>;
ui: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
integrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
type RuntimePluginConfig = z.infer<typeof RuntimePluginConfigSchema>;
declare const UiConfigSchema: z.ZodObject<{
name: z.ZodString;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
ssr: z.ZodOptional<z.ZodString>;
ssrIntegrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
type UiConfig = z.infer<typeof UiConfigSchema>;
declare const HostConfigSchema: z.ZodObject<{
development: z.ZodString;
production: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
type HostConfig = z.infer<typeof HostConfigSchema>;
declare const ClientRuntimeInfoSchema: z.ZodObject<{
accountId: z.ZodString;
gatewayId: z.ZodString;
runtimeBasePath: z.ZodString;
title: z.ZodNullable<z.ZodString>;
description: z.ZodNullable<z.ZodString>;
hostUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
type ClientRuntimeInfo = z.infer<typeof ClientRuntimeInfoSchema>;
declare const BosStagingSchema: z.ZodObject<{
domain: z.ZodString;
}, z.core.$strip>;
type BosStaging = z.infer<typeof BosStagingSchema>;
declare const BosConfigInputAppEntrySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
type BosConfigInputAppEntry = z.infer<typeof BosConfigInputAppEntrySchema>;
declare const BosConfigInputSchema: z.ZodType<BosConfigInput>;
interface BosConfigInput {
extends?: string | ExtendsConfig;
account?: string;
domain?: string;
title?: string;
description?: string;
testnet?: string;
template?: string;
gateway?: {
development?: string;
production?: string;
account?: string;
};
development?: string;
production?: string;
integrity?: string;
name?: string;
version?: string;
proxy?: string;
variables?: Record<string, string>;
secrets?: string[];
routes?: string[];
sidebar?: SidebarItem[];
app?: Record<string, BosConfigInputAppEntry>;
shared?: Record<string, Record<string, SharedDepConfig>>;
plugins?: Record<string, string | BosConfigInput>;
}
declare const BosConfigSchema: z.ZodObject<{
account: z.ZodString;
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>>;
domain: z.ZodOptional<z.ZodString>;
title: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
testnet: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodObject<{
domain: z.ZodString;
}, z.core.$strip>>;
repository: z.ZodOptional<z.ZodString>;
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
version: z.ZodString;
requiredVersion: z.ZodOptional<z.ZodString>;
singleton: z.ZodOptional<z.ZodBoolean>;
eager: z.ZodOptional<z.ZodBoolean>;
strictVersion: z.ZodOptional<z.ZodBoolean>;
shareScope: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>>>;
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>>;
name: z.ZodOptional<z.ZodString>;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
version: z.ZodOptional<z.ZodString>;
app: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
version: z.ZodString;
requiredVersion: z.ZodOptional<z.ZodString>;
singleton: z.ZodOptional<z.ZodBoolean>;
eager: z.ZodOptional<z.ZodBoolean>;
strictVersion: z.ZodOptional<z.ZodBoolean>;
shareScope: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>>>;
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, z.core.$strip>]>>>;
app: z.ZodObject<{
host: z.ZodObject<{
development: z.ZodString;
production: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
ui: z.ZodObject<{
name: z.ZodString;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
ssr: z.ZodOptional<z.ZodString>;
ssrIntegrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
api: z.ZodObject<{
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>>;
name: z.ZodOptional<z.ZodString>;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
auth: z.ZodOptional<z.ZodObject<{
extends: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
staging: z.ZodOptional<z.ZodString>;
}, z.core.$strip>]>>;
name: z.ZodOptional<z.ZodString>;
development: z.ZodOptional<z.ZodString>;
production: z.ZodOptional<z.ZodString>;
integrity: z.ZodOptional<z.ZodString>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>>;
}, z.core.$strip>;
}, z.core.$strip>;
type BosConfig = z.infer<typeof BosConfigSchema>;
declare const RuntimeConfigSchema: z.ZodObject<{
env: z.ZodEnum<{
development: "development";
production: "production";
staging: "staging";
}>;
account: z.ZodString;
domain: z.ZodOptional<z.ZodString>;
networkId: z.ZodEnum<{
testnet: "testnet";
mainnet: "mainnet";
}>;
title: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
repository: z.ZodOptional<z.ZodString>;
host: z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
integrity: z.ZodOptional<z.ZodString>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
remoteUrl: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
shared: z.ZodOptional<z.ZodObject<{
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
version: z.ZodString;
requiredVersion: z.ZodOptional<z.ZodString>;
singleton: z.ZodOptional<z.ZodBoolean>;
eager: z.ZodOptional<z.ZodBoolean>;
strictVersion: z.ZodOptional<z.ZodBoolean>;
shareScope: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>>;
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
version: z.ZodString;
requiredVersion: z.ZodOptional<z.ZodString>;
singleton: z.ZodOptional<z.ZodBoolean>;
eager: z.ZodOptional<z.ZodBoolean>;
strictVersion: z.ZodOptional<z.ZodBoolean>;
shareScope: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>>;
}, z.core.$strip>>;
ui: z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
integrity: z.ZodOptional<z.ZodString>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
ssrUrl: z.ZodOptional<z.ZodString>;
ssrIntegrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
api: z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
integrity: z.ZodOptional<z.ZodString>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
auth: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
integrity: z.ZodOptional<z.ZodString>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
}, z.core.$strip>>;
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
proxy: z.ZodOptional<z.ZodString>;
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
secrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
integrity: z.ZodOptional<z.ZodString>;
ui: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
localPath: z.ZodOptional<z.ZodString>;
port: z.ZodOptional<z.ZodNumber>;
integrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>>>;
}, z.core.$strip>;
type RuntimeConfig = z.infer<typeof RuntimeConfigSchema>;
declare const ClientRuntimeConfigSchema: z.ZodObject<{
cspNonce: z.ZodOptional<z.ZodString>;
env: z.ZodEnum<{
development: "development";
production: "production";
staging: "staging";
}>;
account: z.ZodString;
networkId: z.ZodEnum<{
testnet: "testnet";
mainnet: "mainnet";
}>;
hostUrl: z.ZodOptional<z.ZodString>;
assetsUrl: z.ZodString;
apiBase: z.ZodString;
rpcBase: z.ZodString;
repository: z.ZodOptional<z.ZodString>;
authAvailable: z.ZodOptional<z.ZodBoolean>;
runtime: z.ZodOptional<z.ZodObject<{
accountId: z.ZodString;
gatewayId: z.ZodString;
runtimeBasePath: z.ZodString;
title: z.ZodNullable<z.ZodString>;
description: z.ZodNullable<z.ZodString>;
hostUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
ui: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
api: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
auth: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
}, z.core.$strip>>;
plugins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
integrity: z.ZodOptional<z.ZodString>;
ui: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
entry: z.ZodString;
source: z.ZodEnum<{
local: "local";
remote: "remote";
}>;
integrity: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
sidebar: z.ZodOptional<z.ZodArray<z.ZodObject<{
icon: z.ZodString;
label: z.ZodString;
to: z.ZodOptional<z.ZodString>;
roleRequired: z.ZodOptional<z.ZodEnum<{
anon: "anon";
member: "member";
admin: "admin";
}>>;
}, z.core.$strip>>>;
}, z.core.$strip>>>;
}, z.core.$strip>;
type ClientRuntimeConfig = z.infer<typeof ClientRuntimeConfigSchema>;
//#endregion
export { ApiPluginConfig, ApiPluginConfigSchema, BosConfig, BosConfigInput, BosConfigInputAppEntry, BosConfigInputSchema, BosConfigSchema, BosPluginRef, BosPluginRefSchema, BosStaging, BosStagingSchema, ClientRuntimeConfig, ClientRuntimeConfigSchema, ClientRuntimeInfo, ClientRuntimeInfoSchema, ComposableAppEntry, ComposableAppEntrySchema, Extends, ExtendsConfig, ExtendsSchema, FederationEntry, FederationEntrySchema, HostConfig, HostConfigSchema, PluginEntries, PluginEntryValue, PluginRuntimeUi, PluginUiConfig, PluginUiConfigSchema, RuntimeConfig, RuntimeConfigSchema, RuntimePluginConfig, RuntimePluginConfigSchema, SharedConfig, SharedConfigSchema, SharedDepConfig, SharedDepConfigSchema, SidebarItem, SidebarItemSchema, SidebarRole, SidebarRoleSchema, SourceMode, SourceModeSchema, UiConfig, UiConfigSchema };
//# sourceMappingURL=types.d.mts.map