UNPKG

kintone-as-code

Version:

A CLI tool for managing kintone applications as code with type-safe TypeScript schemas

116 lines 4.2 kB
import type { AnyFieldProperties } from 'kintone-effect-schema'; export declare const mockConfig: { default: string; environments: { development: { auth: { baseUrl: string; username: string; password: string; }; }; production: { auth: { baseUrl: string; username: string; password: string; }; }; }; }; export declare const mockSingleLineTextField: AnyFieldProperties; export declare const mockNumberField: AnyFieldProperties; export declare const mockSchema: { appId: string; name: string; description: string; fieldsConfig: { properties: { testField: { readonly type: string; readonly code: string; readonly label: string; readonly noLabel?: boolean | undefined; readonly required?: boolean | undefined; } & { readonly type: "SINGLE_LINE_TEXT"; readonly defaultValue: string; readonly unique?: boolean | undefined; readonly minLength: string; readonly maxLength: string; readonly expression?: string | undefined; readonly hideExpression?: boolean | undefined; readonly lookup?: { readonly relatedApp: { readonly code?: string | undefined; readonly app: string; }; readonly relatedKeyField: string; readonly fieldMappings?: "" | readonly { readonly field: string; readonly relatedField: string; }[] | undefined; readonly lookupPickerFields?: "" | readonly string[] | undefined; readonly filterCond?: string | undefined; readonly sort?: string | undefined; } | undefined; }; numberField: { readonly type: string; readonly code: string; readonly label: string; readonly noLabel?: boolean | undefined; readonly required?: boolean | undefined; } & { readonly type: "NUMBER"; readonly defaultValue: string; readonly unique?: boolean | undefined; readonly lookup?: { readonly relatedApp: { readonly code?: string | undefined; readonly app: string; }; readonly relatedKeyField: string; readonly fieldMappings?: "" | readonly { readonly field: string; readonly relatedField: string; }[] | undefined; readonly lookupPickerFields?: "" | readonly string[] | undefined; readonly filterCond?: string | undefined; readonly sort?: string | undefined; } | undefined; readonly minValue: string; readonly maxValue: string; readonly digit?: boolean | undefined; readonly displayScale: string; readonly unit: string; readonly unitPosition?: "BEFORE" | "AFTER" | undefined; }; }; }; }; export declare const mockFormFieldsResponse: { properties: { レコード番号: { type: string; code: string; label: string; noLabel: boolean; }; testField: { type: string; code: string; label: string; noLabel: boolean; required: boolean; defaultValue: string; unique: boolean; minLength: string; maxLength: string; expression: string; hideExpression: boolean; }; }; revision: string; }; //# sourceMappingURL=fixtures.d.ts.map