@mochabug/adaptkit 0.12.5 → 0.12.6
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/bin/index.js +13 -13
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -329,13 +329,13 @@ class Manifest$Type extends MessageType {
|
|
|
329
329
|
{ no: 3, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100" } } } },
|
|
330
330
|
{ no: 4, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "250" } } } },
|
|
331
331
|
{ no: 5, name: "organization", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { uuid: true } } } },
|
|
332
|
-
{ no: 6, name: "homepage", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "11", maxLen: "4096", pattern: "^https://[a-zA-Z0-9.-]+(?:\\.[a-zA-Z]{2,})(?:/.*)?$" }
|
|
333
|
-
{ no: 7, name: "repository", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "11", maxLen: "4096", pattern: "^https://[a-zA-Z0-9.-]+(?:\\.[a-zA-Z]{2,})(?:/.*)?$" }
|
|
334
|
-
{ no: 8, name: "bugs", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { cel: [{ id: "valid_email_or_url", message: "bugs must be a valid email or URL", expression: "size(this) >= 2 && size(this) <= 4096 && (this.isEmail() || this.matches('^https://[a-zA-Z0-9.-]+(?:\\\\.[a-zA-Z]{2,})(?:/.*)?$'))" }],
|
|
335
|
-
{ no: 9, name: "author", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100" }
|
|
336
|
-
{ no: 10, name: "logo", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "2", maxLen: "4096", pattern: "^([^/]+(/[^/]+)*)\\.(gif|jpg|jpeg|jfif|pjpeg|pjp|png|svg|webp|avif)$" }
|
|
332
|
+
{ no: 6, name: "homepage", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "11", maxLen: "4096", pattern: "^https://[a-zA-Z0-9.-]+(?:\\.[a-zA-Z]{2,})(?:/.*)?$" } } } },
|
|
333
|
+
{ no: 7, name: "repository", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "11", maxLen: "4096", pattern: "^https://[a-zA-Z0-9.-]+(?:\\.[a-zA-Z]{2,})(?:/.*)?$" } } } },
|
|
334
|
+
{ no: 8, name: "bugs", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { cel: [{ id: "valid_email_or_url", message: "bugs must be a valid email or URL", expression: "size(this) >= 2 && size(this) <= 4096 && (this.isEmail() || this.matches('^https://[a-zA-Z0-9.-]+(?:\\\\.[a-zA-Z]{2,})(?:/.*)?$'))" }], ignore: "IGNORE_EMPTY" } } },
|
|
335
|
+
{ no: 9, name: "author", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "1", maxLen: "100" } } } },
|
|
336
|
+
{ no: 10, name: "logo", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "2", maxLen: "4096", pattern: "^([^/]+(/[^/]+)*)\\.(gif|jpg|jpeg|jfif|pjpeg|pjp|png|svg|webp|avif)$" } } } },
|
|
337
337
|
{ no: 11, name: "executors", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "2", maxLen: "4096", pattern: "^([^/]+(/[^/]+)*)\\.(mjs|js)$" } } } },
|
|
338
|
-
{ no: 12, name: "configurators", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "2", maxLen: "4096", pattern: "^([^/]+(/[^/]+)*)\\.(mjs|js)$" }
|
|
338
|
+
{ no: 12, name: "configurators", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "2", maxLen: "4096", pattern: "^([^/]+(/[^/]+)*)\\.(mjs|js)$" } } } },
|
|
339
339
|
{ no: 13, name: "assets", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "2", maxLen: "4096", pattern: "^[^/]+(\\/[^/]+)*$" } } } },
|
|
340
340
|
{ no: 14, name: "cdn", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "2", maxLen: "4096", pattern: "^[^/]+(\\/[^/]+)*$" } } } },
|
|
341
341
|
{ no: 15, name: "vertices", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Vertex, options: { "buf.validate.field": { cel: [{ id: "vertex_unique_names", message: "a name cannot appear more than once", expression: "this.map(vertex, vertex.name).unique()" }], repeated: { minItems: "1", maxItems: "100" } } } },
|
|
@@ -501,8 +501,8 @@ class Vertex$Type extends MessageType {
|
|
|
501
501
|
super("mochabugapis.adapt.plugins.v1.Vertex", [
|
|
502
502
|
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100", pattern: "^[_$a-z][_$a-z0-9]*$" } } } },
|
|
503
503
|
{ no: 2, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100" } } } },
|
|
504
|
-
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "250" }
|
|
505
|
-
{ no: 4, name: "logo", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "2", maxLen: "4096", pattern: "^([^/]+(/[^/]+)*)\\.(gif|jpg|jpeg|jfif|pjpeg|pjp|png|svg|webp|avif)$" }
|
|
504
|
+
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "1", maxLen: "250" } } } },
|
|
505
|
+
{ no: 4, name: "logo", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "2", maxLen: "4096", pattern: "^([^/]+(/[^/]+)*)\\.(gif|jpg|jpeg|jfif|pjpeg|pjp|png|svg|webp|avif)$" } } } },
|
|
506
506
|
{ no: 5, name: "type", kind: "enum", T: () => ["mochabugapis.adapt.plugins.v1.Vertex.VertexType", Vertex_VertexType, "VERTEX_TYPE_"], options: { "buf.validate.field": { enum: { notIn: [0] } } } },
|
|
507
507
|
{ no: 6, name: "config", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "5", maxLen: "4096", pattern: "^([^/]+(/[^/]+)*)\\.json$" } } } },
|
|
508
508
|
{ no: 7, name: "configurator", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
@@ -625,8 +625,8 @@ class MTLSService$Type extends MessageType {
|
|
|
625
625
|
constructor() {
|
|
626
626
|
super("mochabugapis.adapt.plugins.v1.MTLSService", [
|
|
627
627
|
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100", pattern: "^[_$a-z][_$a-z0-9]*$" } } } },
|
|
628
|
-
{ no: 2, name: "label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100" }
|
|
629
|
-
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "250" }
|
|
628
|
+
{ no: 2, name: "label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "1", maxLen: "100" } } } },
|
|
629
|
+
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "1", maxLen: "250" } } } },
|
|
630
630
|
{ no: 4, name: "optional", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
631
631
|
]);
|
|
632
632
|
}
|
|
@@ -694,7 +694,7 @@ class VariableService$Type extends MessageType {
|
|
|
694
694
|
super("mochabugapis.adapt.plugins.v1.VariableService", [
|
|
695
695
|
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100", pattern: "^[_$a-z][_$a-z0-9]*$" } } } },
|
|
696
696
|
{ no: 2, name: "label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100" } } } },
|
|
697
|
-
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "250" }
|
|
697
|
+
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "1", maxLen: "250" } } } },
|
|
698
698
|
{ no: 4, name: "type", kind: "enum", T: () => ["mochabugapis.adapt.plugins.v1.VariableService.Type", VariableService_Type, "TYPE_"], options: { "buf.validate.field": { enum: { notIn: [0] } } } },
|
|
699
699
|
{ no: 5, name: "optional", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
700
700
|
]);
|
|
@@ -770,7 +770,7 @@ class Oauth2Service$Type extends MessageType {
|
|
|
770
770
|
super("mochabugapis.adapt.plugins.v1.Oauth2Service", [
|
|
771
771
|
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100", pattern: "^[_$a-z][_$a-z0-9]*$" } } } },
|
|
772
772
|
{ no: 2, name: "label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "100" } } } },
|
|
773
|
-
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "250" }
|
|
773
|
+
{ no: 3, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_EMPTY", string: { minLen: "1", maxLen: "250" } } } },
|
|
774
774
|
{ no: 4, name: "code", kind: "message", T: () => Oauth2Code },
|
|
775
775
|
{ no: 5, name: "optional", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
776
776
|
{ no: 6, name: "scopes", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { repeated: { minItems: "1", maxItems: "500", unique: true, items: { string: { minLen: "1", maxLen: "100" } } } } } },
|
|
@@ -2018,7 +2018,7 @@ function handleVersion(bump, cmd) {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
async function main() {
|
|
2020
2020
|
const notifier = updateNotifier({
|
|
2021
|
-
pkg: JSON.parse('{"name":"@mochabug/adaptkit","version":"0.12.
|
|
2021
|
+
pkg: JSON.parse('{"name":"@mochabug/adaptkit","version":"0.12.6"}')
|
|
2022
2022
|
});
|
|
2023
2023
|
notifier.notify({ isGlobal: true, defer: false });
|
|
2024
2024
|
program
|