@integration-app/sdk
Advanced tools
Comparing version 0.16.16 to 0.16.17
import { AppEventType, AppEventSubscription } from '.'; | ||
import { IntegrationAppClient } from '..'; | ||
import { ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor } from '../accessors'; | ||
import { AppEventSubscriptionSelector, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, UpdateAppEventSubscriptionRequest, UpdateAppEventTypeRequest } from './api'; | ||
import { AppEventSubscriptionSelector, CreateAppEventTypeRequest, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, IAppEventSubscriptionUpdate, UpdateAppEventTypeRequest } from './api'; | ||
export declare class AppEventTypesAccessor extends ElementListAccessor<AppEventType, FindAppEventTypesQuery, CreateAppEventTypeRequest> { | ||
@@ -14,4 +14,4 @@ constructor(client: IntegrationAppClient); | ||
} | ||
export declare class AppEventSubscriptionAccessor extends ElementInstanceAccessor<AppEventSubscription, AppEventSubscriptionSelector, CreateAppEventSubscriptionRequest, UpdateAppEventSubscriptionRequest> { | ||
export declare class AppEventSubscriptionAccessor extends ElementInstanceAccessor<AppEventSubscription, AppEventSubscriptionSelector, IAppEventSubscriptionUpdate, IAppEventSubscriptionUpdate> { | ||
constructor(client: IntegrationAppClient, selector: string | AppEventSubscriptionSelector); | ||
} |
@@ -7,3 +7,3 @@ "use strict"; | ||
constructor(client) { | ||
super(client, 'app-data-collections'); | ||
super(client, 'app-event-subscriptions'); | ||
} | ||
@@ -16,3 +16,3 @@ } | ||
client, | ||
path: 'app-data-collections', | ||
path: 'app-event-subscriptions', | ||
idOrKey, | ||
@@ -25,3 +25,3 @@ }); | ||
constructor(client) { | ||
super(client, 'app-data-collection-instances'); | ||
super(client, 'app-event-subscriptions'); | ||
} | ||
@@ -34,4 +34,4 @@ } | ||
client, | ||
listPath: 'app-data-collection-instances', | ||
selectorPath: 'app-data-collection-instance', | ||
listPath: 'app-event-subscriptions', | ||
selectorPath: 'app-event-subscription', | ||
selector, | ||
@@ -38,0 +38,0 @@ }); |
@@ -1,2 +0,2 @@ | ||
import { AppEventType, AppEventSubscription } from '.'; | ||
import { AppEventType } from '.'; | ||
import { PaginationQuery } from '../entity-repository'; | ||
@@ -8,7 +8,10 @@ export declare type CreateAppEventTypeRequest = Omit<AppEventType, 'id' | 'userId'>; | ||
export interface AppEventSubscriptionSelector { | ||
appDataCollectionId?: string; | ||
id?: string; | ||
appEventTypeKey?: string; | ||
appEventTypeId?: string; | ||
instanceKey?: string; | ||
autoCreate?: boolean; | ||
} | ||
export declare type CreateAppEventSubscriptionRequest = Omit<AppEventSubscription, 'id' | 'userId'>; | ||
export declare type UpdateAppEventSubscriptionRequest = CreateAppEventSubscriptionRequest; | ||
export interface IAppEventSubscriptionUpdate { | ||
} | ||
export interface FindAppEventSubscriptionsQuery extends PaginationQuery { | ||
@@ -15,0 +18,0 @@ userId?: string; |
import { IntegrationAppClient } from '..'; | ||
import { DataLink, DataLinkTable, DataLinkTableInstance } from '.'; | ||
import { CreateDataLinkTableInstanceRequest, CreateDataLinkTableRequest, DataLinkInTableSelector, DataLinkTableInstanceSelector, FindDataLinksInTableQuery, FindDataLinksResponse, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, UpdateDataLinkTableInstanceRequest, UpdateDataLinkTableRequest } from './api'; | ||
import { CreateDataLinkTableRequest, DataLinkInTableSelector, DataLinkTableInstanceSelector, FindDataLinksInTableQuery, FindDataLinksResponse, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, IDataLinkTableInstanceUpdate, UpdateDataLinkTableRequest } from './api'; | ||
import { ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor } from '../accessors'; | ||
@@ -14,3 +14,3 @@ export declare class DataLinkTablesAccessor extends ElementListAccessor<DataLinkTable, FindDataLinkTablesQuery, CreateDataLinkTableRequest> { | ||
} | ||
export declare class DataLinkTableInstanceAccessor extends ElementInstanceAccessor<DataLinkTableInstance, DataLinkTableInstanceSelector, CreateDataLinkTableInstanceRequest, UpdateDataLinkTableInstanceRequest> { | ||
export declare class DataLinkTableInstanceAccessor extends ElementInstanceAccessor<DataLinkTableInstance, DataLinkTableInstanceSelector, IDataLinkTableInstanceUpdate, IDataLinkTableInstanceUpdate> { | ||
private client; | ||
@@ -17,0 +17,0 @@ constructor(client: IntegrationAppClient, selector: string | DataLinkTableInstanceSelector); |
@@ -17,2 +17,3 @@ import { DataLink, DataLinkDirection, DataLinkTable, DataLinkTableInstance } from '.'; | ||
export interface DataLinkTableInstanceSelector extends ConnectionSelector { | ||
id?: string; | ||
dataLinkTableId?: string; | ||
@@ -22,7 +23,4 @@ dataLinkTableKey?: string; | ||
} | ||
export interface CreateDataLinkTableInstanceRequest { | ||
name?: string; | ||
export interface IDataLinkTableInstanceUpdate { | ||
} | ||
export interface UpdateDataLinkTableInstanceRequest extends CreateDataLinkTableInstanceRequest { | ||
} | ||
export interface FindDataLinksInTableQuery extends PaginationQuery { | ||
@@ -29,0 +27,0 @@ direction?: DataLinkDirection; |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'API Trigger', | ||
@@ -6,0 +6,0 @@ description: 'Launch flow via API', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'App Event Trigger', | ||
@@ -6,0 +6,0 @@ description: 'Trigger flow when a matching App Event is received', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Create Data Link', | ||
@@ -6,0 +6,0 @@ description: 'Link records between your app and external app', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Create Data Record', | ||
@@ -6,0 +6,0 @@ description: 'Create a new data record in a collection', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Data Record Created Trigger', | ||
@@ -6,0 +6,0 @@ description: 'Launch flow when a data record is created in a remote data collection', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Data Record Deleted Trigger', | ||
@@ -6,0 +6,0 @@ description: 'Launch flow when a data record is deleted in a remote data collection', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Data Record Updated Trigger', | ||
@@ -6,0 +6,0 @@ description: 'Launch flow when a data record is updated in a remote data collection', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Delete Data Record', | ||
@@ -6,0 +6,0 @@ description: 'Delete a new data record from a collection using its id', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Filter', | ||
@@ -6,0 +6,0 @@ description: 'Filter records that go forward through the flow', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Find Data Link', | ||
@@ -6,0 +6,0 @@ description: 'Find a link between records in your app and external app', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Find Data Record By Id', | ||
@@ -6,0 +6,0 @@ description: 'Find a single data record by id', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Find Data Records', | ||
@@ -6,0 +6,0 @@ description: 'Find records in a data collection by their field values', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Http Request', | ||
@@ -6,0 +6,0 @@ description: 'Send an arbitrary HTTP/S request', |
@@ -0,1 +1,3 @@ | ||
import { FlowNodeSpec } from './base'; | ||
export { FlowNodeSpec } from './base'; | ||
export declare enum FlowNodeType { | ||
@@ -21,11 +23,2 @@ ApiTrigger = "api-trigger", | ||
} | ||
export interface FlowNodeSpec { | ||
name: string; | ||
description: string; | ||
isTrigger?: boolean; | ||
isDeprecated?: boolean; | ||
} | ||
export declare class FlowNodeSpec implements FlowNodeSpec { | ||
constructor(args: FlowNodeSpec); | ||
} | ||
export declare const FLOW_NODE_SPECS: Record<FlowNodeType, FlowNodeSpec>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FLOW_NODE_SPECS = exports.FlowNodeSpec = exports.FlowNodeType = void 0; | ||
exports.FLOW_NODE_SPECS = exports.FlowNodeType = exports.FlowNodeSpec = void 0; | ||
var base_1 = require("./base"); | ||
Object.defineProperty(exports, "FlowNodeSpec", { enumerable: true, get: function () { return base_1.FlowNodeSpec; } }); | ||
var FlowNodeType; | ||
@@ -25,8 +27,2 @@ (function (FlowNodeType) { | ||
})(FlowNodeType = exports.FlowNodeType || (exports.FlowNodeType = {})); | ||
class FlowNodeSpec { | ||
constructor(args) { | ||
Object.assign(this, args); | ||
} | ||
} | ||
exports.FlowNodeSpec = FlowNodeSpec; | ||
exports.FLOW_NODE_SPECS = { | ||
@@ -33,0 +29,0 @@ [FlowNodeType.ApiTrigger]: require('./api-trigger').default, |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'List Data Records', | ||
@@ -6,0 +6,0 @@ description: 'List all records from a data collection with an optional filter', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Lookup Data Record', | ||
@@ -6,0 +6,0 @@ description: 'Find a one data record by its fields', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Schedule Trigger', | ||
@@ -6,0 +6,0 @@ description: 'Run flow on schedule', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Transform Data', | ||
@@ -6,0 +6,0 @@ description: 'Create a data structure of any shape by combining and transforming inputs', |
@@ -1,3 +0,3 @@ | ||
import { FlowNodeSpec } from '.'; | ||
import { FlowNodeSpec } from './base'; | ||
declare const _default: FlowNodeSpec; | ||
export default _default; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const _1 = require("."); | ||
exports.default = new _1.FlowNodeSpec({ | ||
const base_1 = require("./base"); | ||
exports.default = new base_1.FlowNodeSpec({ | ||
name: 'Update Data Record', | ||
@@ -6,0 +6,0 @@ description: 'Update a new data record in a collection using its id', |
{ | ||
"name": "@integration-app/sdk", | ||
"version": "0.16.16", | ||
"version": "0.16.17", | ||
"description": "JavaScript SDK for Integration.app", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,7 +11,6 @@ import { AppEventType, AppEventSubscription } from '.' | ||
AppEventSubscriptionSelector, | ||
CreateAppEventSubscriptionRequest, | ||
CreateAppEventTypeRequest, | ||
FindAppEventSubscriptionsQuery, | ||
FindAppEventTypesQuery, | ||
UpdateAppEventSubscriptionRequest, | ||
IAppEventSubscriptionUpdate, | ||
UpdateAppEventTypeRequest, | ||
@@ -26,3 +25,3 @@ } from './api' | ||
constructor(client: IntegrationAppClient) { | ||
super(client, 'app-data-collections') | ||
super(client, 'app-event-subscriptions') | ||
} | ||
@@ -39,3 +38,3 @@ } | ||
client, | ||
path: 'app-data-collections', | ||
path: 'app-event-subscriptions', | ||
idOrKey, | ||
@@ -51,3 +50,3 @@ }) | ||
constructor(client: IntegrationAppClient) { | ||
super(client, 'app-data-collection-instances') | ||
super(client, 'app-event-subscriptions') | ||
} | ||
@@ -59,4 +58,4 @@ } | ||
AppEventSubscriptionSelector, | ||
CreateAppEventSubscriptionRequest, | ||
UpdateAppEventSubscriptionRequest | ||
IAppEventSubscriptionUpdate, | ||
IAppEventSubscriptionUpdate | ||
> { | ||
@@ -69,4 +68,4 @@ constructor( | ||
client, | ||
listPath: 'app-data-collection-instances', | ||
selectorPath: 'app-data-collection-instance', | ||
listPath: 'app-event-subscriptions', | ||
selectorPath: 'app-event-subscription', | ||
selector, | ||
@@ -73,0 +72,0 @@ }) |
@@ -1,2 +0,2 @@ | ||
import { AppEventType, AppEventSubscription } from '.' | ||
import { AppEventType } from '.' | ||
import { PaginationQuery } from '../entity-repository' | ||
@@ -11,14 +11,15 @@ | ||
export interface AppEventSubscriptionSelector { | ||
appDataCollectionId?: string | ||
id?: string | ||
appEventTypeKey?: string | ||
appEventTypeId?: string | ||
instanceKey?: string | ||
autoCreate?: boolean | ||
} | ||
export type CreateAppEventSubscriptionRequest = Omit< | ||
AppEventSubscription, | ||
'id' | 'userId' | ||
> | ||
export interface IAppEventSubscriptionUpdate {} | ||
export type UpdateAppEventSubscriptionRequest = | ||
CreateAppEventSubscriptionRequest | ||
export interface FindAppEventSubscriptionsQuery extends PaginationQuery { | ||
@@ -25,0 +26,0 @@ userId?: string |
import { IntegrationAppClient } from '..' | ||
import { DataLink, DataLinkTable, DataLinkTableInstance } from '.' | ||
import { | ||
CreateDataLinkTableInstanceRequest, | ||
CreateDataLinkTableRequest, | ||
@@ -12,3 +11,3 @@ DataLinkInTableSelector, | ||
FindDataLinkTablesQuery, | ||
UpdateDataLinkTableInstanceRequest, | ||
IDataLinkTableInstanceUpdate, | ||
UpdateDataLinkTableRequest, | ||
@@ -60,4 +59,4 @@ } from './api' | ||
DataLinkTableInstanceSelector, | ||
CreateDataLinkTableInstanceRequest, | ||
UpdateDataLinkTableInstanceRequest | ||
IDataLinkTableInstanceUpdate, | ||
IDataLinkTableInstanceUpdate | ||
> { | ||
@@ -64,0 +63,0 @@ constructor( |
@@ -28,3 +28,6 @@ import { | ||
export interface DataLinkTableInstanceSelector extends ConnectionSelector { | ||
id?: string | ||
dataLinkTableId?: string | ||
dataLinkTableKey?: string | ||
@@ -35,9 +38,4 @@ | ||
export interface CreateDataLinkTableInstanceRequest { | ||
name?: string | ||
} | ||
export interface IDataLinkTableInstanceUpdate {} | ||
export interface UpdateDataLinkTableInstanceRequest | ||
extends CreateDataLinkTableInstanceRequest {} | ||
export interface FindDataLinksInTableQuery extends PaginationQuery { | ||
@@ -44,0 +42,0 @@ direction?: DataLinkDirection |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -0,1 +1,5 @@ | ||
import { FlowNodeSpec } from './base' | ||
export { FlowNodeSpec } from './base' | ||
export enum FlowNodeType { | ||
@@ -26,15 +30,2 @@ ApiTrigger = 'api-trigger', | ||
export interface FlowNodeSpec { | ||
name: string | ||
description: string | ||
isTrigger?: boolean | ||
isDeprecated?: boolean | ||
} | ||
export class FlowNodeSpec implements FlowNodeSpec { | ||
constructor(args: FlowNodeSpec) { | ||
Object.assign(this, args) | ||
} | ||
} | ||
export const FLOW_NODE_SPECS: Record<FlowNodeType, FlowNodeSpec> = { | ||
@@ -41,0 +32,0 @@ [FlowNodeType.ApiTrigger]: require('./api-trigger').default, |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
@@ -1,2 +0,2 @@ | ||
import { FlowNodeSpec } from '.' | ||
import { FlowNodeSpec } from './base' | ||
@@ -3,0 +3,0 @@ export default new FlowNodeSpec({ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3716624
590
48729