UNPKG

@kintone/customize-uploader

Version:
46 lines (45 loc) 1.18 kB
import KintoneApiClient from "../KintoneApiClient"; import type { Lang } from "../lang"; export interface Option { watch?: string; lang: Lang; proxy: string; guestSpaceId: number; } export interface Status { retryCount: number; updateBody: any; updated: boolean; } export interface CustomizeManifest { app: string; scope: "ALL" | "ADMIN" | "NONE"; desktop: { js: string[]; css: string[]; }; mobile: { js: string[]; css: string[]; }; } export interface GeneralInputParams { baseUrl: string; username: string | null; password: string | null; oAuthToken: string | null; basicAuthUsername: string | null; basicAuthPassword: string | null; manifestFile: string; } export interface InputParams extends GeneralInputParams { options: Option; } export declare const upload: (kintoneApiClient: KintoneApiClient, manifest: CustomizeManifest, status: { retryCount: number; updateBody: any; updated: boolean; }, options: Option) => Promise<void>; export declare const run: (params: InputParams) => Promise<void>; export * from "./import"; export * from "./init";