@highstate/library 0.4.3 → 0.4.5

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +626 -154
  2. package/dist/index.mjs +450 -263
  3. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -10,46 +10,25 @@ declare const serverEntity: _highstate_contract.Entity<"common.server", _sinclai
10
10
  user: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
11
11
  port: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
12
12
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
13
- privateKey: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
13
+ keyPair: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
14
14
  type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rsa">, _sinclair_typebox.TLiteral<"ed25519">]>;
15
15
  privateKey: _sinclair_typebox.TString;
16
16
  publicKey: _sinclair_typebox.TString;
17
17
  }>>;
18
18
  }>>;
19
19
  }>>;
20
- declare const innerCircuitEntity: _highstate_contract.Entity<"common.inner-circuit", _sinclair_typebox.TObject<{
20
+ declare const interfaceEntity: _highstate_contract.Entity<"common.interface", _sinclair_typebox.TObject<{
21
21
  interface: _sinclair_typebox.TString;
22
22
  }>>;
23
- declare const outerCircuitEntity: _highstate_contract.Entity<"common.outer-circuit", _sinclair_typebox.TObject<{
24
- interface: _sinclair_typebox.TString;
25
- }>>;
26
- declare const gatewayEntity: _highstate_contract.Entity<"common.gateway", _sinclair_typebox.TObject<{
27
- endpoint: _sinclair_typebox.TString;
28
- }>>;
29
- declare const tlsIssuerEntity: _highstate_contract.Entity<"common.tls-issuer", _sinclair_typebox.TObject<{
23
+ declare const endpointEntity: _highstate_contract.Entity<"common.endpoint", _sinclair_typebox.TObject<{
30
24
  endpoint: _sinclair_typebox.TString;
31
25
  }>>;
32
26
  declare const dnsProviderEntity: _highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
33
- endpoint: _sinclair_typebox.TString;
34
- }>>;
35
- declare const accessPointEntity: _highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
36
27
  name: _sinclair_typebox.TString;
28
+ type: _sinclair_typebox.TString;
29
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
30
+ domain: _sinclair_typebox.TString;
37
31
  }>>;
38
- declare const accessPoint: _highstate_contract.Unit<Record<string, never>, {
39
- gateway: [_highstate_contract.Entity<"common.gateway", _sinclair_typebox.TObject<{
40
- endpoint: _sinclair_typebox.TString;
41
- }>>, true, false];
42
- tlsIssuer: [_highstate_contract.Entity<"common.tls-issuer", _sinclair_typebox.TObject<{
43
- endpoint: _sinclair_typebox.TString;
44
- }>>, true, false];
45
- dnsProvider: [_highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
46
- endpoint: _sinclair_typebox.TString;
47
- }>>, true, false];
48
- }, {
49
- accessPoint: [_highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
50
- name: _sinclair_typebox.TString;
51
- }>>, true, false];
52
- }, Record<string, never>>;
53
32
  declare const existingServer: _highstate_contract.Unit<{
54
33
  sshUser?: string | undefined;
55
34
  sshPort?: number | undefined;
@@ -63,7 +42,7 @@ declare const existingServer: _highstate_contract.Unit<{
63
42
  user: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
64
43
  port: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
65
44
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
66
- privateKey: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
45
+ keyPair: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
67
46
  type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rsa">, _sinclair_typebox.TLiteral<"ed25519">]>;
68
47
  privateKey: _sinclair_typebox.TString;
69
48
  publicKey: _sinclair_typebox.TString;
@@ -74,21 +53,21 @@ declare const existingServer: _highstate_contract.Unit<{
74
53
  sshPassword?: string | undefined;
75
54
  }>;
76
55
  type Server = Static<typeof serverEntity.schema>;
77
- type AccessPoint = Static<typeof accessPointEntity.schema>;
56
+ type Interface = Static<typeof interfaceEntity.schema>;
57
+ type Endpoint = Static<typeof endpointEntity.schema>;
58
+ type DnsProvider = Static<typeof dnsProviderEntity.schema>;
78
59
 
79
- type common_AccessPoint = AccessPoint;
60
+ type common_DnsProvider = DnsProvider;
61
+ type common_Endpoint = Endpoint;
62
+ type common_Interface = Interface;
80
63
  type common_Server = Server;
81
- declare const common_accessPoint: typeof accessPoint;
82
- declare const common_accessPointEntity: typeof accessPointEntity;
83
64
  declare const common_dnsProviderEntity: typeof dnsProviderEntity;
65
+ declare const common_endpointEntity: typeof endpointEntity;
84
66
  declare const common_existingServer: typeof existingServer;
85
- declare const common_gatewayEntity: typeof gatewayEntity;
86
- declare const common_innerCircuitEntity: typeof innerCircuitEntity;
87
- declare const common_outerCircuitEntity: typeof outerCircuitEntity;
67
+ declare const common_interfaceEntity: typeof interfaceEntity;
88
68
  declare const common_serverEntity: typeof serverEntity;
89
- declare const common_tlsIssuerEntity: typeof tlsIssuerEntity;
90
69
  declare namespace common {
91
- export { type common_AccessPoint as AccessPoint, type common_Server as Server, common_accessPoint as accessPoint, common_accessPointEntity as accessPointEntity, common_dnsProviderEntity as dnsProviderEntity, common_existingServer as existingServer, common_gatewayEntity as gatewayEntity, common_innerCircuitEntity as innerCircuitEntity, common_outerCircuitEntity as outerCircuitEntity, common_serverEntity as serverEntity, common_tlsIssuerEntity as tlsIssuerEntity };
70
+ export { type common_DnsProvider as DnsProvider, type common_Endpoint as Endpoint, type common_Interface as Interface, type common_Server as Server, common_dnsProviderEntity as dnsProviderEntity, common_endpointEntity as endpointEntity, common_existingServer as existingServer, common_interfaceEntity as interfaceEntity, common_serverEntity as serverEntity };
92
71
  }
93
72
 
94
73
  declare const clusterEntity$2: _highstate_contract.Entity<"proxmox.cluster", _sinclair_typebox.TObject<{
@@ -96,7 +75,7 @@ declare const clusterEntity$2: _highstate_contract.Entity<"proxmox.cluster", _si
96
75
  insecure: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
97
76
  username: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
98
77
  defaultNodeName: _sinclair_typebox.TString;
99
- defaultDatastoreId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
78
+ defaultDatastoreId: _sinclair_typebox.TString;
100
79
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
101
80
  apiToken: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
102
81
  }>>;
@@ -106,16 +85,16 @@ declare const imageEntity: _highstate_contract.Entity<"proxmox.image", _sinclair
106
85
  declare const connection$1: _highstate_contract.Unit<{
107
86
  insecure?: boolean | undefined;
108
87
  username?: string | undefined;
88
+ defaultNodeName?: string | undefined;
109
89
  defaultDatastoreId?: string | undefined;
110
90
  endpoint: string;
111
- defaultNodeName: string;
112
91
  }, Record<string, never>, {
113
92
  proxmoxCluster: [_highstate_contract.Entity<"proxmox.cluster", _sinclair_typebox.TObject<{
114
93
  endpoint: _sinclair_typebox.TString;
115
94
  insecure: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
116
95
  username: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
117
96
  defaultNodeName: _sinclair_typebox.TString;
118
- defaultDatastoreId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
97
+ defaultDatastoreId: _sinclair_typebox.TString;
119
98
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
120
99
  apiToken: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
121
100
  }>>, true, false];
@@ -134,7 +113,7 @@ declare const image: _highstate_contract.Unit<{
134
113
  insecure: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
135
114
  username: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
136
115
  defaultNodeName: _sinclair_typebox.TString;
137
- defaultDatastoreId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
116
+ defaultDatastoreId: _sinclair_typebox.TString;
138
117
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
139
118
  apiToken: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
140
119
  }>>, true, false];
@@ -151,32 +130,33 @@ declare const existingImage: _highstate_contract.Unit<{
151
130
  }>>, true, false];
152
131
  }, Record<string, never>>;
