almost empty

This commit is contained in:
2026-01-30 22:44:32 +01:00
commit b5320bf29a
22 changed files with 1576 additions and 0 deletions

16
schema/pkl/PklProject Normal file
View File

@@ -0,0 +1,16 @@
amends "pkl:Project"
// Package configuration for local development.
// Update baseUri and packageZipUrl when publishing to a registry.
package {
name = "proxmox"
baseUri = "package://localhost/plugins/example/schema/pkl/example"
version = "0.1.0"
packageZipUrl = "https://localhost/plugins/example/schema/pkl/example@\(version).zip"
}
dependencies {
["formae"] {
uri = "package://hub.platform.engineering/plugins/pkl/schema/pkl/formae/formae@0.80.1"
}
}

21
schema/pkl/proxmox.pkl Normal file
View File

@@ -0,0 +1,21 @@
module proxmox.lxc
import "@formae/formae.pkl"
@formae.ResourceHint {
type = "PROXMOX::Service::LXC"
identifier = "$.vmid"
}
class ExampleResource extends formae.Resource {
fixed hidden type: String = "PROXMOX::Service::LXC"
@formae.FieldHint { createOnly = true }
vmid: String
@formae.FieldHint {}
name: String
@formae.FieldHint {}
description: String = "No description"
}