@kintone/dts-gen
Version:
Types for kintone js api and Types generating tools
23 lines (22 loc) • 666 B
TypeScript
export interface FetchFormPropertiesInput {
appId: string;
preview: boolean | false;
guestSpaceId: string | null;
}
export interface FieldType {
type: string;
code: string;
relatedApp?: string;
}
export interface SubTableFieldType {
code: string;
type: string;
fields: FieldNameAndFieldOrSubTableField;
}
export declare type FieldTypeOrSubTableFieldType = FieldType | SubTableFieldType;
export declare type FieldNameAndFieldOrSubTableField = {
[key: string]: FieldTypeOrSubTableFieldType;
};
export interface FormsClient {
fetchFormProperties(input: FetchFormPropertiesInput): Promise<FieldNameAndFieldOrSubTableField>;
}