153
132
  declare const virtualMachine: _highstate_contract.Unit<{
154
- ipv4?: string | undefined;
133
+ sshUser?: string | undefined;
134
+ sshPort?: number | undefined;
155
135
  nodeName?: string | undefined;
156
136
  datastoreId?: string | undefined;
137
+ cpuType?: string | undefined;
157
138
  cores?: number | undefined;
158
139
  sockets?: number | undefined;
159
140
  memory?: number | undefined;
141
+ ipv4?: string | undefined;
160
142
  ipv4Gateway?: string | undefined;
161
143
  dns?: string[] | undefined;
162
144
  diskSize?: number | undefined;
163
145
  bridge?: string | undefined;
146
+ waitForAgent?: boolean | undefined;
164
147
  }, {
165
148
  proxmoxCluster: [_highstate_contract.Entity<"proxmox.cluster", _sinclair_typebox.TObject<{
166
149
  endpoint: _sinclair_typebox.TString;
167
150
  insecure: _sinclair_typebox.TOptional<_sinclair_typebox.TBoolean>;
168
151
  username: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
169
152
  defaultNodeName: _sinclair_typebox.TString;
170
- defaultDatastoreId: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
153
+ defaultDatastoreId: _sinclair_typebox.TString;
171
154
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
172
155
  apiToken: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
173
156
  }>>, true, false];
174
157
  image: [_highstate_contract.Entity<"proxmox.image", _sinclair_typebox.TObject<{
175
158
  id: _sinclair_typebox.TString;
176
159
  }>>, true, false];
177
- sshPublicKey: [_highstate_contract.Entity<"ssh.public-key", _sinclair_typebox.TObject<{
178
- publicKey: _sinclair_typebox.TString;
179
- }>>, false, false];
180
160
  sshKeyPair: [_highstate_contract.Entity<"ssh.key-pair", _sinclair_typebox.TObject<{
181
161
  type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rsa">, _sinclair_typebox.TLiteral<"ed25519">]>;
182
162
  privateKey: _sinclair_typebox.TString;
@@ -191,7 +171,7 @@ declare const virtualMachine: _highstate_contract.Unit<{
191
171
  user: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
192
172
  port: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
193
173
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
194
- privateKey: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
174
+ keyPair: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
195
175
  type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rsa">, _sinclair_typebox.TLiteral<"ed25519">]>;
196
176
  privateKey: _sinclair_typebox.TString;
197
177
  publicKey: _sinclair_typebox.TString;
@@ -214,15 +194,12 @@ declare const keyPairEntity: _highstate_contract.Entity<"ssh.key-pair", _sinclai
214
194
  privateKey: _sinclair_typebox.TString;
215
195
  publicKey: _sinclair_typebox.TString;
216
196
  }>>;
217
- declare const publicKeyEntity: _highstate_contract.Entity<"ssh.public-key", _sinclair_typebox.TObject<{
218
- publicKey: _sinclair_typebox.TString;
219
- }>>;
220
197
  declare const credentialsSchema: _sinclair_typebox.TObject<{
221
198
  endpoint: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
222
199
  user: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
223
200
  port: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
224
201
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
225
- privateKey: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
202
+ keyPair: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
226
203
  type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rsa">, _sinclair_typebox.TLiteral<"ed25519">]>;
227
204
  privateKey: _sinclair_typebox.TString;
228
205
  publicKey: _sinclair_typebox.TString;
@@ -237,81 +214,185 @@ declare const keyPair: _highstate_contract.Unit<Record<string, never>, Record<st
237
214
  }, {
238
215
  privateKey?: string | undefined;
239
216
  }>;
240
- declare const existingPublicKey: _highstate_contract.Unit<{
241
- type: "rsa" | "ed25519";
242
- publicKey: string;
243
- }, Record<string, never>, {
244
- publicKey: [_highstate_contract.Entity<"ssh.public-key", _sinclair_typebox.TObject<{
245
- publicKey: _sinclair_typebox.TString;
246
- }>>, true, false];
247
- }, Record<string, never>>;
217
+ type KeyType = Static<typeof keyTypeSchema>;
218
+ type Credentials = Static<typeof credentialsSchema>;
219
+ type KeyPair = Static<typeof keyPairEntity.schema>;
248
220
 
221
+ type ssh_Credentials = Credentials;
222
+ type ssh_KeyPair = KeyPair;
223
+ type ssh_KeyType = KeyType;
249
224
  declare const ssh_credentialsSchema: typeof credentialsSchema;
250
- declare const ssh_existingPublicKey: typeof existingPublicKey;
251
225
  declare const ssh_keyPair: typeof keyPair;
252
226
  declare const ssh_keyPairEntity: typeof keyPairEntity;
253
227
  declare const ssh_keyTypeSchema: typeof keyTypeSchema;
254
- declare const ssh_publicKeyEntity: typeof publicKeyEntity;
255
228
  declare namespace ssh {
256
- export { ssh_credentialsSchema as credentialsSchema, ssh_existingPublicKey as existingPublicKey, ssh_keyPair as keyPair, ssh_keyPairEntity as keyPairEntity, ssh_keyTypeSchema as keyTypeSchema, ssh_publicKeyEntity as publicKeyEntity };
229
+ export { type ssh_Credentials as Credentials, type ssh_KeyPair as KeyPair, type ssh_KeyType as KeyType, ssh_credentialsSchema as credentialsSchema, ssh_keyPair as keyPair, ssh_keyPairEntity as keyPairEntity, ssh_keyTypeSchema as keyTypeSchema };
257
230
  }
258
231
 
259
232
  declare const clusterEntity$1: _highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
233
+ name: _sinclair_typebox.TString;
260
234
  kubeconfig: _sinclair_typebox.TString;
235
+ cni: _sinclair_typebox.TString;
261
236
  }>>;
262
- declare const routeEntity: _highstate_contract.Entity<"k8s.route", _sinclair_typebox.TObject<{
263
- someField: _sinclair_typebox.TString;
264
- }>>;
265
- declare const traefikGateway: _highstate_contract.Unit<Record<string, never>, {
266
- k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
237
+ declare const existingCluster: _highstate_contract.Unit<Record<string, never>, Record<string, never>, {
238
+ cluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
239
+ name: _sinclair_typebox.TString;
267
240
  kubeconfig: _sinclair_typebox.TString;
241
+ cni: _sinclair_typebox.TString;
268
242
  }>>, true, false];
269
- ingress: [_highstate_contract.Entity<"k8s.route", _sinclair_typebox.TObject<{
270
- someField: _sinclair_typebox.TString;
243
+ }, {
244
+ kubeconfig: {
245
+ [x: string]: any;
246
+ };
247
+ }>;
248
+ declare const gatewayEntity: _highstate_contract.Entity<"k8s.gateway", _sinclair_typebox.TObject<{
249
+ clusterName: _sinclair_typebox.TString;
250
+ gatewayClassName: _sinclair_typebox.TString;
251
+ httpListenerPort: _sinclair_typebox.TNumber;
252
+ httpsListenerPort: _sinclair_typebox.TNumber;
253
+ ip: _sinclair_typebox.TString;
254
+ }>>;
255
+ declare const tlsIssuerEntity: _highstate_contract.Entity<"k8s.tls-issuer", _sinclair_typebox.TObject<{
256
+ clusterName: _sinclair_typebox.TString;
257
+ clusterIssuerName: _sinclair_typebox.TString;
258
+ }>>;
259
+ declare const accessPointEntity: _highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
260
+ gateway: _sinclair_typebox.TObject<{
261
+ clusterName: _sinclair_typebox.TString;
262
+ gatewayClassName: _sinclair_typebox.TString;
263
+ httpListenerPort: _sinclair_typebox.TNumber;
264
+ httpsListenerPort: _sinclair_typebox.TNumber;
265
+ ip: _sinclair_typebox.TString;
266
+ }>;
267
+ tlsIssuer: _sinclair_typebox.TObject<{
268
+ clusterName: _sinclair_typebox.TString;
269
+ clusterIssuerName: _sinclair_typebox.TString;
270
+ }>;
271
+ dnsProvider: _sinclair_typebox.TObject<{
272
+ name: _sinclair_typebox.TString;
273
+ type: _sinclair_typebox.TString;
274
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
275
+ domain: _sinclair_typebox.TString;
276
+ }>;
277
+ }>>;
278
+ declare const accessPoint: _highstate_contract.Unit<Record<string, never>, {
279
+ gateway: [_highstate_contract.Entity<"k8s.gateway", _sinclair_typebox.TObject<{
280
+ clusterName: _sinclair_typebox.TString;
281
+ gatewayClassName: _sinclair_typebox.TString;
282
+ httpListenerPort: _sinclair_typebox.TNumber;
283
+ httpsListenerPort: _sinclair_typebox.TNumber;
284
+ ip: _sinclair_typebox.TString;
285
+ }>>, true, false];
286
+ tlsIssuer: [_highstate_contract.Entity<"k8s.tls-issuer", _sinclair_typebox.TObject<{
287
+ clusterName: _sinclair_typebox.TString;
288
+ clusterIssuerName: _sinclair_typebox.TString;
289
+ }>>, true, false];
290
+ dnsProvider: [_highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
291
+ name: _sinclair_typebox.TString;
292
+ type: _sinclair_typebox.TString;
293
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
294
+ domain: _sinclair_typebox.TString;
271
295
  }>>, true, false];
272
296
  }, {
273
- gateway: [_highstate_contract.Entity<"common.gateway", _sinclair_typebox.TObject<{
274
- endpoint: _sinclair_typebox.TString;
297
+ accessPoint: [_highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
298
+ gateway: _sinclair_typebox.TObject<{
299
+ clusterName: _sinclair_typebox.TString;
300
+ gatewayClassName: _sinclair_typebox.TString;
301
+ httpListenerPort: _sinclair_typebox.TNumber;
302
+ httpsListenerPort: _sinclair_typebox.TNumber;
303
+ ip: _sinclair_typebox.TString;
304
+ }>;
305
+ tlsIssuer: _sinclair_typebox.TObject<{
306
+ clusterName: _sinclair_typebox.TString;
307
+ clusterIssuerName: _sinclair_typebox.TString;
308
+ }>;
309
+ dnsProvider: _sinclair_typebox.TObject<{
310
+ name: _sinclair_typebox.TString;
311
+ type: _sinclair_typebox.TString;
312
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
313
+ domain: _sinclair_typebox.TString;
314
+ }>;
275
315
  }>>, true, false];
276
316
  }, Record<string, never>>;
277
317
  declare const certManager: _highstate_contract.Unit<Record<string, never>, {
278
318
  k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
319
+ name: _sinclair_typebox.TString;
279
320
  kubeconfig: _sinclair_typebox.TString;
280
- }>>, true, false];
281
- dnsProvider: [_highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
282
- endpoint: _sinclair_typebox.TString;
321
+ cni: _sinclair_typebox.TString;
283
322
  }>>, true, false];
