@prismatic-io/spectral 7.8.0 → 7.8.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.
@@ -44,12 +44,14 @@ const convertTrigger = (triggerKey, _a, hooks) => {
44
44
  inputCleaners,
45
45
  errorHandler: hooks === null || hooks === void 0 ? void 0 : hooks.error,
46
46
  });
47
+ result.hasOnInstanceDeploy = true;
47
48
  }
48
49
  if (onInstanceDelete) {
49
50
  result.onInstanceDelete = (0, perform_1.createPerform)(onInstanceDelete, {
50
51
  inputCleaners,
51
52
  errorHandler: hooks === null || hooks === void 0 ? void 0 : hooks.error,
52
53
  });
54
+ result.hasOnInstanceDelete = true;
53
55
  }
54
56
  return result;
55
57
  };
@@ -124,7 +124,9 @@ export interface Trigger {
124
124
  dynamicBranchInput?: string;
125
125
  perform: TriggerPerformFunction;
126
126
  onInstanceDeploy?: TriggerEventFunction;
127
+ hasOnInstanceDeploy?: boolean;
127
128
  onInstanceDelete?: TriggerEventFunction;
129
+ hasOnInstanceDelete?: boolean;
128
130
  scheduleSupport: TriggerOptionChoice;
129
131
  synchronousResponseSupport: TriggerOptionChoice;
130
132
  examplePayload?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "7.8.0",
3
+ "version": "7.8.1",
4
4
  "description": "Utility library for building Prismatic components",
5
5
  "keywords": [
6
6
  "prismatic"