@highstate/library 0.4.5 → 0.5.0
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.
- package/dist/index.d.ts +2 -108
- package/dist/index.mjs +4 -100
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
@@ -880,82 +880,6 @@ declare const vaultwarden: _highstate_contract.Unit<{
|
|
880
880
|
mariadbPassword?: string | undefined;
|
881
881
|
}>;
|
882
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;
|
918
|
-
}>>, true, false];
|
919
|
-
}, Record<string, never>, Record<string, never>>;
|
920
|
-
|
921
|
-
declare const gitea: _highstate_contract.Unit<{
|
922
|
-
domain: string;
|
923
|
-
}, {
|
924
|
-
mariadb: [_highstate_contract.Entity<"mariadb", _sinclair_typebox.TObject<{
|
925
|
-
host: _sinclair_typebox.TString;
|
926
|
-
port: _sinclair_typebox.TNumber;
|
927
|
-
rootPassword: _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>;
|
932
|
-
}>>, true, false];
|
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<{
|
953
|
-
name: _sinclair_typebox.TString;
|
954
|
-
kubeconfig: _sinclair_typebox.TString;
|
955
|
-
cni: _sinclair_typebox.TString;
|
956
|
-
}>>, true, false];
|
957
|
-
}, Record<string, never>, Record<string, never>>;
|
958
|
-
|
959
883
|
declare const traefikGateway: _highstate_contract.Unit<{
|
960
884
|
serviceType?: "NodePort" | "LoadBalancer" | "ClusterIP" | undefined;
|
961
885
|
className?: string | undefined;
|
@@ -1104,7 +1028,6 @@ declare const maybe: _highstate_contract.Unit<{
|
|
1104
1028
|
|
1105
1029
|
type index_MariaDB = MariaDB;
|
1106
1030
|
type index_PostgreSQL = PostgreSQL;
|
1107
|
-
declare const index_gitea: typeof gitea;
|
1108
1031
|
declare const index_grocy: typeof grocy;
|
1109
1032
|
declare const index_kubernetesDashboard: typeof kubernetesDashboard;
|
1110
1033
|
declare const index_mariadb: typeof mariadb;
|
@@ -1114,9 +1037,8 @@ declare const index_postgresql: typeof postgresql;
|
|
1114
1037
|
declare const index_postgresqlEntity: typeof postgresqlEntity;
|
1115
1038
|
declare const index_traefikGateway: typeof traefikGateway;
|
1116
1039
|
declare const index_vaultwarden: typeof vaultwarden;
|
1117
|
-
declare const index_zitadel: typeof zitadel;
|
1118
1040
|
declare namespace index {
|
1119
|
-
export { type index_MariaDB as MariaDB, type index_PostgreSQL as PostgreSQL,
|
1041
|
+
export { type index_MariaDB as MariaDB, type index_PostgreSQL as PostgreSQL, 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 };
|
1120
1042
|
}
|
1121
1043
|
|
1122
1044
|
declare const connection: _highstate_contract.Unit<Record<string, never>, Record<string, never>, {
|
@@ -1164,34 +1086,6 @@ declare namespace k3s {
|
|
1164
1086
|
export { k3s_cluster as cluster };
|
1165
1087
|
}
|
1166
1088
|
|
1167
|
-
declare const channelEntity: _highstate_contract.Entity<"xt-wgobfs.target", _sinclair_typebox.TObject<{
|
1168
|
-
endpoint: _sinclair_typebox.TString;
|
1169
|
-
}>>;
|
1170
|
-
declare const obfuscatorNode: _highstate_contract.Unit<Record<string, never>, Record<string, never>, {
|
1171
|
-
outerCircuit: [_highstate_contract.Entity<"common.endpoint", _sinclair_typebox.TObject<{
|
1172
|
-
endpoint: _sinclair_typebox.TString;
|
1173
|
-
}>>, true, false];
|
1174
|
-
channel: [_highstate_contract.Entity<"xt-wgobfs.target", _sinclair_typebox.TObject<{
|
1175
|
-
endpoint: _sinclair_typebox.TString;
|
1176
|
-
}>>, true, false];
|
1177
|
-
}, Record<string, never>>;
|
1178
|
-
declare const deobfuscatorNode: _highstate_contract.Unit<Record<string, never>, {
|
1179
|
-
channel: [_highstate_contract.Entity<"xt-wgobfs.target", _sinclair_typebox.TObject<{
|
1180
|
-
endpoint: _sinclair_typebox.TString;
|
1181
|
-
}>>, true, false];
|
1182
|
-
}, {
|
1183
|
-
outerCircuit: [_highstate_contract.Entity<"common.endpoint", _sinclair_typebox.TObject<{
|
1184
|
-
endpoint: _sinclair_typebox.TString;
|
1185
|
-
}>>, true, false];
|
1186
|
-
}, Record<string, never>>;
|
1187
|
-
|
1188
|
-
declare const xtWgobfs_channelEntity: typeof channelEntity;
|
1189
|
-
declare const xtWgobfs_deobfuscatorNode: typeof deobfuscatorNode;
|
1190
|
-
declare const xtWgobfs_obfuscatorNode: typeof obfuscatorNode;
|
1191
|
-
declare namespace xtWgobfs {
|
1192
|
-
export { xtWgobfs_channelEntity as channelEntity, xtWgobfs_deobfuscatorNode as deobfuscatorNode, xtWgobfs_obfuscatorNode as obfuscatorNode };
|
1193
|
-
}
|
1194
|
-
|
1195
1089
|
declare const repoEntity: _highstate_contract.Entity<"restic.repo", _sinclair_typebox.TObject<{
|
1196
1090
|
password: _sinclair_typebox.TString;
|
1197
1091
|
remoteDomains: _sinclair_typebox.TArray<_sinclair_typebox.TString>;
|
@@ -1225,4 +1119,4 @@ declare namespace restic {
|
|
1225
1119
|
export { type restic_Repo as Repo, restic_repo as repo, restic_repoEntity as repoEntity };
|
1226
1120
|
}
|
1227
1121
|
|
1228
|
-
export { index as apps, cloudflare, common, k3s, k8s, proxmox, restic, ssh, talos, wireguard
|
1122
|
+
export { index as apps, cloudflare, common, k3s, k8s, proxmox, restic, ssh, talos, wireguard };
|
package/dist/index.mjs
CHANGED
@@ -928,6 +928,8 @@ const repo = defineUnit({
|
|
928
928
|
repo: repoEntity
|
929
929
|
},
|
930
930
|
meta: {
|
931
|
+
displayName: "Restic Repo",
|
932
|
+
description: "Holds the configuration for a Restic repository and its remote storage.",
|
931
933
|
primaryIconColor: "#e56901",
|
932
934
|
primaryIcon: "material-symbols:backup"
|
933
935
|
},
|
@@ -1073,56 +1075,6 @@ const vaultwarden = defineUnit({
|
|
1073
1075
|
}
|
1074
1076
|
});
|
1075
1077
|
|
1076
|
-
const zitadel = defineUnit({
|
1077
|
-
type: "apps.zitadel",
|
1078
|
-
args: {
|
1079
|
-
domain: Type.String()
|
1080
|
-
},
|
1081
|
-
inputs: {
|
1082
|
-
postgresql: {
|
1083
|
-
entity: postgresqlEntity,
|
1084
|
-
displayName: "PostgreSQL"
|
1085
|
-
},
|
1086
|
-
accessPoint: accessPointEntity,
|
1087
|
-
k8sCluster: clusterEntity$1
|
1088
|
-
},
|
1089
|
-
meta: {
|
1090
|
-
displayName: "Zitadel",
|
1091
|
-
description: "The Zitadel IAM deployed on Kubernetes.",
|
1092
|
-
primaryIcon: "hugeicons:access"
|
1093
|
-
},
|
1094
|
-
source: {
|
1095
|
-
type: "npm",
|
1096
|
-
package: "@highstate/apps",
|
1097
|
-
path: "zitadel"
|
1098
|
-
}
|
1099
|
-
});
|
1100
|
-
|
1101
|
-
const gitea = defineUnit({
|
1102
|
-
type: "apps.gitea",
|
1103
|
-
args: {
|
1104
|
-
domain: Type.String()
|
1105
|
-
},
|
1106
|
-
inputs: {
|
1107
|
-
mariadb: {
|
1108
|
-
entity: mariadbEntity,
|
1109
|
-
displayName: "MariaDB"
|
1110
|
-
},
|
1111
|
-
accessPoint: accessPointEntity,
|
1112
|
-
k8sCluster: clusterEntity$1
|
1113
|
-
},
|
1114
|
-
meta: {
|
1115
|
-
displayName: "Gitea",
|
1116
|
-
description: "The Gitea Git server deployed on Kubernetes.",
|
1117
|
-
primaryIcon: "simple-icons:gitea"
|
1118
|
-
},
|
1119
|
-
source: {
|
1120
|
-
type: "npm",
|
1121
|
-
package: "@highstate/apps",
|
1122
|
-
path: "gitea"
|
1123
|
-
}
|
1124
|
-
});
|
1125
|
-
|
1126
1078
|
const traefikGateway = defineUnit({
|
1127
1079
|
type: "apps.traefik-gateway",
|
1128
1080
|
args: {
|
@@ -1227,7 +1179,6 @@ const maybe = defineUnit({
|
|
1227
1179
|
|
1228
1180
|
var index = /*#__PURE__*/Object.freeze({
|
1229
1181
|
__proto__: null,
|
1230
|
-
gitea: gitea,
|
1231
1182
|
grocy: grocy,
|
1232
1183
|
kubernetesDashboard: kubernetesDashboard,
|
1233
1184
|
mariadb: mariadb,
|
@@ -1236,8 +1187,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
1236
1187
|
postgresql: postgresql,
|
1237
1188
|
postgresqlEntity: postgresqlEntity,
|
1238
1189
|
traefikGateway: traefikGateway,
|
1239
|
-
vaultwarden: vaultwarden
|
1240
|
-
zitadel: zitadel
|
1190
|
+
vaultwarden: vaultwarden
|
1241
1191
|
});
|
1242
1192
|
|
1243
1193
|
const connection = defineUnit({
|
@@ -1292,50 +1242,4 @@ var k3s = /*#__PURE__*/Object.freeze({
|
|
1292
1242
|
cluster: cluster
|
1293
1243
|
});
|
1294
1244
|
|
1295
|
-
|
1296
|
-
type: "xt-wgobfs.target",
|
1297
|
-
schema: Type.Object({
|
1298
|
-
endpoint: Type.String()
|
1299
|
-
})
|
1300
|
-
});
|
1301
|
-
const obfuscatorNode = defineUnit({
|
1302
|
-
type: "xt-wgobfs.obfuscator",
|
1303
|
-
outputs: {
|
1304
|
-
outerCircuit: endpointEntity,
|
1305
|
-
channel: channelEntity
|
1306
|
-
},
|
1307
|
-
source: {
|
1308
|
-
type: "npm",
|
1309
|
-
package: "@highstate/xt-wgobfs",
|
1310
|
-
path: "target-node"
|
1311
|
-
},
|
1312
|
-
meta: {
|
1313
|
-
displayName: "xt-wgobfs Deobfuscator"
|
1314
|
-
}
|
1315
|
-
});
|
1316
|
-
const deobfuscatorNode = defineUnit({
|
1317
|
-
type: "xt-wgobfs.deobfuscator",
|
1318
|
-
inputs: {
|
1319
|
-
channel: channelEntity
|
1320
|
-
},
|
1321
|
-
outputs: {
|
1322
|
-
outerCircuit: endpointEntity
|
1323
|
-
},
|
1324
|
-
source: {
|
1325
|
-
type: "npm",
|
1326
|
-
package: "@highstate/xt-wgobfs",
|
1327
|
-
path: "source-node"
|
1328
|
-
},
|
1329
|
-
meta: {
|
1330
|
-
displayName: "xt-wgobfs Obfuscator"
|
1331
|
-
}
|
1332
|
-
});
|
1333
|
-
|
1334
|
-
var xtWgobfs = /*#__PURE__*/Object.freeze({
|
1335
|
-
__proto__: null,
|
1336
|
-
channelEntity: channelEntity,
|
1337
|
-
deobfuscatorNode: deobfuscatorNode,
|
1338
|
-
obfuscatorNode: obfuscatorNode
|
1339
|
-
});
|
1340
|
-
|
1341
|
-
export { index as apps, cloudflare, common, k3s, k8s, proxmox, restic, ssh, talos, wireguard, xtWgobfs };
|
1245
|
+
export { index as apps, cloudflare, common, k3s, k8s, proxmox, restic, ssh, talos, wireguard };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@highstate/library",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.5.0",
|
4
4
|
"type": "module",
|
5
5
|
"module": "dist/index.mjs",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"build": "pkgroll --tsconfig=tsconfig.build.json"
|
21
21
|
},
|
22
22
|
"dependencies": {
|
23
|
-
"@highstate/contract": "^0.
|
23
|
+
"@highstate/contract": "^0.5.0",
|
24
24
|
"@sinclair/typebox": "^0.34.11",
|
25
25
|
"ip-cidr": "^4.0.2",
|
26
26
|
"remeda": "^2.21.0"
|
@@ -28,5 +28,5 @@
|
|
28
28
|
"devDependencies": {
|
29
29
|
"pkgroll": "^2.5.1"
|
30
30
|
},
|
31
|
-
"gitHead": "
|
31
|
+
"gitHead": "9ab4fc8f01c56df2c9ddf39eda57a3e00a2d17a8"
|
32
32
|
}
|