284
323
  }, {
285
- tlsIssuer: [_highstate_contract.Entity<"common.tls-issuer", _sinclair_typebox.TObject<{
286
- endpoint: _sinclair_typebox.TString;
324
+ k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
325
+ name: _sinclair_typebox.TString;
326
+ kubeconfig: _sinclair_typebox.TString;
327
+ cni: _sinclair_typebox.TString;
287
328
  }>>, true, false];
288
329
  }, Record<string, never>>;
289
- declare const coredns: _highstate_contract.Unit<Record<string, never>, {
330
+ declare const dns01TlsIssuer: _highstate_contract.Unit<Record<string, never>, {
290
331
  k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
332
+ name: _sinclair_typebox.TString;
291
333
  kubeconfig: _sinclair_typebox.TString;
334
+ cni: _sinclair_typebox.TString;
292
335
  }>>, true, false];
293
- }, {
294
336
  dnsProvider: [_highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
295
- endpoint: _sinclair_typebox.TString;
337
+ name: _sinclair_typebox.TString;
338
+ type: _sinclair_typebox.TString;
339
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
340
+ domain: _sinclair_typebox.TString;
341
+ }>>, true, false];
342
+ }, {
343
+ tlsIssuer: [_highstate_contract.Entity<"k8s.tls-issuer", _sinclair_typebox.TObject<{
344
+ clusterName: _sinclair_typebox.TString;
345
+ clusterIssuerName: _sinclair_typebox.TString;
296
346
  }>>, true, false];
297
347
  }, Record<string, never>>;
348
+ declare const serviceTypeSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
349
+ declare const serviceEntity: _highstate_contract.Entity<"k8s.service", _sinclair_typebox.TObject<{
350
+ clusterName: _sinclair_typebox.TString;
351
+ name: _sinclair_typebox.TString;
352
+ namespace: _sinclair_typebox.TString;
353
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
354
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
355
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
356
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
357
+ }>>;
358
+ type Cluster = Static<typeof clusterEntity$1.schema>;
359
+ type Gateway = Static<typeof gatewayEntity.schema>;
360
+ type TlsIssuer = Static<typeof tlsIssuerEntity.schema>;
361
+ type AccessPoint = Static<typeof accessPointEntity.schema>;
362
+ type ServiceType = Static<typeof serviceTypeSchema>;
363
+ type Service = Static<typeof serviceEntity.schema>;
298
364
 
365
+ type k8s_AccessPoint = AccessPoint;
366
+ type k8s_Cluster = Cluster;
367
+ type k8s_Gateway = Gateway;
368
+ type k8s_Service = Service;
369
+ type k8s_ServiceType = ServiceType;
370
+ type k8s_TlsIssuer = TlsIssuer;
371
+ declare const k8s_accessPoint: typeof accessPoint;
372
+ declare const k8s_accessPointEntity: typeof accessPointEntity;
299
373
  declare const k8s_certManager: typeof certManager;
300
- declare const k8s_coredns: typeof coredns;
301
- declare const k8s_routeEntity: typeof routeEntity;
302
- declare const k8s_traefikGateway: typeof traefikGateway;
374
+ declare const k8s_dns01TlsIssuer: typeof dns01TlsIssuer;
375
+ declare const k8s_existingCluster: typeof existingCluster;
376
+ declare const k8s_gatewayEntity: typeof gatewayEntity;
377
+ declare const k8s_serviceEntity: typeof serviceEntity;
378
+ declare const k8s_serviceTypeSchema: typeof serviceTypeSchema;
379
+ declare const k8s_tlsIssuerEntity: typeof tlsIssuerEntity;
303
380
  declare namespace k8s {
304
- export { k8s_certManager as certManager, clusterEntity$1 as clusterEntity, k8s_coredns as coredns, k8s_routeEntity as routeEntity, k8s_traefikGateway as traefikGateway };
381
+ export { type k8s_AccessPoint as AccessPoint, type k8s_Cluster as Cluster, type k8s_Gateway as Gateway, type k8s_Service as Service, type k8s_ServiceType as ServiceType, type k8s_TlsIssuer as TlsIssuer, k8s_accessPoint as accessPoint, k8s_accessPointEntity as accessPointEntity, k8s_certManager as certManager, clusterEntity$1 as clusterEntity, k8s_dns01TlsIssuer as dns01TlsIssuer, k8s_existingCluster as existingCluster, k8s_gatewayEntity as gatewayEntity, k8s_serviceEntity as serviceEntity, k8s_serviceTypeSchema as serviceTypeSchema, k8s_tlsIssuerEntity as tlsIssuerEntity };
305
382
  }
