mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
feat(template-print-support): provide auxiliary support for template printing functionality (#5713) (#6111)
* chore: update .gitignore to exclude print-templates and modify APIClient type definition
This commit is contained in:
parent
b79e9035cb
commit
20ae334f4c
1
.gitignore
vendored
1
.gitignore
vendored
@ -31,6 +31,7 @@ packages/core/app/client/src/.plugins
|
|||||||
storage/plugins
|
storage/plugins
|
||||||
storage/tar
|
storage/tar
|
||||||
storage/tmp
|
storage/tmp
|
||||||
|
storage/print-templates
|
||||||
storage/app.watch.ts
|
storage/app.watch.ts
|
||||||
storage/.upgrading
|
storage/.upgrading
|
||||||
storage/logs-e2e
|
storage/logs-e2e
|
||||||
|
@ -22,7 +22,7 @@ type ResourceActionOptions<P = any> = {
|
|||||||
params?: P;
|
params?: P;
|
||||||
};
|
};
|
||||||
|
|
||||||
type ResourceAction = (params?: ActionParams) => Promise<any>;
|
type ResourceAction = (params?: ActionParams, opts?: any) => Promise<any>;
|
||||||
|
|
||||||
export type IResource = {
|
export type IResource = {
|
||||||
[key: string]: ResourceAction;
|
[key: string]: ResourceAction;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user