Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/@types/C2D/ServiceOnDemand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export interface ServiceTemplate {
category?: ServiceTemplateCategory
includes?: TemplateIncludedItem[] // bundles only: manifest of what the command downloads
unlisted?: boolean // true: left out of the catalogue listing, still reachable by a direct link
order?: number // catalogue position, lowest first; entries without one follow, in node order
// Image specification — exactly one of (tag | checksum | dockerfile) must be set:
image: string // base image name
tag?: string // e.g. "latest" — mutually exclusive with checksum/dockerfile
Expand Down
2 changes: 2 additions & 0 deletions src/utils/config/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ export const ServiceTemplateSchema = z
includes: z.array(TemplateIncludedItemSchema).optional(),
// true: left out of the dashboard catalogue, still reachable by a direct link
unlisted: z.boolean().optional(),
// catalogue position, lowest first; entries without one follow, in node order
order: z.number().int().optional(),
image: z.string().min(1),
tag: z.string().min(1).optional(),
checksum: z
Expand Down
Loading