306
383
 
307
384
  declare const clusterEntity: _highstate_contract.Entity<"talos.cluster", _sinclair_typebox.TObject<{
308
385
  clientConfiguration: _sinclair_typebox.TString;
309
386
  machineSecrets: _sinclair_typebox.TString;
310
387
  }>>;
388
+ declare const cniSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"cilium">, _sinclair_typebox.TLiteral<"flannel">, _sinclair_typebox.TLiteral<"none">]>;
389
+ declare const csiSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"local-path-provisioner">, _sinclair_typebox.TLiteral<"none">]>;
311
390
  declare const cluster$1: _highstate_contract.Unit<{
312
391
  endpoint?: string | undefined;
313
- scheduleOnMasters?: boolean | undefined;
392
+ cni?: "cilium" | "flannel" | "none" | undefined;
314
393
  clusterName?: string | undefined;
394
+ scheduleOnMasters?: boolean | undefined;
395
+ csi?: "none" | "local-path-provisioner" | undefined;
315
396
  sharedConfigPatch?: {
316
397
  [x: string]: any;
317
398
  } | undefined;
@@ -330,7 +411,7 @@ declare const cluster$1: _highstate_contract.Unit<{
330
411
  user: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
331
412
  port: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
332
413
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
333
- privateKey: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
414
+ keyPair: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
334
415
  type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rsa">, _sinclair_typebox.TLiteral<"ed25519">]>;
335
416
  privateKey: _sinclair_typebox.TString;
336
417
  publicKey: _sinclair_typebox.TString;
@@ -345,7 +426,7 @@ declare const cluster$1: _highstate_contract.Unit<{
345
426
  user: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
346
427
  port: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
347
428
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
348
- privateKey: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
429
+ keyPair: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
349
430
  type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rsa">, _sinclair_typebox.TLiteral<"ed25519">]>;
350
431
  privateKey: _sinclair_typebox.TString;
351
432
  publicKey: _sinclair_typebox.TString;
@@ -354,20 +435,21 @@ declare const cluster$1: _highstate_contract.Unit<{
354
435
  }>>, false, true];
355
436
  }, {
356
437
  k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
438
+ name: _sinclair_typebox.TString;
357
439
  kubeconfig: _sinclair_typebox.TString;
440
+ cni: _sinclair_typebox.TString;
358
441
  }>>, true, false];
359
442
  talosCluster: [_highstate_contract.Entity<"talos.cluster", _sinclair_typebox.TObject<{
360
443
  clientConfiguration: _sinclair_typebox.TString;
361
444
  machineSecrets: _sinclair_typebox.TString;
362
445
  }>>, true, false];
363
- egress: [_highstate_contract.Entity<"k8s.route", _sinclair_typebox.TObject<{
364
- someField: _sinclair_typebox.TString;
365
- }>>, true, false];
366
446
  }, Record<string, never>>;
367
447
 
368
448
  declare const talos_clusterEntity: typeof clusterEntity;
449
+ declare const talos_cniSchema: typeof cniSchema;
450
+ declare const talos_csiSchema: typeof csiSchema;
369
451
  declare namespace talos {
370
- export { cluster$1 as cluster, talos_clusterEntity as clusterEntity };
452
+ export { cluster$1 as cluster, talos_clusterEntity as clusterEntity, talos_cniSchema as cniSchema, talos_csiSchema as csiSchema };
371
453
  }
372
454
 
373
455
  declare const backendSchema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"wireguard">, _sinclair_typebox.TLiteral<"amneziawg">]>;
@@ -389,6 +471,18 @@ declare const identityEntity: _highstate_contract.Entity<"wireguard.identity", _
389
471
  address: _sinclair_typebox.TString;
390
472
  privateKey: _sinclair_typebox.TString;
391
473
  presharedKeyPart: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
474
+ k8sServices: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
475
+ clusterName: _sinclair_typebox.TString;
476
+ name: _sinclair_typebox.TString;
477
+ namespace: _sinclair_typebox.TString;
478
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
479
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
480
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
481
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
482
+ }>>;
483
+ exitNode: _sinclair_typebox.TBoolean;
484
+ listenPort: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
485
+ externalIp: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
392
486
  }>>;
