@prismatic-io/spectral 10.0.1 → 10.1.0
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/clients/http/index.js +5 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +11 -1
- package/dist/serverTypes/convertComponent.js +47 -10
- package/dist/serverTypes/perform.d.ts +4 -2
- package/dist/serverTypes/perform.js +57 -1
- package/dist/types/ComponentDefinition.d.ts +2 -1
- package/dist/types/PollingTriggerDefinition.d.ts +31 -0
- package/dist/types/PollingTriggerDefinition.js +5 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -90,7 +90,11 @@ const computeRetryDelay = (retryDelay, useExponentialBackoff) => {
|
|
|
90
90
|
};
|
|
91
91
|
const toAxiosRetryConfig = (_a) => {
|
|
92
92
|
var { retryDelay, retryAllErrors, retryCondition, useExponentialBackoff } = _a, rest = __rest(_a, ["retryDelay", "retryAllErrors", "retryCondition", "useExponentialBackoff"]);
|
|
93
|
-
return (Object.assign(Object.assign({}, rest), { retryDelay: computeRetryDelay(retryDelay, useExponentialBackoff), retryCondition: retryAllErrors
|
|
93
|
+
return (Object.assign(Object.assign({}, rest), { retryDelay: computeRetryDelay(retryDelay, useExponentialBackoff), retryCondition: retryAllErrors
|
|
94
|
+
? () => true
|
|
95
|
+
: typeof retryCondition === "function"
|
|
96
|
+
? retryCondition
|
|
97
|
+
: axios_retry_1.isNetworkOrIdempotentRequestError }));
|
|
94
98
|
};
|
|
95
99
|
const createClient = ({ baseUrl, responseType, headers, timeout, params, debug = false, retryConfig, }) => {
|
|
96
100
|
const client = axios_1.default.create({
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { ActionDefinition, InputFieldDefinition, ComponentDefinition, DefaultConnectionDefinition, OAuth2ConnectionDefinition, Inputs, TriggerDefinition, ActionPerformReturn, TriggerResult, DataSourceDefinition, DataSourceType, IntegrationDefinition, Flow, ConfigPage, StandardConfigVar, ConnectionConfigVar, ConfigVarResultCollection, TriggerPayload, DataSourceConfigVar, OnPremConnectionDefinition, ComponentManifest, OrganizationActivatedConnectionConfigVar } from "./types";
|
|
7
7
|
import { convertComponent } from "./serverTypes/convertComponent";
|
|
8
8
|
import { convertIntegration } from "./serverTypes/convertIntegration";
|
|
9
|
+
import { PollingTriggerDefinition } from "./types/PollingTriggerDefinition";
|
|
9
10
|
/**
|
|
10
11
|
* This function creates a Integration object that can be
|
|
11
12
|
* imported into the Prismatic API. For information on using
|
|
@@ -93,6 +94,13 @@ export declare const action: <TInputs extends Inputs, TConfigVars extends Config
|
|
|
93
94
|
* @returns This function validates the shape of the `definition` object provided, and returns the same trigger object.
|
|
94
95
|
*/
|
|
95
96
|
export declare const trigger: <TInputs extends Inputs, TConfigVars extends ConfigVarResultCollection, TAllowsBranching extends boolean, TResult extends TriggerResult<TAllowsBranching, TriggerPayload>>(definition: TriggerDefinition<TInputs, TConfigVars, TAllowsBranching, TResult>) => TriggerDefinition<TInputs, TConfigVars, TAllowsBranching, TResult>;
|
|
97
|
+
/**
|
|
98
|
+
* This function creates a polling trigger object that can be referenced
|
|
99
|
+
* by a custom component.
|
|
100
|
+
* @param definition A PollingTriggerDefinition is similar to a TriggerDefinition, except it requires a pollAction instead of a perform. The pollAction, which can be any action defined in the component, will be polled on the defined schedule.
|
|
101
|
+
* @returns This function validates the shape of the `definition` object provided, and returns the same polling trigger object.
|
|
102
|
+
*/
|
|
103
|
+
export declare const pollingTrigger: <TInputs extends Inputs, TConfigVars extends ConfigVarResultCollection, TPayload extends TriggerPayload, TResult extends TriggerResult<boolean, TPayload>, TActionInputs extends Inputs>(definition: PollingTriggerDefinition<TInputs, TConfigVars, TPayload, TResult, TActionInputs>) => PollingTriggerDefinition<TInputs, TConfigVars, TPayload, TResult, TActionInputs>;
|
|
96
104
|
/**
|
|
97
105
|
* This function creates a data source object that can be referenced
|
|
98
106
|
* by a custom component. It helps ensure that the shape of the
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
22
22
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.testing = exports.util = exports.componentManifests = exports.oauth2Connection = exports.onPremConnection = exports.connection = exports.input = exports.dataSource = exports.trigger = exports.action = exports.component = exports.componentManifest = exports.organizationActivatedConnection = exports.connectionConfigVar = exports.dataSourceConfigVar = exports.configVar = exports.configPage = exports.flow = exports.integration = void 0;
|
|
25
|
+
exports.testing = exports.util = exports.componentManifests = exports.oauth2Connection = exports.onPremConnection = exports.connection = exports.input = exports.dataSource = exports.pollingTrigger = exports.trigger = exports.action = exports.component = exports.componentManifest = exports.organizationActivatedConnection = exports.connectionConfigVar = exports.dataSourceConfigVar = exports.configVar = exports.configPage = exports.flow = exports.integration = void 0;
|
|
26
26
|
const convertComponent_1 = require("./serverTypes/convertComponent");
|
|
27
27
|
const convertIntegration_1 = require("./serverTypes/convertIntegration");
|
|
28
28
|
/**
|
|
@@ -130,6 +130,16 @@ exports.action = action;
|
|
|
130
130
|
*/
|
|
131
131
|
const trigger = (definition) => definition;
|
|
132
132
|
exports.trigger = trigger;
|
|
133
|
+
/**
|
|
134
|
+
* This function creates a polling trigger object that can be referenced
|
|
135
|
+
* by a custom component.
|
|
136
|
+
* @param definition A PollingTriggerDefinition is similar to a TriggerDefinition, except it requires a pollAction instead of a perform. The pollAction, which can be any action defined in the component, will be polled on the defined schedule.
|
|
137
|
+
* @returns This function validates the shape of the `definition` object provided, and returns the same polling trigger object.
|
|
138
|
+
*/
|
|
139
|
+
const pollingTrigger = (definition) => {
|
|
140
|
+
return Object.assign(Object.assign({}, definition), { triggerType: "polling" });
|
|
141
|
+
};
|
|
142
|
+
exports.pollingTrigger = pollingTrigger;
|
|
133
143
|
/**
|
|
134
144
|
* This function creates a data source object that can be referenced
|
|
135
145
|
* by a custom component. It helps ensure that the shape of the
|
|
@@ -15,6 +15,7 @@ exports.convertComponent = exports.convertConnection = exports.convertInput = vo
|
|
|
15
15
|
const types_1 = require("../types");
|
|
16
16
|
const perform_1 = require("./perform");
|
|
17
17
|
const lodash_1 = require("lodash");
|
|
18
|
+
const PollingTriggerDefinition_1 = require("../types/PollingTriggerDefinition");
|
|
18
19
|
const convertInput = (key, _a) => {
|
|
19
20
|
var { default: defaultValue, type, label, collection } = _a, rest = __rest(_a, ["default", "type", "label", "collection"]);
|
|
20
21
|
const keyLabel = collection === "keyvaluelist" && typeof label === "object" ? label.key : undefined;
|
|
@@ -36,29 +37,65 @@ const convertAction = (actionKey, _a, hooks) => {
|
|
|
36
37
|
errorHandler: hooks === null || hooks === void 0 ? void 0 : hooks.error,
|
|
37
38
|
}) });
|
|
38
39
|
};
|
|
39
|
-
const convertTrigger = (triggerKey,
|
|
40
|
-
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
|
|
40
|
+
const convertTrigger = (triggerKey, trigger, hooks) => {
|
|
41
|
+
const { inputs = {}, onInstanceDeploy, onInstanceDelete } = trigger;
|
|
42
|
+
const isPollingTrigger = (0, PollingTriggerDefinition_1.isPollingTriggerDefinition)(trigger);
|
|
43
|
+
const triggerInputKeys = Object.keys(inputs);
|
|
44
|
+
const convertedTriggerInputs = Object.entries(inputs).map(([key, value]) => {
|
|
45
|
+
return (0, exports.convertInput)(key, value);
|
|
46
|
+
});
|
|
47
|
+
const triggerInputCleaners = Object.entries(inputs).reduce((result, [key, { clean }]) => (Object.assign(Object.assign({}, result), { [key]: clean })), {});
|
|
48
|
+
let scheduleSupport = "scheduleSupport" in trigger ? trigger.scheduleSupport : "invalid";
|
|
49
|
+
let convertedActionInputs = [];
|
|
50
|
+
let performToUse;
|
|
51
|
+
if (isPollingTrigger) {
|
|
52
|
+
// Pull inputs up from the action and make them available on the trigger
|
|
53
|
+
const { pollAction: action } = trigger;
|
|
54
|
+
let actionInputCleaners = {};
|
|
55
|
+
scheduleSupport = "required";
|
|
56
|
+
if (action) {
|
|
57
|
+
convertedActionInputs = Object.entries(action.inputs).reduce((accum, [key, value]) => {
|
|
58
|
+
if (triggerInputKeys.includes(key)) {
|
|
59
|
+
throw new Error(`Error: The pollingTrigger "${trigger.display.label}" was defined with an input with the key: ${key}. This key duplicates an input on the associated "${action.display.label}" action. Please assign the trigger input a different key.`);
|
|
60
|
+
}
|
|
61
|
+
accum.push((0, exports.convertInput)(key, value));
|
|
62
|
+
return accum;
|
|
63
|
+
}, []);
|
|
64
|
+
actionInputCleaners = Object.entries(action.inputs).reduce((result, [key, { clean }]) => (Object.assign(Object.assign({}, result), { [key]: clean })), {});
|
|
65
|
+
}
|
|
66
|
+
const combinedCleaners = Object.assign({}, actionInputCleaners, triggerInputCleaners);
|
|
67
|
+
performToUse = (0, perform_1.createPollingPerform)(trigger, {
|
|
68
|
+
inputCleaners: combinedCleaners,
|
|
45
69
|
errorHandler: hooks === null || hooks === void 0 ? void 0 : hooks.error,
|
|
46
|
-
})
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
performToUse = (0, perform_1.createPerform)(trigger.perform, {
|
|
74
|
+
inputCleaners: triggerInputCleaners,
|
|
75
|
+
errorHandler: hooks === null || hooks === void 0 ? void 0 : hooks.error,
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
const result = Object.assign(Object.assign({}, trigger), { key: triggerKey, inputs: convertedTriggerInputs.concat(convertedActionInputs), perform: performToUse, scheduleSupport, synchronousResponseSupport: "synchronousResponseSupport" in trigger
|
|
79
|
+
? trigger.synchronousResponseSupport
|
|
80
|
+
: scheduleSupport === "invalid"
|
|
81
|
+
? "valid"
|
|
82
|
+
: "invalid" });
|
|
47
83
|
if (onInstanceDeploy) {
|
|
48
84
|
result.onInstanceDeploy = (0, perform_1.createPerform)(onInstanceDeploy, {
|
|
49
|
-
inputCleaners,
|
|
85
|
+
inputCleaners: triggerInputCleaners,
|
|
50
86
|
errorHandler: hooks === null || hooks === void 0 ? void 0 : hooks.error,
|
|
51
87
|
});
|
|
52
88
|
result.hasOnInstanceDeploy = true;
|
|
53
89
|
}
|
|
54
90
|
if (onInstanceDelete) {
|
|
55
91
|
result.onInstanceDelete = (0, perform_1.createPerform)(onInstanceDelete, {
|
|
56
|
-
inputCleaners,
|
|
92
|
+
inputCleaners: triggerInputCleaners,
|
|
57
93
|
errorHandler: hooks === null || hooks === void 0 ? void 0 : hooks.error,
|
|
58
94
|
});
|
|
59
95
|
result.hasOnInstanceDelete = true;
|
|
60
96
|
}
|
|
61
|
-
|
|
97
|
+
const { pollAction, triggerType } = result, resultTrigger = __rest(result, ["pollAction", "triggerType"]);
|
|
98
|
+
return resultTrigger;
|
|
62
99
|
};
|
|
63
100
|
const convertDataSource = (dataSourceKey, _a, hooks) => {
|
|
64
101
|
var { inputs = {}, perform } = _a, dataSource = __rest(_a, ["inputs", "perform"]);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ErrorHandler } from "../types";
|
|
2
|
-
|
|
1
|
+
import type { ErrorHandler, Inputs, PollingTriggerPerformFunction } from "../types";
|
|
2
|
+
import { type PollingTriggerDefinition } from "../types/PollingTriggerDefinition";
|
|
3
|
+
export type PerformFn = (...args: any[]) => Promise<any>;
|
|
3
4
|
export type CleanFn = (...args: any[]) => any;
|
|
4
5
|
export type InputCleaners = Record<string, CleanFn | undefined>;
|
|
5
6
|
interface CreatePerformProps {
|
|
@@ -7,4 +8,5 @@ interface CreatePerformProps {
|
|
|
7
8
|
errorHandler?: ErrorHandler;
|
|
8
9
|
}
|
|
9
10
|
export declare const createPerform: (performFn: PerformFn, { inputCleaners, errorHandler }: CreatePerformProps) => PerformFn;
|
|
11
|
+
export declare const createPollingPerform: (trigger: PollingTriggerDefinition, { inputCleaners, errorHandler }: CreatePerformProps) => PollingTriggerPerformFunction<Inputs, Inputs>;
|
|
10
12
|
export {};
|
|
@@ -8,8 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
11
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.createPerform = void 0;
|
|
15
|
+
exports.createPollingPerform = exports.createPerform = void 0;
|
|
16
|
+
const axios_1 = __importDefault(require("axios"));
|
|
13
17
|
const cleanParams = (params, cleaners) => Object.entries(params).reduce((result, [key, value]) => {
|
|
14
18
|
const cleanFn = cleaners[key];
|
|
15
19
|
return Object.assign(Object.assign({}, result), { [key]: cleanFn ? cleanFn(value) : value });
|
|
@@ -34,3 +38,55 @@ const createPerform = (performFn, { inputCleaners, errorHandler }) => {
|
|
|
34
38
|
});
|
|
35
39
|
};
|
|
36
40
|
exports.createPerform = createPerform;
|
|
41
|
+
const createInvokePollAction = (context, action, { inputCleaners, errorHandler }) => {
|
|
42
|
+
return (params) => __awaiter(void 0, void 0, void 0, function* () {
|
|
43
|
+
try {
|
|
44
|
+
if (!action) {
|
|
45
|
+
throw "Error: Attempted to invoke an action for a trigger with no pollAction defined.";
|
|
46
|
+
}
|
|
47
|
+
return yield action.perform(context, cleanParams(params, inputCleaners));
|
|
48
|
+
}
|
|
49
|
+
catch (error) {
|
|
50
|
+
throw errorHandler ? errorHandler(error) : error;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
const createPollingPerform = (trigger, { inputCleaners, errorHandler }) => {
|
|
55
|
+
return (context, payload, params) => __awaiter(void 0, void 0, void 0, function* () {
|
|
56
|
+
try {
|
|
57
|
+
const { pollAction } = trigger;
|
|
58
|
+
const pollingContext = {
|
|
59
|
+
polling: {
|
|
60
|
+
reinvokeFlow: (data, config) => __awaiter(void 0, void 0, void 0, function* () {
|
|
61
|
+
return yield axios_1.default.post(context.invokeUrl, data, config);
|
|
62
|
+
}),
|
|
63
|
+
invokeAction: createInvokePollAction(context, pollAction, {
|
|
64
|
+
inputCleaners,
|
|
65
|
+
errorHandler,
|
|
66
|
+
}),
|
|
67
|
+
getState: () => {
|
|
68
|
+
var _a, _b;
|
|
69
|
+
const castState = (_a = context.instanceState.__prismaticInternal) !== null && _a !== void 0 ? _a : {};
|
|
70
|
+
return (_b = castState.polling) !== null && _b !== void 0 ? _b : {};
|
|
71
|
+
},
|
|
72
|
+
setState: (newState) => {
|
|
73
|
+
var _a;
|
|
74
|
+
const castState = (_a = context.instanceState.__prismaticInternal) !== null && _a !== void 0 ? _a : {};
|
|
75
|
+
context.instanceState.__prismaticInternal = Object.assign(Object.assign({}, castState), { polling: newState });
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
const triggerPerform = (0, exports.createPerform)(trigger.perform, {
|
|
80
|
+
inputCleaners,
|
|
81
|
+
errorHandler,
|
|
82
|
+
});
|
|
83
|
+
const combinedContext = Object.assign({}, context, pollingContext);
|
|
84
|
+
const triggerResponse = yield triggerPerform(combinedContext, payload, params);
|
|
85
|
+
return triggerResponse;
|
|
86
|
+
}
|
|
87
|
+
catch (error) {
|
|
88
|
+
throw errorHandler ? errorHandler(error) : error;
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
};
|
|
92
|
+
exports.createPollingPerform = createPollingPerform;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ActionDefinition, ConnectionDefinition, ComponentDisplayDefinition, TriggerDefinition, DataSourceDefinition } from ".";
|
|
2
|
+
import { PollingTriggerDefinition } from "./PollingTriggerDefinition";
|
|
2
3
|
export type ErrorHandler = (error: unknown) => unknown;
|
|
3
4
|
export interface ComponentHooks {
|
|
4
5
|
/** Defines a global error handler that automatically wraps the component's action/trigger perform functions. */
|
|
@@ -15,7 +16,7 @@ export type ComponentDefinition<TPublic extends boolean, TKey extends string> =
|
|
|
15
16
|
/** Specifies the supported Actions of this Component. */
|
|
16
17
|
actions?: Record<string, ActionDefinition<any, any, boolean, any>>;
|
|
17
18
|
/** Specifies the supported Triggers of this Component. */
|
|
18
|
-
triggers?: Record<string, TriggerDefinition<any, any, boolean, any>>;
|
|
19
|
+
triggers?: Record<string, TriggerDefinition<any, any, boolean, any> | PollingTriggerDefinition<any, any, any, any, any, any>>;
|
|
19
20
|
/** Specifies the supported Data Sources of this Component. */
|
|
20
21
|
dataSources?: Record<string, DataSourceDefinition<any, any, any>>;
|
|
21
22
|
/** Specifies the supported Connections of this Component. */
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AxiosRequestConfig, AxiosResponse } from "axios";
|
|
2
|
+
import type { ActionDisplayDefinition, TriggerEventFunction, Inputs, TriggerResult, ConfigVarResultCollection, TriggerPayload, ActionDefinition, ActionContext, ActionInputParameters } from ".";
|
|
3
|
+
export interface PollingContext<TInputs extends Inputs = Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection> extends ActionContext<TConfigVars> {
|
|
4
|
+
polling: {
|
|
5
|
+
reinvokeFlow: (data?: Record<string, unknown>, config?: AxiosRequestConfig<any>) => Promise<AxiosResponse<any, any>>;
|
|
6
|
+
invokeAction: (params: ActionInputParameters<TInputs>) => Promise<any>;
|
|
7
|
+
getState: () => Record<string, unknown>;
|
|
8
|
+
setState: (newState: Record<string, unknown>) => void;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export type PollingTriggerPerformFunction<TInputs extends Inputs, TActionInputs extends Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TPayload extends TriggerPayload = TriggerPayload, TResult extends TriggerResult<boolean, TPayload> = TriggerResult<boolean, TPayload>> = (context: ActionContext<TConfigVars> & PollingContext<TActionInputs>, payload: TPayload, params: ActionInputParameters<TInputs>) => Promise<TResult>;
|
|
12
|
+
/**
|
|
13
|
+
* PollingTriggerDefinition is the type of the object that is passed in to `pollingTrigger` function to
|
|
14
|
+
* define a component trigger.
|
|
15
|
+
*/
|
|
16
|
+
export type PollingTriggerDefinition<TInputs extends Inputs = Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TPayload extends TriggerPayload = TriggerPayload, TResult extends TriggerResult<boolean, TPayload> = TriggerResult<boolean, TPayload>, TActionInputs extends Inputs = Inputs, TAction extends ActionDefinition<TActionInputs> = ActionDefinition<TActionInputs>, TCombinedInputs extends TInputs & TActionInputs = TInputs & TActionInputs> = {
|
|
17
|
+
triggerType?: "polling";
|
|
18
|
+
/** Defines how the Action is displayed in the Prismatic interface. */
|
|
19
|
+
display: ActionDisplayDefinition;
|
|
20
|
+
/** Defines your trigger's polling behavior. */
|
|
21
|
+
pollAction?: TAction;
|
|
22
|
+
/** Function to perform when this Trigger is invoked. A default perform will be provided for most polling triggers but defining this allows for custom behavior. */
|
|
23
|
+
perform: PollingTriggerPerformFunction<TCombinedInputs, TActionInputs, TConfigVars, TPayload, TResult>;
|
|
24
|
+
/** Function to execute when an Instance of an Integration with a Flow that uses this Trigger is deployed. */
|
|
25
|
+
onInstanceDeploy?: TriggerEventFunction<TInputs, TConfigVars>;
|
|
26
|
+
/** Function to execute when an Instance of an Integration with a Flow that uses this Trigger is deleted. */
|
|
27
|
+
onInstanceDelete?: TriggerEventFunction<TInputs, TConfigVars>;
|
|
28
|
+
/** InputFields to present in the Prismatic interface for configuration of this Trigger. */
|
|
29
|
+
inputs?: TInputs;
|
|
30
|
+
};
|
|
31
|
+
export declare const isPollingTriggerDefinition: (ref: unknown) => ref is PollingTriggerDefinition;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isPollingTriggerDefinition = void 0;
|
|
4
|
+
const isPollingTriggerDefinition = (ref) => typeof ref === "object" && ref !== null && "triggerType" in ref && ref.triggerType === "polling";
|
|
5
|
+
exports.isPollingTriggerDefinition = isPollingTriggerDefinition;
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -63,4 +63,5 @@ __exportStar(require("./FlowAttributes"), exports);
|
|
|
63
63
|
__exportStar(require("./IntegrationDefinition"), exports);
|
|
64
64
|
__exportStar(require("./ComponentManifest"), exports);
|
|
65
65
|
__exportStar(require("./ScopedConfigVars"), exports);
|
|
66
|
+
__exportStar(require("./PollingTriggerDefinition"), exports);
|
|
66
67
|
exports.serverTypes = __importStar(require("../serverTypes"));
|