@highstate/restic 0.9.15 → 0.9.16
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/chunk-G3PMV62Z.js +2 -5
- package/dist/chunk-G3PMV62Z.js.map +1 -1
- package/dist/highstate.manifest.json +2 -2
- package/dist/index.js +57 -134
- package/dist/index.js.map +1 -1
- package/dist/repo/index.js +9 -10
- package/dist/repo/index.js.map +1 -1
- package/package.json +7 -7
- package/src/job-pair.ts +7 -4
- package/src/repo/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { __commonJS, __export, __toESM } from './chunk-G3PMV62Z.js';
|
|
2
|
+
import { batch } from '@pulumi/kubernetes';
|
|
3
|
+
import { Secret, ScriptBundle, Job, createScriptContainer, CronJob, getProvider } from '@highstate/k8s';
|
|
4
|
+
import { ComponentResource, output, getUnitInstanceName, normalize } from '@highstate/pulumi';
|
|
5
|
+
import 'remeda';
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/ajv/dist/compile/codegen/code.js
|
|
8
8
|
var require_code = __commonJS({
|
|
9
9
|
"../../node_modules/ajv/dist/compile/codegen/code.js"(exports) {
|
|
10
|
-
"use strict";
|
|
11
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
11
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
13
12
|
var _CodeOrName = class {
|
|
@@ -161,7 +160,6 @@ var require_code = __commonJS({
|
|
|
161
160
|
// ../../node_modules/ajv/dist/compile/codegen/scope.js
|
|
162
161
|
var require_scope = __commonJS({
|
|
163
162
|
"../../node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
|
|
164
|
-
"use strict";
|
|
165
163
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
166
164
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
167
165
|
var code_1 = require_code();
|
|
@@ -306,7 +304,6 @@ var require_scope = __commonJS({
|
|
|
306
304
|
// ../../node_modules/ajv/dist/compile/codegen/index.js
|
|
307
305
|
var require_codegen = __commonJS({
|
|
308
306
|
"../../node_modules/ajv/dist/compile/codegen/index.js"(exports) {
|
|
309
|
-
"use strict";
|
|
310
307
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
311
308
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
312
309
|
var code_1 = require_code();
|
|
@@ -1026,7 +1023,6 @@ var require_codegen = __commonJS({
|
|
|
1026
1023
|
// ../../node_modules/ajv/dist/compile/util.js
|
|
1027
1024
|
var require_util = __commonJS({
|
|
1028
1025
|
"../../node_modules/ajv/dist/compile/util.js"(exports) {
|
|
1029
|
-
"use strict";
|
|
1030
1026
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1031
1027
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
1032
1028
|
var codegen_1 = require_codegen();
|
|
@@ -1193,7 +1189,6 @@ var require_util = __commonJS({
|
|
|
1193
1189
|
// ../../node_modules/ajv/dist/compile/names.js
|
|
1194
1190
|
var require_names = __commonJS({
|
|
1195
1191
|
"../../node_modules/ajv/dist/compile/names.js"(exports) {
|
|
1196
|
-
"use strict";
|
|
1197
1192
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1198
1193
|
var codegen_1 = require_codegen();
|
|
1199
1194
|
var names = {
|
|
@@ -1232,7 +1227,6 @@ var require_names = __commonJS({
|
|
|
1232
1227
|
// ../../node_modules/ajv/dist/compile/errors.js
|
|
1233
1228
|
var require_errors = __commonJS({
|
|
1234
1229
|
"../../node_modules/ajv/dist/compile/errors.js"(exports) {
|
|
1235
|
-
"use strict";
|
|
1236
1230
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1237
1231
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
1238
1232
|
var codegen_1 = require_codegen();
|
|
@@ -1354,7 +1348,6 @@ var require_errors = __commonJS({
|
|
|
1354
1348
|
// ../../node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1355
1349
|
var require_boolSchema = __commonJS({
|
|
1356
1350
|
"../../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
|
|
1357
|
-
"use strict";
|
|
1358
1351
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1359
1352
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
1360
1353
|
var errors_1 = require_errors();
|
|
@@ -1405,7 +1398,6 @@ var require_boolSchema = __commonJS({
|
|
|
1405
1398
|
// ../../node_modules/ajv/dist/compile/rules.js
|
|
1406
1399
|
var require_rules = __commonJS({
|
|
1407
1400
|
"../../node_modules/ajv/dist/compile/rules.js"(exports) {
|
|
1408
|
-
"use strict";
|
|
1409
1401
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1410
1402
|
exports.getRules = exports.isJSONType = void 0;
|
|
1411
1403
|
var _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"];
|
|
@@ -1436,7 +1428,6 @@ var require_rules = __commonJS({
|
|
|
1436
1428
|
// ../../node_modules/ajv/dist/compile/validate/applicability.js
|
|
1437
1429
|
var require_applicability = __commonJS({
|
|
1438
1430
|
"../../node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
|
|
1439
|
-
"use strict";
|
|
1440
1431
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1441
1432
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
1442
1433
|
function schemaHasRulesForType({ schema, self }, type) {
|
|
@@ -1459,7 +1450,6 @@ var require_applicability = __commonJS({
|
|
|
1459
1450
|
// ../../node_modules/ajv/dist/compile/validate/dataType.js
|
|
1460
1451
|
var require_dataType = __commonJS({
|
|
1461
1452
|
"../../node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
|
|
1462
|
-
"use strict";
|
|
1463
1453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1464
1454
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
1465
1455
|
var rules_1 = require_rules();
|
|
@@ -1643,7 +1633,6 @@ var require_dataType = __commonJS({
|
|
|
1643
1633
|
// ../../node_modules/ajv/dist/compile/validate/defaults.js
|
|
1644
1634
|
var require_defaults = __commonJS({
|
|
1645
1635
|
"../../node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
|
|
1646
|
-
"use strict";
|
|
1647
1636
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1648
1637
|
exports.assignDefaults = void 0;
|
|
1649
1638
|
var codegen_1 = require_codegen();
|
|
@@ -1680,7 +1669,6 @@ var require_defaults = __commonJS({
|
|
|
1680
1669
|
// ../../node_modules/ajv/dist/vocabularies/code.js
|
|
1681
1670
|
var require_code2 = __commonJS({
|
|
1682
1671
|
"../../node_modules/ajv/dist/vocabularies/code.js"(exports) {
|
|
1683
|
-
"use strict";
|
|
1684
1672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1685
1673
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
1686
1674
|
var codegen_1 = require_codegen();
|
|
@@ -1813,7 +1801,6 @@ var require_code2 = __commonJS({
|
|
|
1813
1801
|
// ../../node_modules/ajv/dist/compile/validate/keyword.js
|
|
1814
1802
|
var require_keyword = __commonJS({
|
|
1815
1803
|
"../../node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
|
|
1816
|
-
"use strict";
|
|
1817
1804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1818
1805
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
1819
1806
|
var codegen_1 = require_codegen();
|
|
@@ -1931,7 +1918,6 @@ var require_keyword = __commonJS({
|
|
|
1931
1918
|
// ../../node_modules/ajv/dist/compile/validate/subschema.js
|
|
1932
1919
|
var require_subschema = __commonJS({
|
|
1933
1920
|
"../../node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
|
|
1934
|
-
"use strict";
|
|
1935
1921
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1936
1922
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
1937
1923
|
var codegen_1 = require_codegen();
|
|
@@ -2014,7 +2000,6 @@ var require_subschema = __commonJS({
|
|
|
2014
2000
|
// ../../node_modules/fast-deep-equal/index.js
|
|
2015
2001
|
var require_fast_deep_equal = __commonJS({
|
|
2016
2002
|
"../../node_modules/fast-deep-equal/index.js"(exports, module) {
|
|
2017
|
-
"use strict";
|
|
2018
2003
|
module.exports = function equal(a, b) {
|
|
2019
2004
|
if (a === b) return true;
|
|
2020
2005
|
if (a && b && typeof a == "object" && typeof b == "object") {
|
|
@@ -2049,7 +2034,6 @@ var require_fast_deep_equal = __commonJS({
|
|
|
2049
2034
|
// ../../node_modules/json-schema-traverse/index.js
|
|
2050
2035
|
var require_json_schema_traverse = __commonJS({
|
|
2051
2036
|
"../../node_modules/json-schema-traverse/index.js"(exports, module) {
|
|
2052
|
-
"use strict";
|
|
2053
2037
|
var traverse = module.exports = function(schema, opts, cb) {
|
|
2054
2038
|
if (typeof opts == "function") {
|
|
2055
2039
|
cb = opts;
|
|
@@ -2137,7 +2121,6 @@ var require_json_schema_traverse = __commonJS({
|
|
|
2137
2121
|
// ../../node_modules/ajv/dist/compile/resolve.js
|
|
2138
2122
|
var require_resolve = __commonJS({
|
|
2139
2123
|
"../../node_modules/ajv/dist/compile/resolve.js"(exports) {
|
|
2140
|
-
"use strict";
|
|
2141
2124
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2142
2125
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
2143
2126
|
var util_1 = require_util();
|
|
@@ -2293,7 +2276,6 @@ var require_resolve = __commonJS({
|
|
|
2293
2276
|
// ../../node_modules/ajv/dist/compile/validate/index.js
|
|
2294
2277
|
var require_validate = __commonJS({
|
|
2295
2278
|
"../../node_modules/ajv/dist/compile/validate/index.js"(exports) {
|
|
2296
|
-
"use strict";
|
|
2297
2279
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2298
2280
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
2299
2281
|
var boolSchema_1 = require_boolSchema();
|
|
@@ -2650,7 +2632,6 @@ var require_validate = __commonJS({
|
|
|
2650
2632
|
this._error(append, errorPaths);
|
|
2651
2633
|
}
|
|
2652
2634
|
_error(append, errorPaths) {
|
|
2653
|
-
;
|
|
2654
2635
|
(append ? errors_1.reportExtraError : errors_1.reportError)(this, this.def.error, errorPaths);
|
|
2655
2636
|
}
|
|
2656
2637
|
$dataError() {
|
|
@@ -2801,7 +2782,6 @@ var require_validate = __commonJS({
|
|
|
2801
2782
|
// ../../node_modules/ajv/dist/runtime/validation_error.js
|
|
2802
2783
|
var require_validation_error = __commonJS({
|
|
2803
2784
|
"../../node_modules/ajv/dist/runtime/validation_error.js"(exports) {
|
|
2804
|
-
"use strict";
|
|
2805
2785
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2806
2786
|
var ValidationError = class extends Error {
|
|
2807
2787
|
constructor(errors) {
|
|
@@ -2817,7 +2797,6 @@ var require_validation_error = __commonJS({
|
|
|
2817
2797
|
// ../../node_modules/ajv/dist/compile/ref_error.js
|
|
2818
2798
|
var require_ref_error = __commonJS({
|
|
2819
2799
|
"../../node_modules/ajv/dist/compile/ref_error.js"(exports) {
|
|
2820
|
-
"use strict";
|
|
2821
2800
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2822
2801
|
var resolve_1 = require_resolve();
|
|
2823
2802
|
var MissingRefError = class extends Error {
|
|
@@ -2834,7 +2813,6 @@ var require_ref_error = __commonJS({
|
|
|
2834
2813
|
// ../../node_modules/ajv/dist/compile/index.js
|
|
2835
2814
|
var require_compile = __commonJS({
|
|
2836
2815
|
"../../node_modules/ajv/dist/compile/index.js"(exports) {
|
|
2837
|
-
"use strict";
|
|
2838
2816
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2839
2817
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
2840
2818
|
var codegen_1 = require_codegen();
|
|
@@ -3077,7 +3055,6 @@ var require_data = __commonJS({
|
|
|
3077
3055
|
// ../../node_modules/fast-uri/lib/scopedChars.js
|
|
3078
3056
|
var require_scopedChars = __commonJS({
|
|
3079
3057
|
"../../node_modules/fast-uri/lib/scopedChars.js"(exports, module) {
|
|
3080
|
-
"use strict";
|
|
3081
3058
|
var HEX = {
|
|
3082
3059
|
0: 0,
|
|
3083
3060
|
1: 1,
|
|
@@ -3111,7 +3088,6 @@ var require_scopedChars = __commonJS({
|
|
|
3111
3088
|
// ../../node_modules/fast-uri/lib/utils.js
|
|
3112
3089
|
var require_utils = __commonJS({
|
|
3113
3090
|
"../../node_modules/fast-uri/lib/utils.js"(exports, module) {
|
|
3114
|
-
"use strict";
|
|
3115
3091
|
var { HEX } = require_scopedChars();
|
|
3116
3092
|
var IPV4_REG = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
|
|
3117
3093
|
function normalizeIPv4(host) {
|
|
@@ -3342,7 +3318,6 @@ var require_utils = __commonJS({
|
|
|
3342
3318
|
// ../../node_modules/fast-uri/lib/schemes.js
|
|
3343
3319
|
var require_schemes = __commonJS({
|
|
3344
3320
|
"../../node_modules/fast-uri/lib/schemes.js"(exports, module) {
|
|
3345
|
-
"use strict";
|
|
3346
3321
|
var UUID_REG = /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu;
|
|
3347
3322
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
3348
3323
|
function isSecure(wsComponents) {
|
|
@@ -3488,7 +3463,6 @@ var require_schemes = __commonJS({
|
|
|
3488
3463
|
// ../../node_modules/fast-uri/index.js
|
|
3489
3464
|
var require_fast_uri = __commonJS({
|
|
3490
3465
|
"../../node_modules/fast-uri/index.js"(exports, module) {
|
|
3491
|
-
"use strict";
|
|
3492
3466
|
var { normalizeIPv6, normalizeIPv4, removeDotSegments, recomposeAuthority, normalizeComponentEncoding } = require_utils();
|
|
3493
3467
|
var SCHEMES = require_schemes();
|
|
3494
3468
|
function normalize2(uri, options) {
|
|
@@ -3745,7 +3719,6 @@ var require_fast_uri = __commonJS({
|
|
|
3745
3719
|
// ../../node_modules/ajv/dist/runtime/uri.js
|
|
3746
3720
|
var require_uri = __commonJS({
|
|
3747
3721
|
"../../node_modules/ajv/dist/runtime/uri.js"(exports) {
|
|
3748
|
-
"use strict";
|
|
3749
3722
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3750
3723
|
var uri = require_fast_uri();
|
|
3751
3724
|
uri.code = 'require("ajv/dist/runtime/uri").default';
|
|
@@ -3756,7 +3729,6 @@ var require_uri = __commonJS({
|
|
|
3756
3729
|
// ../../node_modules/ajv/dist/core.js
|
|
3757
3730
|
var require_core = __commonJS({
|
|
3758
3731
|
"../../node_modules/ajv/dist/core.js"(exports) {
|
|
3759
|
-
"use strict";
|
|
3760
3732
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3761
3733
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
3762
3734
|
var validate_1 = require_validate();
|
|
@@ -4367,7 +4339,6 @@ var require_core = __commonJS({
|
|
|
4367
4339
|
// ../../node_modules/ajv/dist/vocabularies/core/id.js
|
|
4368
4340
|
var require_id = __commonJS({
|
|
4369
4341
|
"../../node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
|
|
4370
|
-
"use strict";
|
|
4371
4342
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4372
4343
|
var def = {
|
|
4373
4344
|
keyword: "id",
|
|
@@ -4382,7 +4353,6 @@ var require_id = __commonJS({
|
|
|
4382
4353
|
// ../../node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4383
4354
|
var require_ref = __commonJS({
|
|
4384
4355
|
"../../node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
|
|
4385
|
-
"use strict";
|
|
4386
4356
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4387
4357
|
exports.callRef = exports.getValidate = void 0;
|
|
4388
4358
|
var ref_error_1 = require_ref_error();
|
|
@@ -4504,7 +4474,6 @@ var require_ref = __commonJS({
|
|
|
4504
4474
|
// ../../node_modules/ajv/dist/vocabularies/core/index.js
|
|
4505
4475
|
var require_core2 = __commonJS({
|
|
4506
4476
|
"../../node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
|
|
4507
|
-
"use strict";
|
|
4508
4477
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4509
4478
|
var id_1 = require_id();
|
|
4510
4479
|
var ref_1 = require_ref();
|
|
@@ -4525,7 +4494,6 @@ var require_core2 = __commonJS({
|
|
|
4525
4494
|
// ../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
4526
4495
|
var require_limitNumber = __commonJS({
|
|
4527
4496
|
"../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
|
|
4528
|
-
"use strict";
|
|
4529
4497
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4530
4498
|
var codegen_1 = require_codegen();
|
|
4531
4499
|
var ops = codegen_1.operators;
|
|
@@ -4557,7 +4525,6 @@ var require_limitNumber = __commonJS({
|
|
|
4557
4525
|
// ../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
4558
4526
|
var require_multipleOf = __commonJS({
|
|
4559
4527
|
"../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
|
|
4560
|
-
"use strict";
|
|
4561
4528
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4562
4529
|
var codegen_1 = require_codegen();
|
|
4563
4530
|
var error = {
|
|
@@ -4585,7 +4552,6 @@ var require_multipleOf = __commonJS({
|
|
|
4585
4552
|
// ../../node_modules/ajv/dist/runtime/ucs2length.js
|
|
4586
4553
|
var require_ucs2length = __commonJS({
|
|
4587
4554
|
"../../node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
|
|
4588
|
-
"use strict";
|
|
4589
4555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4590
4556
|
function ucs2length(str) {
|
|
4591
4557
|
const len = str.length;
|
|
@@ -4611,7 +4577,6 @@ var require_ucs2length = __commonJS({
|
|
|
4611
4577
|
// ../../node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
4612
4578
|
var require_limitLength = __commonJS({
|
|
4613
4579
|
"../../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
|
|
4614
|
-
"use strict";
|
|
4615
4580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4616
4581
|
var codegen_1 = require_codegen();
|
|
4617
4582
|
var util_1 = require_util();
|
|
@@ -4643,7 +4608,6 @@ var require_limitLength = __commonJS({
|
|
|
4643
4608
|
// ../../node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
4644
4609
|
var require_pattern = __commonJS({
|
|
4645
4610
|
"../../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
|
|
4646
|
-
"use strict";
|
|
4647
4611
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4648
4612
|
var code_1 = require_code2();
|
|
4649
4613
|
var codegen_1 = require_codegen();
|
|
@@ -4671,7 +4635,6 @@ var require_pattern = __commonJS({
|
|
|
4671
4635
|
// ../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
4672
4636
|
var require_limitProperties = __commonJS({
|
|
4673
4637
|
"../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
|
|
4674
|
-
"use strict";
|
|
4675
4638
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4676
4639
|
var codegen_1 = require_codegen();
|
|
4677
4640
|
var error = {
|
|
@@ -4700,7 +4663,6 @@ var require_limitProperties = __commonJS({
|
|
|
4700
4663
|
// ../../node_modules/ajv/dist/vocabularies/validation/required.js
|
|
4701
4664
|
var require_required = __commonJS({
|
|
4702
4665
|
"../../node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
|
|
4703
|
-
"use strict";
|
|
4704
4666
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4705
4667
|
var code_1 = require_code2();
|
|
4706
4668
|
var codegen_1 = require_codegen();
|
|
@@ -4782,7 +4744,6 @@ var require_required = __commonJS({
|
|
|
4782
4744
|
// ../../node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
4783
4745
|
var require_limitItems = __commonJS({
|
|
4784
4746
|
"../../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
|
|
4785
|
-
"use strict";
|
|
4786
4747
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4787
4748
|
var codegen_1 = require_codegen();
|
|
4788
4749
|
var error = {
|
|
@@ -4811,7 +4772,6 @@ var require_limitItems = __commonJS({
|
|
|
4811
4772
|
// ../../node_modules/ajv/dist/runtime/equal.js
|
|
4812
4773
|
var require_equal = __commonJS({
|
|
4813
4774
|
"../../node_modules/ajv/dist/runtime/equal.js"(exports) {
|
|
4814
|
-
"use strict";
|
|
4815
4775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4816
4776
|
var equal = require_fast_deep_equal();
|
|
4817
4777
|
equal.code = 'require("ajv/dist/runtime/equal").default';
|
|
@@ -4822,7 +4782,6 @@ var require_equal = __commonJS({
|
|
|
4822
4782
|
// ../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
4823
4783
|
var require_uniqueItems = __commonJS({
|
|
4824
4784
|
"../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
|
|
4825
|
-
"use strict";
|
|
4826
4785
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4827
4786
|
var dataType_1 = require_dataType();
|
|
4828
4787
|
var codegen_1 = require_codegen();
|
|
@@ -4889,7 +4848,6 @@ var require_uniqueItems = __commonJS({
|
|
|
4889
4848
|
// ../../node_modules/ajv/dist/vocabularies/validation/const.js
|
|
4890
4849
|
var require_const = __commonJS({
|
|
4891
4850
|
"../../node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
|
|
4892
|
-
"use strict";
|
|
4893
4851
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4894
4852
|
var codegen_1 = require_codegen();
|
|
4895
4853
|
var util_1 = require_util();
|
|
@@ -4918,7 +4876,6 @@ var require_const = __commonJS({
|
|
|
4918
4876
|
// ../../node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
4919
4877
|
var require_enum = __commonJS({
|
|
4920
4878
|
"../../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
|
|
4921
|
-
"use strict";
|
|
4922
4879
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4923
4880
|
var codegen_1 = require_codegen();
|
|
4924
4881
|
var util_1 = require_util();
|
|
@@ -4967,7 +4924,6 @@ var require_enum = __commonJS({
|
|
|
4967
4924
|
// ../../node_modules/ajv/dist/vocabularies/validation/index.js
|
|
4968
4925
|
var require_validation = __commonJS({
|
|
4969
4926
|
"../../node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
|
|
4970
|
-
"use strict";
|
|
4971
4927
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4972
4928
|
var limitNumber_1 = require_limitNumber();
|
|
4973
4929
|
var multipleOf_1 = require_multipleOf();
|
|
@@ -5005,7 +4961,6 @@ var require_validation = __commonJS({
|
|
|
5005
4961
|
// ../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5006
4962
|
var require_additionalItems = __commonJS({
|
|
5007
4963
|
"../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
|
|
5008
|
-
"use strict";
|
|
5009
4964
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5010
4965
|
exports.validateAdditionalItems = void 0;
|
|
5011
4966
|
var codegen_1 = require_codegen();
|
|
@@ -5058,7 +5013,6 @@ var require_additionalItems = __commonJS({
|
|
|
5058
5013
|
// ../../node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5059
5014
|
var require_items = __commonJS({
|
|
5060
5015
|
"../../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
|
|
5061
|
-
"use strict";
|
|
5062
5016
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5063
5017
|
exports.validateTuple = void 0;
|
|
5064
5018
|
var codegen_1 = require_codegen();
|
|
@@ -5115,7 +5069,6 @@ var require_items = __commonJS({
|
|
|
5115
5069
|
// ../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5116
5070
|
var require_prefixItems = __commonJS({
|
|
5117
5071
|
"../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
|
|
5118
|
-
"use strict";
|
|
5119
5072
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5120
5073
|
var items_1 = require_items();
|
|
5121
5074
|
var def = {
|
|
@@ -5132,7 +5085,6 @@ var require_prefixItems = __commonJS({
|
|
|
5132
5085
|
// ../../node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5133
5086
|
var require_items2020 = __commonJS({
|
|
5134
5087
|
"../../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
|
|
5135
|
-
"use strict";
|
|
5136
5088
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5137
5089
|
var codegen_1 = require_codegen();
|
|
5138
5090
|
var util_1 = require_util();
|
|
@@ -5167,7 +5119,6 @@ var require_items2020 = __commonJS({
|
|
|
5167
5119
|
// ../../node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5168
5120
|
var require_contains = __commonJS({
|
|
5169
5121
|
"../../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
|
|
5170
|
-
"use strict";
|
|
5171
5122
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5172
5123
|
var codegen_1 = require_codegen();
|
|
5173
5124
|
var util_1 = require_util();
|
|
@@ -5261,7 +5212,6 @@ var require_contains = __commonJS({
|
|
|
5261
5212
|
// ../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5262
5213
|
var require_dependencies = __commonJS({
|
|
5263
5214
|
"../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
|
|
5264
|
-
"use strict";
|
|
5265
5215
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5266
5216
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
5267
5217
|
var codegen_1 = require_codegen();
|
|
@@ -5355,7 +5305,6 @@ var require_dependencies = __commonJS({
|
|
|
5355
5305
|
// ../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5356
5306
|
var require_propertyNames = __commonJS({
|
|
5357
5307
|
"../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
|
|
5358
|
-
"use strict";
|
|
5359
5308
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5360
5309
|
var codegen_1 = require_codegen();
|
|
5361
5310
|
var util_1 = require_util();
|
|
@@ -5398,7 +5347,6 @@ var require_propertyNames = __commonJS({
|
|
|
5398
5347
|
// ../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5399
5348
|
var require_additionalProperties = __commonJS({
|
|
5400
5349
|
"../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
|
|
5401
|
-
"use strict";
|
|
5402
5350
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5403
5351
|
var code_1 = require_code2();
|
|
5404
5352
|
var codegen_1 = require_codegen();
|
|
@@ -5504,7 +5452,6 @@ var require_additionalProperties = __commonJS({
|
|
|
5504
5452
|
// ../../node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
5505
5453
|
var require_properties = __commonJS({
|
|
5506
5454
|
"../../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
|
|
5507
|
-
"use strict";
|
|
5508
5455
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5509
5456
|
var validate_1 = require_validate();
|
|
5510
5457
|
var code_1 = require_code2();
|
|
@@ -5562,7 +5509,6 @@ var require_properties = __commonJS({
|
|
|
5562
5509
|
// ../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
5563
5510
|
var require_patternProperties = __commonJS({
|
|
5564
5511
|
"../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
|
|
5565
|
-
"use strict";
|
|
5566
5512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5567
5513
|
var code_1 = require_code2();
|
|
5568
5514
|
var codegen_1 = require_codegen();
|
|
@@ -5636,7 +5582,6 @@ var require_patternProperties = __commonJS({
|
|
|
5636
5582
|
// ../../node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
5637
5583
|
var require_not = __commonJS({
|
|
5638
5584
|
"../../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
|
|
5639
|
-
"use strict";
|
|
5640
5585
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5641
5586
|
var util_1 = require_util();
|
|
5642
5587
|
var def = {
|
|
@@ -5667,7 +5612,6 @@ var require_not = __commonJS({
|
|
|
5667
5612
|
// ../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
5668
5613
|
var require_anyOf = __commonJS({
|
|
5669
5614
|
"../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
|
|
5670
|
-
"use strict";
|
|
5671
5615
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5672
5616
|
var code_1 = require_code2();
|
|
5673
5617
|
var def = {
|
|
@@ -5684,7 +5628,6 @@ var require_anyOf = __commonJS({
|
|
|
5684
5628
|
// ../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
5685
5629
|
var require_oneOf = __commonJS({
|
|
5686
5630
|
"../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
|
|
5687
|
-
"use strict";
|
|
5688
5631
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5689
5632
|
var codegen_1 = require_codegen();
|
|
5690
5633
|
var util_1 = require_util();
|
|
@@ -5742,7 +5685,6 @@ var require_oneOf = __commonJS({
|
|
|
5742
5685
|
// ../../node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
5743
5686
|
var require_allOf = __commonJS({
|
|
5744
5687
|
"../../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
|
|
5745
|
-
"use strict";
|
|
5746
5688
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5747
5689
|
var util_1 = require_util();
|
|
5748
5690
|
var def = {
|
|
@@ -5769,7 +5711,6 @@ var require_allOf = __commonJS({
|
|
|
5769
5711
|
// ../../node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
5770
5712
|
var require_if = __commonJS({
|
|
5771
5713
|
"../../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
|
|
5772
|
-
"use strict";
|
|
5773
5714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5774
5715
|
var codegen_1 = require_codegen();
|
|
5775
5716
|
var util_1 = require_util();
|
|
@@ -5838,7 +5779,6 @@ var require_if = __commonJS({
|
|
|
5838
5779
|
// ../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
5839
5780
|
var require_thenElse = __commonJS({
|
|
5840
5781
|
"../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
|
|
5841
|
-
"use strict";
|
|
5842
5782
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5843
5783
|
var util_1 = require_util();
|
|
5844
5784
|
var def = {
|
|
@@ -5856,7 +5796,6 @@ var require_thenElse = __commonJS({
|
|
|
5856
5796
|
// ../../node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
5857
5797
|
var require_applicator = __commonJS({
|
|
5858
5798
|
"../../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
|
|
5859
|
-
"use strict";
|
|
5860
5799
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5861
5800
|
var additionalItems_1 = require_additionalItems();
|
|
5862
5801
|
var prefixItems_1 = require_prefixItems();
|
|
@@ -5904,7 +5843,6 @@ var require_applicator = __commonJS({
|
|
|
5904
5843
|
// ../../node_modules/ajv/dist/vocabularies/format/format.js
|
|
5905
5844
|
var require_format = __commonJS({
|
|
5906
5845
|
"../../node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
|
|
5907
|
-
"use strict";
|
|
5908
5846
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5909
5847
|
var codegen_1 = require_codegen();
|
|
5910
5848
|
var error = {
|
|
@@ -5994,7 +5932,6 @@ var require_format = __commonJS({
|
|
|
5994
5932
|
// ../../node_modules/ajv/dist/vocabularies/format/index.js
|
|
5995
5933
|
var require_format2 = __commonJS({
|
|
5996
5934
|
"../../node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
|
|
5997
|
-
"use strict";
|
|
5998
5935
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5999
5936
|
var format_1 = require_format();
|
|
6000
5937
|
var format = [format_1.default];
|
|
@@ -6005,7 +5942,6 @@ var require_format2 = __commonJS({
|
|
|
6005
5942
|
// ../../node_modules/ajv/dist/vocabularies/metadata.js
|
|
6006
5943
|
var require_metadata = __commonJS({
|
|
6007
5944
|
"../../node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
|
|
6008
|
-
"use strict";
|
|
6009
5945
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6010
5946
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
6011
5947
|
exports.metadataVocabulary = [
|
|
@@ -6028,7 +5964,6 @@ var require_metadata = __commonJS({
|
|
|
6028
5964
|
// ../../node_modules/ajv/dist/vocabularies/draft7.js
|
|
6029
5965
|
var require_draft7 = __commonJS({
|
|
6030
5966
|
"../../node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
|
|
6031
|
-
"use strict";
|
|
6032
5967
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6033
5968
|
var core_1 = require_core2();
|
|
6034
5969
|
var validation_1 = require_validation();
|
|
@@ -6050,7 +5985,6 @@ var require_draft7 = __commonJS({
|
|
|
6050
5985
|
// ../../node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6051
5986
|
var require_types = __commonJS({
|
|
6052
5987
|
"../../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
|
|
6053
|
-
"use strict";
|
|
6054
5988
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6055
5989
|
exports.DiscrError = void 0;
|
|
6056
5990
|
var DiscrError;
|
|
@@ -6064,7 +5998,6 @@ var require_types = __commonJS({
|
|
|
6064
5998
|
// ../../node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6065
5999
|
var require_discriminator = __commonJS({
|
|
6066
6000
|
"../../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
|
|
6067
|
-
"use strict";
|
|
6068
6001
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6069
6002
|
var codegen_1 = require_codegen();
|
|
6070
6003
|
var types_1 = require_types();
|
|
@@ -6326,7 +6259,6 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
6326
6259
|
// ../../node_modules/ajv/dist/ajv.js
|
|
6327
6260
|
var require_ajv = __commonJS({
|
|
6328
6261
|
"../../node_modules/ajv/dist/ajv.js"(exports, module) {
|
|
6329
|
-
"use strict";
|
|
6330
6262
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6331
6263
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
6332
6264
|
var core_1 = require_core();
|
|
@@ -6393,27 +6325,6 @@ var require_ajv = __commonJS({
|
|
|
6393
6325
|
}
|
|
6394
6326
|
});
|
|
6395
6327
|
|
|
6396
|
-
// src/job-pair.ts
|
|
6397
|
-
import { batch } from "@pulumi/kubernetes";
|
|
6398
|
-
import {
|
|
6399
|
-
createScriptContainer,
|
|
6400
|
-
CronJob,
|
|
6401
|
-
getProvider,
|
|
6402
|
-
Job,
|
|
6403
|
-
ScriptBundle,
|
|
6404
|
-
Secret
|
|
6405
|
-
} from "@highstate/k8s";
|
|
6406
|
-
import {
|
|
6407
|
-
ComponentResource,
|
|
6408
|
-
getUnitInstanceName,
|
|
6409
|
-
normalize,
|
|
6410
|
-
output
|
|
6411
|
-
} from "@highstate/pulumi";
|
|
6412
|
-
|
|
6413
|
-
// ../contract/dist/index.js
|
|
6414
|
-
import { mapValues as mapValues3 } from "remeda";
|
|
6415
|
-
import { mapValues as mapValues2 } from "remeda";
|
|
6416
|
-
|
|
6417
6328
|
// ../../node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs
|
|
6418
6329
|
var value_exports = {};
|
|
6419
6330
|
__export(value_exports, {
|
|
@@ -6515,7 +6426,7 @@ function Clone(value) {
|
|
|
6515
6426
|
|
|
6516
6427
|
// ../../node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs
|
|
6517
6428
|
function CloneType(schema, options) {
|
|
6518
|
-
return
|
|
6429
|
+
return Clone(schema) ;
|
|
6519
6430
|
}
|
|
6520
6431
|
|
|
6521
6432
|
// ../../node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs
|
|
@@ -7046,7 +6957,6 @@ var PatternBoolean = "(true|false)";
|
|
|
7046
6957
|
var PatternNumber = "(0|[1-9][0-9]*)";
|
|
7047
6958
|
var PatternString = "(.*)";
|
|
7048
6959
|
var PatternNever = "(?!.*)";
|
|
7049
|
-
var PatternBooleanExact = `^${PatternBoolean}$`;
|
|
7050
6960
|
var PatternNumberExact = `^${PatternNumber}$`;
|
|
7051
6961
|
var PatternStringExact = `^${PatternString}$`;
|
|
7052
6962
|
var PatternNeverExact = `^${PatternNever}$`;
|
|
@@ -7777,17 +7687,11 @@ function FromProperties5(T) {
|
|
|
7777
7687
|
return globalThis.Object.getOwnPropertyNames(T);
|
|
7778
7688
|
}
|
|
7779
7689
|
function FromPatternProperties(patternProperties) {
|
|
7780
|
-
|
|
7781
|
-
return [];
|
|
7782
|
-
const patternPropertyKeys = globalThis.Object.getOwnPropertyNames(patternProperties);
|
|
7783
|
-
return patternPropertyKeys.map((key) => {
|
|
7784
|
-
return key[0] === "^" && key[key.length - 1] === "$" ? key.slice(1, key.length - 1) : key;
|
|
7785
|
-
});
|
|
7690
|
+
return [];
|
|
7786
7691
|
}
|
|
7787
7692
|
function KeyOfPropertyKeys(type) {
|
|
7788
7693
|
return IsIntersect(type) ? FromIntersect3(type.allOf) : IsUnion(type) ? FromUnion5(type.anyOf) : IsTuple(type) ? FromTuple2(type.items ?? []) : IsArray3(type) ? FromArray2(type.items) : IsObject3(type) ? FromProperties5(type.properties) : IsRecord(type) ? FromPatternProperties(type.patternProperties) : [];
|
|
7789
7694
|
}
|
|
7790
|
-
var includePatternProperties = false;
|
|
7791
7695
|
|
|
7792
7696
|
// ../../node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs
|
|
7793
7697
|
function FromComputed2(target, parameters) {
|
|
@@ -7938,7 +7842,7 @@ function IsStructuralRight(right) {
|
|
|
7938
7842
|
return type_exports.IsNever(right) || type_exports.IsIntersect(right) || type_exports.IsUnion(right) || type_exports.IsUnknown(right) || type_exports.IsAny(right);
|
|
7939
7843
|
}
|
|
7940
7844
|
function StructuralRight(left, right) {
|
|
7941
|
-
return type_exports.IsNever(right) ? FromNeverRight(
|
|
7845
|
+
return type_exports.IsNever(right) ? FromNeverRight() : type_exports.IsIntersect(right) ? FromIntersectRight(left, right) : type_exports.IsUnion(right) ? FromUnionRight(left, right) : type_exports.IsUnknown(right) ? FromUnknownRight() : type_exports.IsAny(right) ? FromAnyRight() : Throw("StructuralRight");
|
|
7942
7846
|
}
|
|
7943
7847
|
function FromAnyRight(left, right) {
|
|
7944
7848
|
return ExtendsResult.True;
|
|
@@ -7989,7 +7893,7 @@ function FromIterator(left, right) {
|
|
|
7989
7893
|
return IsStructuralRight(right) ? StructuralRight(left, right) : !type_exports.IsIterator(right) ? ExtendsResult.False : IntoBooleanResult(Visit3(left.items, right.items));
|
|
7990
7894
|
}
|
|
7991
7895
|
function FromLiteral2(left, right) {
|
|
7992
|
-
return type_exports.IsLiteral(right) && right.const === left.const ? ExtendsResult.True : IsStructuralRight(right) ? StructuralRight(left, right) : type_exports.IsObject(right) ? FromObjectRight(left, right) : type_exports.IsRecord(right) ? FromRecordRight(left, right) : type_exports.IsString(right) ? FromStringRight(left
|
|
7896
|
+
return type_exports.IsLiteral(right) && right.const === left.const ? ExtendsResult.True : IsStructuralRight(right) ? StructuralRight(left, right) : type_exports.IsObject(right) ? FromObjectRight(left, right) : type_exports.IsRecord(right) ? FromRecordRight(left, right) : type_exports.IsString(right) ? FromStringRight(left) : type_exports.IsNumber(right) ? FromNumberRight(left) : type_exports.IsInteger(right) ? FromIntegerRight(left) : type_exports.IsBoolean(right) ? FromBooleanRight(left) : ExtendsResult.False;
|
|
7993
7897
|
}
|
|
7994
7898
|
function FromNeverRight(left, right) {
|
|
7995
7899
|
return ExtendsResult.False;
|
|
@@ -8137,7 +8041,7 @@ function FromUint8Array(left, right) {
|
|
|
8137
8041
|
return IsStructuralRight(right) ? StructuralRight(left, right) : type_exports.IsObject(right) ? FromObjectRight(left, right) : type_exports.IsRecord(right) ? FromRecordRight(left, right) : type_exports.IsUint8Array(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
8138
8042
|
}
|
|
8139
8043
|
function FromUndefined(left, right) {
|
|
8140
|
-
return IsStructuralRight(right) ? StructuralRight(left, right) : type_exports.IsObject(right) ? FromObjectRight(left, right) : type_exports.IsRecord(right) ? FromRecordRight(left, right) : type_exports.IsVoid(right) ? FromVoidRight(left
|
|
8044
|
+
return IsStructuralRight(right) ? StructuralRight(left, right) : type_exports.IsObject(right) ? FromObjectRight(left, right) : type_exports.IsRecord(right) ? FromRecordRight(left, right) : type_exports.IsVoid(right) ? FromVoidRight(left) : type_exports.IsUndefined(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
8141
8045
|
}
|
|
8142
8046
|
function FromUnionRight(left, right) {
|
|
8143
8047
|
return right.anyOf.some((schema) => Visit3(left, schema) === ExtendsResult.True) ? ExtendsResult.True : ExtendsResult.False;
|
|
@@ -8149,20 +8053,20 @@ function FromUnknownRight(left, right) {
|
|
|
8149
8053
|
return ExtendsResult.True;
|
|
8150
8054
|
}
|
|
8151
8055
|
function FromUnknown(left, right) {
|
|
8152
|
-
return type_exports.IsNever(right) ? FromNeverRight(
|
|
8056
|
+
return type_exports.IsNever(right) ? FromNeverRight() : type_exports.IsIntersect(right) ? FromIntersectRight(left, right) : type_exports.IsUnion(right) ? FromUnionRight(left, right) : type_exports.IsAny(right) ? FromAnyRight() : type_exports.IsString(right) ? FromStringRight(left) : type_exports.IsNumber(right) ? FromNumberRight(left) : type_exports.IsInteger(right) ? FromIntegerRight(left) : type_exports.IsBoolean(right) ? FromBooleanRight(left) : type_exports.IsArray(right) ? FromArrayRight(left) : type_exports.IsTuple(right) ? FromTupleRight(left) : type_exports.IsObject(right) ? FromObjectRight(left, right) : type_exports.IsUnknown(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
8153
8057
|
}
|
|
8154
8058
|
function FromVoidRight(left, right) {
|
|
8155
8059
|
return type_exports.IsUndefined(left) ? ExtendsResult.True : type_exports.IsUndefined(left) ? ExtendsResult.True : ExtendsResult.False;
|
|
8156
8060
|
}
|
|
8157
8061
|
function FromVoid(left, right) {
|
|
8158
|
-
return type_exports.IsIntersect(right) ? FromIntersectRight(left, right) : type_exports.IsUnion(right) ? FromUnionRight(left, right) : type_exports.IsUnknown(right) ? FromUnknownRight(
|
|
8062
|
+
return type_exports.IsIntersect(right) ? FromIntersectRight(left, right) : type_exports.IsUnion(right) ? FromUnionRight(left, right) : type_exports.IsUnknown(right) ? FromUnknownRight() : type_exports.IsAny(right) ? FromAnyRight() : type_exports.IsObject(right) ? FromObjectRight(left, right) : type_exports.IsVoid(right) ? ExtendsResult.True : ExtendsResult.False;
|
|
8159
8063
|
}
|
|
8160
8064
|
function Visit3(left, right) {
|
|
8161
8065
|
return (
|
|
8162
8066
|
// resolvable
|
|
8163
8067
|
type_exports.IsTemplateLiteral(left) || type_exports.IsTemplateLiteral(right) ? FromTemplateLiteral2(left, right) : type_exports.IsRegExp(left) || type_exports.IsRegExp(right) ? FromRegExp(left, right) : type_exports.IsNot(left) || type_exports.IsNot(right) ? FromNot(left, right) : (
|
|
8164
8068
|
// standard
|
|
8165
|
-
type_exports.IsAny(left) ? FromAny(left, right) : type_exports.IsArray(left) ? FromArray4(left, right) : type_exports.IsBigInt(left) ? FromBigInt(left, right) : type_exports.IsBoolean(left) ? FromBoolean(left, right) : type_exports.IsAsyncIterator(left) ? FromAsyncIterator(left, right) : type_exports.IsConstructor(left) ? FromConstructor(left, right) : type_exports.IsDate(left) ? FromDate(left, right) : type_exports.IsFunction(left) ? FromFunction(left, right) : type_exports.IsInteger(left) ? FromInteger(left, right) : type_exports.IsIntersect(left) ? FromIntersect4(left, right) : type_exports.IsIterator(left) ? FromIterator(left, right) : type_exports.IsLiteral(left) ? FromLiteral2(left, right) : type_exports.IsNever(left) ? FromNever(
|
|
8069
|
+
type_exports.IsAny(left) ? FromAny(left, right) : type_exports.IsArray(left) ? FromArray4(left, right) : type_exports.IsBigInt(left) ? FromBigInt(left, right) : type_exports.IsBoolean(left) ? FromBoolean(left, right) : type_exports.IsAsyncIterator(left) ? FromAsyncIterator(left, right) : type_exports.IsConstructor(left) ? FromConstructor(left, right) : type_exports.IsDate(left) ? FromDate(left, right) : type_exports.IsFunction(left) ? FromFunction(left, right) : type_exports.IsInteger(left) ? FromInteger(left, right) : type_exports.IsIntersect(left) ? FromIntersect4(left, right) : type_exports.IsIterator(left) ? FromIterator(left, right) : type_exports.IsLiteral(left) ? FromLiteral2(left, right) : type_exports.IsNever(left) ? FromNever() : type_exports.IsNull(left) ? FromNull(left, right) : type_exports.IsNumber(left) ? FromNumber(left, right) : type_exports.IsObject(left) ? FromObject(left, right) : type_exports.IsRecord(left) ? FromRecord(left, right) : type_exports.IsString(left) ? FromString(left, right) : type_exports.IsSymbol(left) ? FromSymbol(left, right) : type_exports.IsTuple(left) ? FromTuple3(left, right) : type_exports.IsPromise(left) ? FromPromise2(left, right) : type_exports.IsUint8Array(left) ? FromUint8Array(left, right) : type_exports.IsUndefined(left) ? FromUndefined(left, right) : type_exports.IsUnion(left) ? FromUnion6(left, right) : type_exports.IsUnknown(left) ? FromUnknown(left, right) : type_exports.IsVoid(left) ? FromVoid(left, right) : Throw(`Unknown left type operand '${left[Kind]}'`)
|
|
8166
8070
|
)
|
|
8167
8071
|
);
|
|
8168
8072
|
}
|
|
@@ -9024,11 +8928,40 @@ __export(type_exports2, {
|
|
|
9024
8928
|
|
|
9025
8929
|
// ../../node_modules/@sinclair/typebox/build/esm/type/type/index.mjs
|
|
9026
8930
|
var Type = type_exports2;
|
|
9027
|
-
|
|
9028
|
-
// ../contract/dist/index.js
|
|
9029
8931
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
9030
|
-
|
|
9031
|
-
|
|
8932
|
+
var fileMetaSchema = Type.Object({
|
|
8933
|
+
name: Type.String(),
|
|
8934
|
+
contentType: Type.Optional(Type.String()),
|
|
8935
|
+
size: Type.Optional(Type.Number()),
|
|
8936
|
+
mode: Type.Optional(Type.Number()),
|
|
8937
|
+
isBinary: Type.Optional(Type.Boolean())
|
|
8938
|
+
});
|
|
8939
|
+
var unitObjectMetaSchema = Type.Object({
|
|
8940
|
+
displayName: Type.Optional(Type.String()),
|
|
8941
|
+
description: Type.Optional(Type.String()),
|
|
8942
|
+
primaryIcon: Type.Optional(Type.String())
|
|
8943
|
+
});
|
|
8944
|
+
var unitArtifactSchema = Type.Object({
|
|
8945
|
+
hash: Type.String(),
|
|
8946
|
+
meta: Type.Optional(unitObjectMetaSchema)
|
|
8947
|
+
});
|
|
8948
|
+
var fileContentSchema = Type.Union([
|
|
8949
|
+
Type.Object({
|
|
8950
|
+
type: Type.Literal("embedded"),
|
|
8951
|
+
value: Type.String()
|
|
8952
|
+
}),
|
|
8953
|
+
Type.Object({
|
|
8954
|
+
type: Type.Literal("artifact"),
|
|
8955
|
+
[
|
|
8956
|
+
"d55c63ac-3174-4756-808f-f778e99af0d1"
|
|
8957
|
+
/* Artifact */
|
|
8958
|
+
]: unitArtifactSchema
|
|
8959
|
+
})
|
|
8960
|
+
]);
|
|
8961
|
+
Type.Object({
|
|
8962
|
+
meta: fileMetaSchema,
|
|
8963
|
+
content: fileContentSchema
|
|
8964
|
+
});
|
|
9032
8965
|
function text(strings, ...values) {
|
|
9033
8966
|
const stringValues = values.map(String);
|
|
9034
8967
|
let result = "";
|
|
@@ -9049,24 +8982,12 @@ function trimIndentation(text2) {
|
|
|
9049
8982
|
const indent = lines.filter((line) => line.trim() !== "").map((line) => line.match(/^\s*/)?.[0].length ?? 0).reduce((min, indent2) => Math.min(min, indent2), Infinity);
|
|
9050
8983
|
return lines.map((line) => line.slice(indent)).join("\n").trim();
|
|
9051
8984
|
}
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
return Type2.Union(values.map((value) => Type2.Literal(value)));
|
|
9056
|
-
}
|
|
9057
|
-
function Default(schema, defaultValue) {
|
|
9058
|
-
return { ...schema, default: defaultValue };
|
|
9059
|
-
}
|
|
9060
|
-
var Type2 = {
|
|
9061
|
-
...Type,
|
|
9062
|
-
StringEnum,
|
|
9063
|
-
Default
|
|
9064
|
-
};
|
|
8985
|
+
new import_ajv.Ajv({ strict: false });
|
|
8986
|
+
({
|
|
8987
|
+
...Type});
|
|
9065
8988
|
|
|
9066
8989
|
// assets/images.json
|
|
9067
8990
|
var terminal_restic = {
|
|
9068
|
-
name: "ghcr.io/exeteres/highstate/terminal-restic",
|
|
9069
|
-
tag: "latest",
|
|
9070
8991
|
image: "ghcr.io/exeteres/highstate/terminal-restic:latest@sha256:10ff1f65bbc5d5f84e0accc388c28ddb97f8a1a824bd7a90d2d5674506f5dee3"
|
|
9071
8992
|
};
|
|
9072
8993
|
|
|
@@ -9318,9 +9239,11 @@ var BackupJobPair = class extends ComponentResource {
|
|
|
9318
9239
|
createTerminal() {
|
|
9319
9240
|
return {
|
|
9320
9241
|
name: "restic",
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9242
|
+
meta: {
|
|
9243
|
+
title: "Restic",
|
|
9244
|
+
description: "Manage Restic repository",
|
|
9245
|
+
icon: "material-symbols:backup"
|
|
9246
|
+
},
|
|
9324
9247
|
image: terminal_restic.image,
|
|
9325
9248
|
command: ["bash", "/welcome.sh"],
|
|
9326
9249
|
files: {
|
|
@@ -9353,7 +9276,7 @@ var BackupJobPair = class extends ComponentResource {
|
|
|
9353
9276
|
);
|
|
9354
9277
|
}
|
|
9355
9278
|
};
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9279
|
+
|
|
9280
|
+
export { BackupJobPair };
|
|
9281
|
+
//# sourceMappingURL=index.js.map
|
|
9359
9282
|
//# sourceMappingURL=index.js.map
|