393
487
  declare const peerEntity: _highstate_contract.Entity<"wireguard.peer", _sinclair_typebox.TObject<{
394
488
  name: _sinclair_typebox.TString;
@@ -429,9 +523,11 @@ declare const network: _highstate_contract.Unit<{
429
523
  }>;
430
524
  declare const identity: _highstate_contract.Unit<{
431
525
  endpoint?: string | undefined;
526
+ exitNode?: boolean | undefined;
527
+ listenPort?: number | undefined;
528
+ externalIp?: string | undefined;
432
529
  allowedIps?: string[] | undefined;
433
530
  peerName?: string | undefined;
434
- exitNode?: boolean | undefined;
435
531
  address: string;
436
532
  }, {
437
533
  network: [_highstate_contract.Entity<"wireguard.network", _sinclair_typebox.TObject<{
@@ -439,6 +535,15 @@ declare const identity: _highstate_contract.Unit<{
439
535
  presharedKeyMode: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"none">, _sinclair_typebox.TLiteral<"global">, _sinclair_typebox.TLiteral<"secure">]>;
440
536
  globalPresharedKey: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
441
537
  }>>, false, false];
538
+ k8sServices: [_highstate_contract.Entity<"k8s.service", _sinclair_typebox.TObject<{
539
+ clusterName: _sinclair_typebox.TString;
540
+ name: _sinclair_typebox.TString;
541
+ namespace: _sinclair_typebox.TString;
542
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
543
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
544
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
545
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
546
+ }>>, false, true];
442
547
  }, {
443
548
  identity: [_highstate_contract.Entity<"wireguard.identity", _sinclair_typebox.TObject<{
444
549
  name: _sinclair_typebox.TString;
@@ -450,6 +555,18 @@ declare const identity: _highstate_contract.Unit<{
450
555
  address: _sinclair_typebox.TString;
451
556
  privateKey: _sinclair_typebox.TString;
452
557
  presharedKeyPart: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
558
+ k8sServices: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
559
+ clusterName: _sinclair_typebox.TString;
560
+ name: _sinclair_typebox.TString;
561
+ namespace: _sinclair_typebox.TString;
562
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
563
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
564
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
565
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
566
+ }>>;
567
+ exitNode: _sinclair_typebox.TBoolean;
568
+ listenPort: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
569
+ externalIp: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
453
570
  }>>, true, false];
454
571
  peer: [_highstate_contract.Entity<"wireguard.peer", _sinclair_typebox.TObject<{
455
572
  name: _sinclair_typebox.TString;
@@ -469,9 +586,8 @@ declare const identity: _highstate_contract.Unit<{
469
586
  presharedKeyPart?: string | undefined;
470
587
  }>;
471
588
  declare const node: _highstate_contract.Unit<{
472
- listenPort?: number | undefined;
473
- externalIp?: string | undefined;
474
589
  serviceType?: "NodePort" | "LoadBalancer" | "ClusterIP" | undefined;
590
+ appName?: string | undefined;
475
591
  }, {
476
592
  identity: [_highstate_contract.Entity<"wireguard.identity", _sinclair_typebox.TObject<{
477
593
  name: _sinclair_typebox.TString;
@@ -483,10 +599,24 @@ declare const node: _highstate_contract.Unit<{
483
599
  address: _sinclair_typebox.TString;
484
600
  privateKey: _sinclair_typebox.TString;
485
601
  presharedKeyPart: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
602
+ k8sServices: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
603
+ clusterName: _sinclair_typebox.TString;
604
+ name: _sinclair_typebox.TString;
605
+ namespace: _sinclair_typebox.TString;
606
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
607
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
608
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
609
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
610
+ }>>;
611
+ exitNode: _sinclair_typebox.TBoolean;
612
+ listenPort: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
613
+ externalIp: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
486
614
  }>>, true, false];
487
615
  k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
616
+ name: _sinclair_typebox.TString;
488
617
  kubeconfig: _sinclair_typebox.TString;
489
- }>>, false, false];
618
+ cni: _sinclair_typebox.TString;
619
+ }>>, true, false];
490
620
  peers: [_highstate_contract.Entity<"wireguard.peer", _sinclair_typebox.TObject<{
491
621
  name: _sinclair_typebox.TString;
492
622
  network: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
@@ -500,12 +630,6 @@ declare const node: _highstate_contract.Unit<{
500
630
  endpoint: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
501
631
  presharedKeyPart: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
502
632
  }>>, false, true];
503
- innerCircuit: [_highstate_contract.Entity<"common.inner-circuit", _sinclair_typebox.TObject<{
504
- interface: _sinclair_typebox.TString;
505
- }>>, true, false];
506
- outerCircuit: [_highstate_contract.Entity<"common.outer-circuit", _sinclair_typebox.TObject<{
507
- interface: _sinclair_typebox.TString;
508
- }>>, true, false];
509
633
  }, Record<string, never>, Record<string, never>>;
510
634
  declare const config: _highstate_contract.Unit<Record<string, never>, {
511
635
  identity: [_highstate_contract.Entity<"wireguard.identity", _sinclair_typebox.TObject<{
@@ -518,6 +642,18 @@ declare const config: _highstate_contract.Unit<Record<string, never>, {
518
642
  address: _sinclair_typebox.TString;
519
643
  privateKey: _sinclair_typebox.TString;
520
644
  presharedKeyPart: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
645
+ k8sServices: _sinclair_typebox.TArray<_sinclair_typebox.TObject<{
646
+ clusterName: _sinclair_typebox.TString;
647
+ name: _sinclair_typebox.TString;
648
+ namespace: _sinclair_typebox.TString;
649
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
650
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
651
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
652
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
653
+ }>>;
654
+ exitNode: _sinclair_typebox.TBoolean;
655
+ listenPort: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
656
+ externalIp: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
521
657
  }>>, true, false];
522
658
  peers: [_highstate_contract.Entity<"wireguard.peer", _sinclair_typebox.TObject<{
523
659
  name: _sinclair_typebox.TString;
@@ -592,110 +728,411 @@ declare namespace wireguard {
592
728
  }
593
729
 
594
730
  declare const mariadbEntity: _highstate_contract.Entity<"mariadb", _sinclair_typebox.TObject<{
731
+ host: _sinclair_typebox.TString;
732
+ port: _sinclair_typebox.TNumber;
595
733
  rootPassword: _sinclair_typebox.TString;
596
- databases: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
597
- }>>;
598
- declare const postgresqlEntity: _highstate_contract.Entity<"postgresql", _sinclair_typebox.TObject<{
599
- rootPassword: _sinclair_typebox.TString;
600
- databases: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
734
+ clusterName: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
735
+ clusterHost: _sinclair_typebox.TString;
736
+ clusterIp: _sinclair_typebox.TString;
737
+ fqdn: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
601
738
  }>>;
602
- declare const mariadb: _highstate_contract.Unit<Record<string, never>, {
739
+ declare const mariadb: _highstate_contract.Unit<{
740
+ appName?: string | undefined;
741
+ fqdn?: string | undefined;
742
+ }, {
603
743
  k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
744
+ name: _sinclair_typebox.TString;
604
745
  kubeconfig: _sinclair_typebox.TString;
746
+ cni: _sinclair_typebox.TString;
605
747
  }>>, true, false];
748
+ resticRepo: [_highstate_contract.Entity<"restic.repo", _sinclair_typebox.TObject<{
749
+ password: _sinclair_typebox.TString;
750
+ remoteDomains: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
751
+ type: _sinclair_typebox.TLiteral<"rclone">;
752
+ rcloneConfig: _sinclair_typebox.TString;
753
+ remoteName: _sinclair_typebox.TString;
754
+ basePath: _sinclair_typebox.TString;
755
+ }>>, false, false];
756
+ dnsProvider: [_highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
757
+ name: _sinclair_typebox.TString;
758
+ type: _sinclair_typebox.TString;
759
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
760
+ domain: _sinclair_typebox.TString;
761
+ }>>, false, false];
606
762
  }, {
607
763
  mariadb: [_highstate_contract.Entity<"mariadb", _sinclair_typebox.TObject<{
764
+ host: _sinclair_typebox.TString;
765
+ port: _sinclair_typebox.TNumber;
608
766
  rootPassword: _sinclair_typebox.TString;
609
- databases: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
767
+ clusterName: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
768
+ clusterHost: _sinclair_typebox.TString;
769
+ clusterIp: _sinclair_typebox.TString;
770
+ fqdn: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
771
+ }>>, true, false];
772
+ service: [_highstate_contract.Entity<"k8s.service", _sinclair_typebox.TObject<{
773
+ clusterName: _sinclair_typebox.TString;
774
+ name: _sinclair_typebox.TString;
775
+ namespace: _sinclair_typebox.TString;
776
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
777
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
778
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
779
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
610
780
  }>>, true, false];
611
781
  }, {
612
- rootPassword: string;
782
+ rootPassword?: string | undefined;
613
783
  }>;
614
- declare const postgresql: _highstate_contract.Unit<Record<string, never>, {
784
+ type MariaDB = Static<typeof mariadbEntity.schema>;
785
+
786
+ declare const postgresqlEntity: _highstate_contract.Entity<"postgresql", _sinclair_typebox.TObject<{
787
+ host: _sinclair_typebox.TString;
788
+ port: _sinclair_typebox.TNumber;
789
+ rootPassword: _sinclair_typebox.TString;
790
+ clusterName: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
791
+ clusterHost: _sinclair_typebox.TString;
792
+ clusterIp: _sinclair_typebox.TString;
793
+ fqdn: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
794
+ }>>;
795
+ declare const postgresql: _highstate_contract.Unit<{
796
+ appName?: string | undefined;
797
+ fqdn?: string | undefined;
798
+ }, {
615
799
  k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
800
+ name: _sinclair_typebox.TString;
616
801
  kubeconfig: _sinclair_typebox.TString;
802
+ cni: _sinclair_typebox.TString;
617
803
  }>>, true, false];
804
+ resticRepo: [_highstate_contract.Entity<"restic.repo", _sinclair_typebox.TObject<{
805
+ password: _sinclair_typebox.TString;
806
+ remoteDomains: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
807
+ type: _sinclair_typebox.TLiteral<"rclone">;
808
+ rcloneConfig: _sinclair_typebox.TString;
809
+ remoteName: _sinclair_typebox.TString;
810
+ basePath: _sinclair_typebox.TString;
811
+ }>>, false, false];
812
+ dnsProvider: [_highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
813
+ name: _sinclair_typebox.TString;
814
+ type: _sinclair_typebox.TString;
815
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
816
+ domain: _sinclair_typebox.TString;
817
+ }>>, false, false];
618
818
  }, {
619
819
  postgresql: [_highstate_contract.Entity<"postgresql", _sinclair_typebox.TObject<{
820
+ host: _sinclair_typebox.TString;
821
+ port: _sinclair_typebox.TNumber;
620
822
  rootPassword: _sinclair_typebox.TString;
621
- databases: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
823
+ clusterName: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
824
+ clusterHost: _sinclair_typebox.TString;
825
+ clusterIp: _sinclair_typebox.TString;
826
+ fqdn: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
827
+ }>>, true, false];
828
+ service: [_highstate_contract.Entity<"k8s.service", _sinclair_typebox.TObject<{
829
+ clusterName: _sinclair_typebox.TString;
830
+ name: _sinclair_typebox.TString;
831
+ namespace: _sinclair_typebox.TString;
832
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
833
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
834
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
835
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
622
836
  }>>, true, false];
623
837
  }, {
624
- rootPassword: string;
838
+ rootPassword?: string | undefined;
625
839
  }>;
840
+ type PostgreSQL = Static<typeof postgresqlEntity.schema>;
841
+
626
842
  declare const vaultwarden: _highstate_contract.Unit<{
627
- domain: string;
843
+ appName?: string | undefined;
844
+ fqdn: string;
628
845
  }, {
629
846
  mariadb: [_highstate_contract.Entity<"mariadb", _sinclair_typebox.TObject<{
847
+ host: _sinclair_typebox.TString;
848
+ port: _sinclair_typebox.TNumber;
630
849
  rootPassword: _sinclair_typebox.TString;
631
- databases: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
850
+ clusterName: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
851
+ clusterHost: _sinclair_typebox.TString;
852
+ clusterIp: _sinclair_typebox.TString;
853
+ fqdn: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
632
854
  }>>, true, false];
633
855
  accessPoint: [_highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
856
+ gateway: _sinclair_typebox.TObject<{
857
+ clusterName: _sinclair_typebox.TString;
858
+ gatewayClassName: _sinclair_typebox.TString;
859
+ httpListenerPort: _sinclair_typebox.TNumber;
860
+ httpsListenerPort: _sinclair_typebox.TNumber;
861
+ ip: _sinclair_typebox.TString;
862
+ }>;
863
+ tlsIssuer: _sinclair_typebox.TObject<{
864
+ clusterName: _sinclair_typebox.TString;
865
+ clusterIssuerName: _sinclair_typebox.TString;
866
+ }>;
867
+ dnsProvider: _sinclair_typebox.TObject<{
868
+ name: _sinclair_typebox.TString;
869
+ type: _sinclair_typebox.TString;
870
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
871
+ domain: _sinclair_typebox.TString;
872
+ }>;
873
+ }>>, true, false];
874
+ k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
634
875
  name: _sinclair_typebox.TString;
876
+ kubeconfig: _sinclair_typebox.TString;
877
+ cni: _sinclair_typebox.TString;
878
+ }>>, true, false];
879
+ }, Record<string, never>, {
880
+ mariadbPassword?: string | undefined;
881
+ }>;
882
+
883
+ declare const zitadel: _highstate_contract.Unit<{
884
+ domain: string;
885
+ }, {
886
+ postgresql: [_highstate_contract.Entity<"postgresql", _sinclair_typebox.TObject<{
887
+ host: _sinclair_typebox.TString;
888
+ port: _sinclair_typebox.TNumber;
889
+ rootPassword: _sinclair_typebox.TString;
890
+ clusterName: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
891
+ clusterHost: _sinclair_typebox.TString;
892
+ clusterIp: _sinclair_typebox.TString;
893
+ fqdn: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
894
+ }>>, true, false];
895
+ accessPoint: [_highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
896
+ gateway: _sinclair_typebox.TObject<{
897
+ clusterName: _sinclair_typebox.TString;
898
+ gatewayClassName: _sinclair_typebox.TString;
899
+ httpListenerPort: _sinclair_typebox.TNumber;
900
+ httpsListenerPort: _sinclair_typebox.TNumber;
901
+ ip: _sinclair_typebox.TString;
902
+ }>;
903
+ tlsIssuer: _sinclair_typebox.TObject<{
904
+ clusterName: _sinclair_typebox.TString;
905
+ clusterIssuerName: _sinclair_typebox.TString;
906
+ }>;
907
+ dnsProvider: _sinclair_typebox.TObject<{
908
+ name: _sinclair_typebox.TString;
909
+ type: _sinclair_typebox.TString;
910
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
911
+ domain: _sinclair_typebox.TString;
912
+ }>;
913
+ }>>, true, false];
914
+ k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
915
+ name: _sinclair_typebox.TString;
916
+ kubeconfig: _sinclair_typebox.TString;
917
+ cni: _sinclair_typebox.TString;
635
918
  }>>, true, false];
