UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

32 lines (28 loc) 790 B
/** * Strapi Node - Version 1 * Discriminator: resource=entry, operation=create */ interface Credentials { strapiApi: CredentialReference; strapiTokenApi: CredentialReference; } /** Create an entry */ export type StrapiV1EntryCreateParams = { resource: 'entry'; operation: 'create'; authentication?: 'password' | 'token' | Expression<string>; /** * Name of the content type */ contentType?: string | Expression<string> | PlaceholderValue; /** * Comma-separated list of the properties which should used as columns for the new rows */ columns?: string | Expression<string> | PlaceholderValue; }; export type StrapiV1EntryCreateNode = { type: 'n8n-nodes-base.strapi'; version: 1; credentials?: Credentials; config: NodeConfig<StrapiV1EntryCreateParams>; };