n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 657 B
text/typescript
/**
* Cockpit Node - Version 1
* Discriminator: resource=singleton, operation=get
*/
interface Credentials {
cockpitApi: CredentialReference;
}
/** Get a singleton */
export type CockpitV1SingletonGetParams = {
resource: 'singleton';
operation: 'get';
/**
* Name of the singleton to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
singleton?: string | Expression<string>;
};
export type CockpitV1SingletonGetNode = {
type: 'n8n-nodes-base.cockpit';
version: 1;
credentials?: Credentials;
config: NodeConfig<CockpitV1SingletonGetParams>;
};