636
919
  }, Record<string, never>, Record<string, never>>;
920
+
637
921
  declare const gitea: _highstate_contract.Unit<{
638
922
  domain: string;
639
923
  }, {
640
924
  mariadb: [_highstate_contract.Entity<"mariadb", _sinclair_typebox.TObject<{
925
+ host: _sinclair_typebox.TString;
926
+ port: _sinclair_typebox.TNumber;
641
927
  rootPassword: _sinclair_typebox.TString;
642
- databases: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
928
+ clusterName: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
929
+ clusterHost: _sinclair_typebox.TString;
930
+ clusterIp: _sinclair_typebox.TString;
931
+ fqdn: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
643
932
  }>>, true, false];
644
933
  accessPoint: [_highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
934
+ gateway: _sinclair_typebox.TObject<{
935
+ clusterName: _sinclair_typebox.TString;
936
+ gatewayClassName: _sinclair_typebox.TString;
937
+ httpListenerPort: _sinclair_typebox.TNumber;
938
+ httpsListenerPort: _sinclair_typebox.TNumber;
939
+ ip: _sinclair_typebox.TString;
940
+ }>;
941
+ tlsIssuer: _sinclair_typebox.TObject<{
942
+ clusterName: _sinclair_typebox.TString;
943
+ clusterIssuerName: _sinclair_typebox.TString;
944
+ }>;
945
+ dnsProvider: _sinclair_typebox.TObject<{
946
+ name: _sinclair_typebox.TString;
947
+ type: _sinclair_typebox.TString;
948
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
949
+ domain: _sinclair_typebox.TString;
950
+ }>;
951
+ }>>, true, false];
952
+ k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
645
953
  name: _sinclair_typebox.TString;
954
+ kubeconfig: _sinclair_typebox.TString;
955
+ cni: _sinclair_typebox.TString;
646
956
  }>>, true, false];
647
957
  }, Record<string, never>, Record<string, never>>;
