mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Convert all enums to const object types in nodes-base (no-changelog) (#14131)
This commit is contained in:
@@ -39,11 +39,14 @@ export interface IFormstackSubmissionFieldContainer {
|
||||
value: string;
|
||||
}
|
||||
|
||||
export const enum FormstackFieldFormat {
|
||||
ID = 'id',
|
||||
Label = 'label',
|
||||
Name = 'name',
|
||||
}
|
||||
export const FormstackFieldFormats = {
|
||||
ID: 'id',
|
||||
Label: 'label',
|
||||
Name: 'name',
|
||||
} as const;
|
||||
|
||||
export type FormstackFieldFormat =
|
||||
(typeof FormstackFieldFormats)[keyof typeof FormstackFieldFormats];
|
||||
|
||||
/**
|
||||
* Make an API request to Formstack
|
||||
|
||||
Reference in New Issue
Block a user