@supacloud/admin 0.27.0 → 0.27.1
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.js +17 -11
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -29206,7 +29206,7 @@ function FromObject10(context, type, value) {
|
|
|
29206
29206
|
return value;
|
|
29207
29207
|
const additionalProperties = GetAdditionalProperties(type);
|
|
29208
29208
|
for (const key of Keys(value)) {
|
|
29209
|
-
if (HasPropertyKey(type.properties, key)) {
|
|
29209
|
+
if (HasPropertyKey(type.properties, key) && IsSchema(type.properties[key])) {
|
|
29210
29210
|
value[key] = FromType19(context, type.properties[key], value[key]);
|
|
29211
29211
|
continue;
|
|
29212
29212
|
}
|
|
@@ -29291,6 +29291,9 @@ function FromProperties4(properties) {
|
|
|
29291
29291
|
result[key] = FromType20(properties[key]);
|
|
29292
29292
|
return result;
|
|
29293
29293
|
}
|
|
29294
|
+
function FromRecordKey(type) {
|
|
29295
|
+
return String2({ pattern: RecordPattern(type) });
|
|
29296
|
+
}
|
|
29294
29297
|
function FromPriorityTypes(types) {
|
|
29295
29298
|
return FromTypes6(Priority(types));
|
|
29296
29299
|
}
|
|
@@ -29298,7 +29301,7 @@ function FromTypes6(types) {
|
|
|
29298
29301
|
return types.map((type) => FromType20(type));
|
|
29299
29302
|
}
|
|
29300
29303
|
function FromType20(type) {
|
|
29301
|
-
const next = IsArray2(type) ? _Array_(FromType20(type.items), ArrayOptions(type)) : IsIntersect(type) ? Intersect(FromTypes6(type.allOf)) : IsUnion(type) ? Union(FromPriorityTypes(type.anyOf)) : IsObject2(type) ? _Object_(FromProperties4(type.properties)) : IsRecord(type) ? Record(
|
|
29304
|
+
const next = IsArray2(type) ? _Array_(FromType20(type.items), ArrayOptions(type)) : IsIntersect(type) ? Intersect(FromTypes6(type.allOf)) : IsUnion(type) ? Union(FromPriorityTypes(type.anyOf)) : IsObject2(type) ? _Object_(FromProperties4(type.properties)) : IsRecord(type) ? Record(FromRecordKey(type), FromType20(RecordValue(type))) : IsTuple(type) ? Tuple(FromTypes6(type.items)) : type;
|
|
29302
29305
|
return Modifiers(type, next);
|
|
29303
29306
|
}
|
|
29304
29307
|
function UnionPrioritySort(type) {
|
|
@@ -42363,7 +42366,7 @@ function FromObject25(context, type, value) {
|
|
|
42363
42366
|
return value;
|
|
42364
42367
|
const additionalProperties = GetAdditionalProperties2(type);
|
|
42365
42368
|
for (const key of Keys2(value)) {
|
|
42366
|
-
if (HasPropertyKey2(type.properties, key)) {
|
|
42369
|
+
if (HasPropertyKey2(type.properties, key) && IsSchema3(type.properties[key])) {
|
|
42367
42370
|
value[key] = FromType44(context, type.properties[key], value[key]);
|
|
42368
42371
|
continue;
|
|
42369
42372
|
}
|
|
@@ -42448,6 +42451,9 @@ function FromProperties9(properties) {
|
|
|
42448
42451
|
result[key] = FromType45(properties[key]);
|
|
42449
42452
|
return result;
|
|
42450
42453
|
}
|
|
42454
|
+
function FromRecordKey2(type) {
|
|
42455
|
+
return String4({ pattern: RecordPattern2(type) });
|
|
42456
|
+
}
|
|
42451
42457
|
function FromPriorityTypes2(types) {
|
|
42452
42458
|
return FromTypes12(Priority2(types));
|
|
42453
42459
|
}
|
|
@@ -42455,7 +42461,7 @@ function FromTypes12(types) {
|
|
|
42455
42461
|
return types.map((type) => FromType45(type));
|
|
42456
42462
|
}
|
|
42457
42463
|
function FromType45(type) {
|
|
42458
|
-
const next = IsArray4(type) ? _Array_2(FromType45(type.items), ArrayOptions2(type)) : IsIntersect2(type) ? Intersect2(FromTypes12(type.allOf)) : IsUnion2(type) ? Union2(FromPriorityTypes2(type.anyOf)) : IsObject4(type) ? _Object_2(FromProperties9(type.properties)) : IsRecord2(type) ? Record2(
|
|
42464
|
+
const next = IsArray4(type) ? _Array_2(FromType45(type.items), ArrayOptions2(type)) : IsIntersect2(type) ? Intersect2(FromTypes12(type.allOf)) : IsUnion2(type) ? Union2(FromPriorityTypes2(type.anyOf)) : IsObject4(type) ? _Object_2(FromProperties9(type.properties)) : IsRecord2(type) ? Record2(FromRecordKey2(type), FromType45(RecordValue2(type))) : IsTuple2(type) ? Tuple2(FromTypes12(type.items)) : type;
|
|
42459
42465
|
return Modifiers2(type, next);
|
|
42460
42466
|
}
|
|
42461
42467
|
function UnionPrioritySort2(type) {
|
|
@@ -44282,7 +44288,7 @@ Actions: list_releases, get_active_release, get_release, upload_release, activat
|
|
|
44282
44288
|
// package.json
|
|
44283
44289
|
var package_default = {
|
|
44284
44290
|
name: "@supacloud/admin",
|
|
44285
|
-
version: "0.27.
|
|
44291
|
+
version: "0.27.1",
|
|
44286
44292
|
description: "Platform administration CLI for SupaCloud operators",
|
|
44287
44293
|
type: "module",
|
|
44288
44294
|
main: "./dist/index.js",
|
|
@@ -44317,9 +44323,9 @@ var package_default = {
|
|
|
44317
44323
|
directory: "packages/admin"
|
|
44318
44324
|
},
|
|
44319
44325
|
dependencies: {
|
|
44320
|
-
"@supacloud/delivery": "0.
|
|
44321
|
-
typebox: "1.3.
|
|
44322
|
-
"@supacloud/cli": "0.
|
|
44326
|
+
"@supacloud/delivery": "0.14.1",
|
|
44327
|
+
typebox: "1.3.36",
|
|
44328
|
+
"@supacloud/cli": "0.88.0",
|
|
44323
44329
|
ssh2: "^1.17.0"
|
|
44324
44330
|
},
|
|
44325
44331
|
devDependencies: {
|
|
@@ -44328,9 +44334,9 @@ var package_default = {
|
|
|
44328
44334
|
typescript: "^7.0.2"
|
|
44329
44335
|
},
|
|
44330
44336
|
overrides: {
|
|
44331
|
-
"@supacloud/contracts": "0.8.
|
|
44332
|
-
"@supacloud/db": "0.16.
|
|
44333
|
-
"@supacloud/delivery": "0.
|
|
44337
|
+
"@supacloud/contracts": "0.8.1",
|
|
44338
|
+
"@supacloud/db": "0.16.1",
|
|
44339
|
+
"@supacloud/delivery": "0.14.1",
|
|
44334
44340
|
"@graphql-tools/utils": "^12.0.3"
|
|
44335
44341
|
}
|
|
44336
44342
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/admin",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "Platform administration CLI for SupaCloud operators",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"directory": "packages/admin"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@supacloud/delivery": "0.
|
|
39
|
-
"typebox": "1.3.
|
|
40
|
-
"@supacloud/cli": "0.
|
|
38
|
+
"@supacloud/delivery": "0.14.1",
|
|
39
|
+
"typebox": "1.3.36",
|
|
40
|
+
"@supacloud/cli": "0.88.0",
|
|
41
41
|
"ssh2": "^1.17.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"typescript": "^7.0.2"
|
|
47
47
|
},
|
|
48
48
|
"overrides": {
|
|
49
|
-
"@supacloud/contracts": "0.8.
|
|
50
|
-
"@supacloud/db": "0.16.
|
|
51
|
-
"@supacloud/delivery": "0.
|
|
49
|
+
"@supacloud/contracts": "0.8.1",
|
|
50
|
+
"@supacloud/db": "0.16.1",
|
|
51
|
+
"@supacloud/delivery": "0.14.1",
|
|
52
52
|
"@graphql-tools/utils": "^12.0.3"
|
|
53
53
|
}
|
|
54
54
|
}
|