648
- declare const zitadel: _highstate_contract.Unit<{
649
- domain: string;
958
+
959
+ declare const traefikGateway: _highstate_contract.Unit<{
960
+ serviceType?: "NodePort" | "LoadBalancer" | "ClusterIP" | undefined;
961
+ className?: string | undefined;
962
+ }, {
963
+ k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
964
+ name: _sinclair_typebox.TString;
965
+ kubeconfig: _sinclair_typebox.TString;
966
+ cni: _sinclair_typebox.TString;
967
+ }>>, true, false];
968
+ }, {
969
+ gateway: [_highstate_contract.Entity<"k8s.gateway", _sinclair_typebox.TObject<{
970
+ clusterName: _sinclair_typebox.TString;
971
+ gatewayClassName: _sinclair_typebox.TString;
972
+ httpListenerPort: _sinclair_typebox.TNumber;
973
+ httpsListenerPort: _sinclair_typebox.TNumber;
974
+ ip: _sinclair_typebox.TString;
975
+ }>>, true, false];
976
+ service: [_highstate_contract.Entity<"k8s.service", _sinclair_typebox.TObject<{
977
+ clusterName: _sinclair_typebox.TString;
978
+ name: _sinclair_typebox.TString;
979
+ namespace: _sinclair_typebox.TString;
980
+ selector: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TString>;
981
+ serviceType: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"NodePort">, _sinclair_typebox.TLiteral<"LoadBalancer">, _sinclair_typebox.TLiteral<"ClusterIP">]>;
982
+ ip: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
983
+ ports: _sinclair_typebox.TArray<_sinclair_typebox.TNumber>;
984
+ }>>, true, false];
985
+ }, Record<string, never>>;
986
+
987
+ declare const kubernetesDashboard: _highstate_contract.Unit<{
988
+ appName?: string | undefined;
989
+ fqdn: string;
990
+ }, {
991
+ k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
992
+ name: _sinclair_typebox.TString;
993
+ kubeconfig: _sinclair_typebox.TString;
994
+ cni: _sinclair_typebox.TString;
995
+ }>>, true, false];
996
+ accessPoint: [_highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
997
+ gateway: _sinclair_typebox.TObject<{
998
+ clusterName: _sinclair_typebox.TString;
999
+ gatewayClassName: _sinclair_typebox.TString;
1000
+ httpListenerPort: _sinclair_typebox.TNumber;
1001
+ httpsListenerPort: _sinclair_typebox.TNumber;
1002
+ ip: _sinclair_typebox.TString;
1003
+ }>;
1004
+ tlsIssuer: _sinclair_typebox.TObject<{
1005
+ clusterName: _sinclair_typebox.TString;
1006
+ clusterIssuerName: _sinclair_typebox.TString;
1007
+ }>;
1008
+ dnsProvider: _sinclair_typebox.TObject<{
1009
+ name: _sinclair_typebox.TString;
1010
+ type: _sinclair_typebox.TString;
1011
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
1012
+ domain: _sinclair_typebox.TString;
1013
+ }>;
1014
+ }>>, true, false];
1015
+ }, Record<string, never>, Record<string, never>>;
1016
+
1017
+ declare const grocy: _highstate_contract.Unit<{
1018
+ appName?: string | undefined;
1019
+ fqdn: string;
1020
+ }, {
1021
+ resticRepo: [_highstate_contract.Entity<"restic.repo", _sinclair_typebox.TObject<{
1022
+ password: _sinclair_typebox.TString;
1023
+ remoteDomains: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
1024
+ type: _sinclair_typebox.TLiteral<"rclone">;
1025
+ rcloneConfig: _sinclair_typebox.TString;
1026
+ remoteName: _sinclair_typebox.TString;
1027
+ basePath: _sinclair_typebox.TString;
1028
+ }>>, false, false];
1029
+ accessPoint: [_highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
1030
+ gateway: _sinclair_typebox.TObject<{
1031
+ clusterName: _sinclair_typebox.TString;
1032
+ gatewayClassName: _sinclair_typebox.TString;
1033
+ httpListenerPort: _sinclair_typebox.TNumber;
1034
+ httpsListenerPort: _sinclair_typebox.TNumber;
1035
+ ip: _sinclair_typebox.TString;
1036
+ }>;
1037
+ tlsIssuer: _sinclair_typebox.TObject<{
1038
+ clusterName: _sinclair_typebox.TString;
1039
+ clusterIssuerName: _sinclair_typebox.TString;
1040
+ }>;
1041
+ dnsProvider: _sinclair_typebox.TObject<{
1042
+ name: _sinclair_typebox.TString;
1043
+ type: _sinclair_typebox.TString;
1044
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
1045
+ domain: _sinclair_typebox.TString;
1046
+ }>;
1047
+ }>>, true, false];
1048
+ k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
1049
+ name: _sinclair_typebox.TString;
1050
+ kubeconfig: _sinclair_typebox.TString;
1051
+ cni: _sinclair_typebox.TString;
1052
+ }>>, true, false];
1053
+ }, Record<string, never>, Record<string, never>>;
1054
+
1055
+ declare const maybe: _highstate_contract.Unit<{
1056
+ appName?: string | undefined;
1057
+ fqdn: string;
650
1058
  }, {
651
1059
  postgresql: [_highstate_contract.Entity<"postgresql", _sinclair_typebox.TObject<{
1060
+ host: _sinclair_typebox.TString;
1061
+ port: _sinclair_typebox.TNumber;
652
1062
  rootPassword: _sinclair_typebox.TString;
653
- databases: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
1063
+ clusterName: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
1064
+ clusterHost: _sinclair_typebox.TString;
1065
+ clusterIp: _sinclair_typebox.TString;
1066
+ fqdn: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
654
1067
  }>>, true, false];
655
1068
  accessPoint: [_highstate_contract.Entity<"common.access-point", _sinclair_typebox.TObject<{
1069
+ gateway: _sinclair_typebox.TObject<{
1070
+ clusterName: _sinclair_typebox.TString;
1071
+ gatewayClassName: _sinclair_typebox.TString;
1072
+ httpListenerPort: _sinclair_typebox.TNumber;
1073
+ httpsListenerPort: _sinclair_typebox.TNumber;
1074
+ ip: _sinclair_typebox.TString;
1075
+ }>;
1076
+ tlsIssuer: _sinclair_typebox.TObject<{
1077
+ clusterName: _sinclair_typebox.TString;
1078
+ clusterIssuerName: _sinclair_typebox.TString;
1079
+ }>;
1080
+ dnsProvider: _sinclair_typebox.TObject<{
1081
+ name: _sinclair_typebox.TString;
1082
+ type: _sinclair_typebox.TString;
1083
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
1084
+ domain: _sinclair_typebox.TString;
1085
+ }>;
1086
+ }>>, true, false];
1087
+ k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
656
1088
  name: _sinclair_typebox.TString;
1089
+ kubeconfig: _sinclair_typebox.TString;
1090
+ cni: _sinclair_typebox.TString;
657
1091
  }>>, true, false];
658
- }, Record<string, never>, Record<string, never>>;
1092
+ resticRepo: [_highstate_contract.Entity<"restic.repo", _sinclair_typebox.TObject<{
1093
+ password: _sinclair_typebox.TString;
1094
+ remoteDomains: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
1095
+ type: _sinclair_typebox.TLiteral<"rclone">;
1096
+ rcloneConfig: _sinclair_typebox.TString;
1097
+ remoteName: _sinclair_typebox.TString;
1098
+ basePath: _sinclair_typebox.TString;
1099
+ }>>, false, false];
1100
+ }, Record<string, never>, {
1101
+ postgresqlPassword?: string | undefined;
1102
+ secretKey?: string | undefined;
1103
+ }>;
659
1104
 
