updated plasmic package to work with new hooks + added example

This commit is contained in:
dswbx committed 2024-12-18 08:41:11 +01:00
1 parent 1631bbb754
commit c4138ef823
34 files changed
+491 -334

No files matched your search

+4
View File
@@ -16,6 +16,10 @@ export class SystemApi extends ModuleApi<any> {
};
}
readConfig() {
return this.get<{ version: number } & ModuleConfigs>("config");
}
readSchema(options?: { config?: boolean; secrets?: boolean }) {
return this.get<ApiSchemaResponse>("schema", {
config: options?.config ? 1 : 0,