@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.
@@ -36,7 +36,6 @@ export declare namespace Protocol {
36
36
  };
37
37
  type LocaleList = {
38
38
  command: `list:locales`;
39
- locale: string;
40
39
  };
41
40
  type Command = Invoke | CredentialList | ActionList | TriggerList | SourceList | LocaleList;
42
41
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beseif-solutions/prow-core",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "Prow core functionalities and classes",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -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;