@nocobase/plugin-action-import
Version:
Import records using excel templates. You can configure which fields to import and templates will be generated automatically.
25 lines (24 loc) • 742 B
TypeScript
/**
* This file is part of the NocoBase (R) project.
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
* Authors: NocoBase Team.
*
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
* For more information, please refer to: https://www.nocobase.com/agreement.
*/
export declare class ImportValidationError extends Error {
code: string;
params?: Record<string, any>;
constructor(message: string, params?: Record<string, any>);
}
export interface ImportErrorOptions {
rowIndex: number;
rowData: any;
cause?: Error;
}
export declare class ImportError extends Error {
rowIndex: number;
rowData: any;
cause?: Error;
constructor(message: string, options: ImportErrorOptions);
}