Skip to content

Commit c476749

Browse files
committed
Add publish boolean parameter for creation of token pools, interfaces, and APIs
Signed-off-by: Chris Bygrave <[email protected]>
1 parent b9ec55a commit c476749

File tree

3 files changed

+1991
-2068
lines changed

3 files changed

+1991
-2068
lines changed

lib/http.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ export function mapConfig(
3636
confirm: options.confirm,
3737
};
3838
}
39+
if ('publish' in options) {
40+
config.params = {
41+
...config.params,
42+
publish: options.publish,
43+
};
44+
}
3945
}
4046
return config;
4147
}

lib/interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export interface FireFlyDeleteOptions extends FireFlyBaseHttpOptions {}
3434

3535
export interface FireFlyCreateOptions extends FireFlyBaseHttpOptions {
3636
confirm?: boolean;
37+
publish?: boolean;
3738
}
3839

3940
export interface FireFlyOptionsInput {

0 commit comments

Comments
 (0)