660
- declare const apps_gitea: typeof gitea;
661
- declare const apps_mariadb: typeof mariadb;
662
- declare const apps_mariadbEntity: typeof mariadbEntity;
663
- declare const apps_postgresql: typeof postgresql;
664
- declare const apps_postgresqlEntity: typeof postgresqlEntity;
665
- declare const apps_vaultwarden: typeof vaultwarden;
666
- declare const apps_zitadel: typeof zitadel;
667
- declare namespace apps {
668
- export { apps_gitea as gitea, apps_mariadb as mariadb, apps_mariadbEntity as mariadbEntity, apps_postgresql as postgresql, apps_postgresqlEntity as postgresqlEntity, apps_vaultwarden as vaultwarden, apps_zitadel as zitadel };
1105
+ type index_MariaDB = MariaDB;
1106
+ type index_PostgreSQL = PostgreSQL;
1107
+ declare const index_gitea: typeof gitea;
1108
+ declare const index_grocy: typeof grocy;
1109
+ declare const index_kubernetesDashboard: typeof kubernetesDashboard;
1110
+ declare const index_mariadb: typeof mariadb;
1111
+ declare const index_mariadbEntity: typeof mariadbEntity;
1112
+ declare const index_maybe: typeof maybe;
1113
+ declare const index_postgresql: typeof postgresql;
1114
+ declare const index_postgresqlEntity: typeof postgresqlEntity;
1115
+ declare const index_traefikGateway: typeof traefikGateway;
1116
+ declare const index_vaultwarden: typeof vaultwarden;
1117
+ declare const index_zitadel: typeof zitadel;
1118
+ declare namespace index {
1119
+ export { type index_MariaDB as MariaDB, type index_PostgreSQL as PostgreSQL, index_gitea as gitea, index_grocy as grocy, index_kubernetesDashboard as kubernetesDashboard, index_mariadb as mariadb, index_mariadbEntity as mariadbEntity, index_maybe as maybe, index_postgresql as postgresql, index_postgresqlEntity as postgresqlEntity, index_traefikGateway as traefikGateway, index_vaultwarden as vaultwarden, index_zitadel as zitadel };
669
1120
  }
670
1121
 
671
- declare const connectionEntity: _highstate_contract.Entity<"cloudflare.connection", _sinclair_typebox.TObject<{
672
- apiKey: _sinclair_typebox.TString;
673
- }>>;
674
1122
  declare const connection: _highstate_contract.Unit<Record<string, never>, Record<string, never>, {
675
- connection: [_highstate_contract.Entity<"cloudflare.connection", _sinclair_typebox.TObject<{
676
- apiKey: _sinclair_typebox.TString;
1123
+ dnsProvider: [_highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
1124
+ name: _sinclair_typebox.TString;
1125
+ type: _sinclair_typebox.TString;
1126
+ data: _sinclair_typebox.TRecord<_sinclair_typebox.TString, _sinclair_typebox.TUnknown>;
1127
+ domain: _sinclair_typebox.TString;
677
1128
  }>>, true, false];
678
1129
  }, {
679
- apiKey: string;
1130
+ apiToken: string;
680
1131
  }>;
681
- declare const zone: _highstate_contract.Unit<{
682
- domain: string;
683
- zoneId: string;
684
- }, {
685
- connection: [_highstate_contract.Entity<"cloudflare.connection", _sinclair_typebox.TObject<{
686
- apiKey: _sinclair_typebox.TString;
687
- }>>, true, false];
688
- }, {
689
- dnsProvider: [_highstate_contract.Entity<"common.dns-provider", _sinclair_typebox.TObject<{
690
- endpoint: _sinclair_typebox.TString;
691
- }>>, true, false];
692
- }, Record<string, never>>;
693
1132
 
694
1133
  declare const cloudflare_connection: typeof connection;
695
- declare const cloudflare_connectionEntity: typeof connectionEntity;
696
- declare const cloudflare_zone: typeof zone;
697
1134
  declare namespace cloudflare {
698
- export { cloudflare_connection as connection, cloudflare_connectionEntity as connectionEntity, cloudflare_zone as zone };
1135
+ export { cloudflare_connection as connection };
699
1136
  }
700
1137
 
701
1138
  declare const cluster: _highstate_contract.Unit<Record<string, never>, {
@@ -707,7 +1144,7 @@ declare const cluster: _highstate_contract.Unit<Record<string, never>, {
707
1144
  user: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
708
1145
  port: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
709
1146
  password: _sinclair_typebox.TOptional<_sinclair_typebox.TString>;
710
- privateKey: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
1147
+ keyPair: _sinclair_typebox.TOptional<_sinclair_typebox.TObject<{
711
1148
  type: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"rsa">, _sinclair_typebox.TLiteral<"ed25519">]>;
712
1149
  privateKey: _sinclair_typebox.TString;
713
1150
  publicKey: _sinclair_typebox.TString;
@@ -716,7 +1153,9 @@ declare const cluster: _highstate_contract.Unit<Record<string, never>, {
716
1153
  }>>, true, false];
717
1154
  }, {
718
1155
  k8sCluster: [_highstate_contract.Entity<"k8s.cluster", _sinclair_typebox.TObject<{
1156
+ name: _sinclair_typebox.TString;
719
1157
  kubeconfig: _sinclair_typebox.TString;
1158
+ cni: _sinclair_typebox.TString;
720
1159
  }>>, true, false];
721
1160
  }, Record<string, never>>;
722
1161
 
@@ -729,8 +1168,8 @@ declare const channelEntity: _highstate_contract.Entity<"xt-wgobfs.target", _sin
729
1168
  endpoint: _sinclair_typebox.TString;
730
1169
  }>>;
731
1170
  declare const obfuscatorNode: _highstate_contract.Unit<Record<string, never>, Record<string, never>, {
732
- outerCircuit: [_highstate_contract.Entity<"common.outer-circuit", _sinclair_typebox.TObject<{
733
- interface: _sinclair_typebox.TString;
1171
+ outerCircuit: [_highstate_contract.Entity<"common.endpoint", _sinclair_typebox.TObject<{
1172
+ endpoint: _sinclair_typebox.TString;
734
1173
  }>>, true, false];
735
1174
  channel: [_highstate_contract.Entity<"xt-wgobfs.target", _sinclair_typebox.TObject<{
736
1175
  endpoint: _sinclair_typebox.TString;
@@ -741,8 +1180,8 @@ declare const deobfuscatorNode: _highstate_contract.Unit<Record<string, never>,
741
1180
  endpoint: _sinclair_typebox.TString;
742
1181
  }>>, true, false];
743
1182
  }, {
744
- outerCircuit: [_highstate_contract.Entity<"common.outer-circuit", _sinclair_typebox.TObject<{
745
- interface: _sinclair_typebox.TString;
1183
+ outerCircuit: [_highstate_contract.Entity<"common.endpoint", _sinclair_typebox.TObject<{
1184
+ endpoint: _sinclair_typebox.TString;
746
1185
  }>>, true, false];
747
1186
  }, Record<string, never>>;
748
1187
 
@@ -753,4 +1192,37 @@ declare namespace xtWgobfs {
753
1192
  export { xtWgobfs_channelEntity as channelEntity, xtWgobfs_deobfuscatorNode as deobfuscatorNode, xtWgobfs_obfuscatorNode as obfuscatorNode };
754
1193
  }
755
1194
 
756
- export { apps, cloudflare, common, k3s, k8s, proxmox, ssh, talos, wireguard, xtWgobfs };
1195
+ declare const repoEntity: _highstate_contract.Entity<"restic.repo", _sinclair_typebox.TObject<{
1196
+ password: _sinclair_typebox.TString;
1197
+ remoteDomains: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
1198
+ type: _sinclair_typebox.TLiteral<"rclone">;
1199
+ rcloneConfig: _sinclair_typebox.TString;
1200
+ remoteName: _sinclair_typebox.TString;
1201
+ basePath: _sinclair_typebox.TString;
1202
+ }>>;
1203
+ declare const repo: _highstate_contract.Unit<{
1204
+ remoteDomains?: string[] | undefined;
1205
+ basePath?: string | undefined;
1206
+ }, Record<string, never>, {
1207
+ repo: [_highstate_contract.Entity<"restic.repo", _sinclair_typebox.TObject<{
1208
+ password: _sinclair_typebox.TString;
1209
+ remoteDomains: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
1210
+ type: _sinclair_typebox.TLiteral<"rclone">;
1211
+ rcloneConfig: _sinclair_typebox.TString;
1212
+ remoteName: _sinclair_typebox.TString;
1213
+ basePath: _sinclair_typebox.TString;
1214
+ }>>, true, false];
1215
+ }, {
1216
+ password?: string | undefined;
1217
+ rcloneConfig: string;
1218
+ }>;
1219
+ type Repo = Static<typeof repoEntity.schema>;
1220
+
1221
+ type restic_Repo = Repo;
1222
+ declare const restic_repo: typeof repo;
1223
+ declare const restic_repoEntity: typeof repoEntity;
1224
+ declare namespace restic {
1225
+ export { type restic_Repo as Repo, restic_repo as repo, restic_repoEntity as repoEntity };
1226
+ }
1227
+
1228
+ export { index as apps, cloudflare, common, k3s, k8s, proxmox, restic, ssh, talos, wireguard, xtWgobfs };