chore: add pre-built dist folder for npx usage

This commit is contained in:
thesved
2025-12-04 20:22:02 +02:00
committed by Romuald Członkowski
parent a70d96a373
commit 5057481e70
716 changed files with 48021 additions and 0 deletions

42
dist/types/type-structures.d.ts vendored Normal file
View File

@@ -0,0 +1,42 @@
import type { NodePropertyTypes } from 'n8n-workflow';
export interface TypeStructure {
type: 'primitive' | 'object' | 'array' | 'collection' | 'special';
jsType: 'string' | 'number' | 'boolean' | 'object' | 'array' | 'any';
description: string;
structure?: {
properties?: Record<string, TypePropertyDefinition>;
items?: TypePropertyDefinition;
flexible?: boolean;
required?: string[];
};
example: any;
examples?: any[];
validation?: {
allowEmpty?: boolean;
allowExpressions?: boolean;
min?: number;
max?: number;
pattern?: string;
customValidator?: string;
};
introducedIn?: string;
deprecatedIn?: string;
replacedBy?: NodePropertyTypes;
notes?: string[];
}
export interface TypePropertyDefinition {
type: 'string' | 'number' | 'boolean' | 'object' | 'array' | 'any';
description?: string;
required?: boolean;
properties?: Record<string, TypePropertyDefinition>;
items?: TypePropertyDefinition;
example?: any;
enum?: Array<string | number | boolean>;
flexible?: boolean;
}
export type ComplexPropertyType = 'collection' | 'fixedCollection' | 'resourceLocator' | 'resourceMapper' | 'filter' | 'assignmentCollection';
export type PrimitivePropertyType = 'string' | 'number' | 'boolean' | 'dateTime' | 'color' | 'json';
export declare function isComplexType(type: NodePropertyTypes): type is ComplexPropertyType;
export declare function isPrimitiveType(type: NodePropertyTypes): type is PrimitivePropertyType;
export declare function isTypeStructure(value: any): value is TypeStructure;
//# sourceMappingURL=type-structures.d.ts.map