Skip to content

Commit

Permalink
✨ rename
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed May 22, 2024
1 parent e42394d commit 13fbc3e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,21 @@ import { SDWebUIA1111Client } from "../client";
import { SDProcessing } from "./SDProcessing";
import { SDWebUIA1111SystemSettings } from "./system.types";

// for typescript
export class OptionsProcess extends SDProcessing<
/**
* SystemSettingProcess
*
* usage:
* ```ts
* const client = new SDWebUIA1111Client();
* const process = new SystemSettingProcess({
* samples_save: true,
* samples_format: "png",
* samples_filename_pattern: "sample",
* });
* await process.request(client);
* ```
*/
export class SystemSettingProcess extends SDProcessing<
Partial<SDWebUIA1111SystemSettings>
> {
request(client: SDWebUIA1111Client) {
Expand Down
2 changes: 1 addition & 1 deletion src/process/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from "./Img2imgProcess";
export * from "./Txt2imgProcess";
export * from "./OptionsProcess";
export * from "./SystemSettingProcess";

export * from "./types";
export * from "./system.types";

0 comments on commit 13fbc3e

Please # to comment.