@beseif-solutions/prow-core 0.0.30 → 0.0.31
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.
|
@@ -39,7 +39,6 @@ const sourceListSchema = joi_1.default.object({
|
|
|
39
39
|
}).required();
|
|
40
40
|
const localeListSchema = joi_1.default.object({
|
|
41
41
|
command: joi_1.default.string().valid(`list:locales`).required(),
|
|
42
|
-
locale: joi_1.default.string().required(),
|
|
43
42
|
}).required();
|
|
44
43
|
const commandSchema = joi_1.default.alternatives(invokeSchema, credentialListSchema, actionListSchema, triggerListSchema, sourceListSchema, localeListSchema);
|
|
45
44
|
class Protocol {
|
package/package.json
CHANGED
|
@@ -39,7 +39,6 @@ const sourceListSchema = Joi.object({
|
|
|
39
39
|
|
|
40
40
|
const localeListSchema = Joi.object({
|
|
41
41
|
command: Joi.string().valid(`list:locales`).required(),
|
|
42
|
-
locale: Joi.string().required(),
|
|
43
42
|
}).required();
|
|
44
43
|
|
|
45
44
|
const commandSchema = Joi.alternatives(
|
|
@@ -157,7 +156,6 @@ export namespace Protocol {
|
|
|
157
156
|
|
|
158
157
|
export type LocaleList = {
|
|
159
158
|
command: `list:locales`,
|
|
160
|
-
locale: string,
|
|
161
159
|
};
|
|
162
160
|
|
|
163
161
|
export type Command = Invoke | CredentialList | ActionList | TriggerList | SourceList | LocaleList;
|