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:
Sheldon Guo 2025-01-21 15:05:29 +08:00 committed by GitHub
parent b79e9035cb
commit 20ae334f4c
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/tar
storage/tmp
storage/print-templates
storage/app.watch.ts
storage/.upgrading
storage/logs-e2e

View File

@ -22,7 +22,7 @@ type ResourceActionOptions<P = any> = {
params?: P;
};
type ResourceAction = (params?: ActionParams) => Promise<any>;
type ResourceAction = (params?: ActionParams, opts?: any) => Promise<any>;
export type IResource = {
[key: string]: ResourceAction;