feat(template-print-support): provide auxiliary support for template printing functionality (#5713)

* chore: update .gitignore to exclude print-templates and modify APIClient type definition
This commit is contained in:
Sheldon Guo 2024-12-09 17:03:44 +08:00 committed by GitHub
parent 504b665d72
commit 1a6a5446a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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;