mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-04 14:29:47 +00:00
chore: don't allow null default
This commit is contained in:
80
types.ts
80
types.ts
@@ -75,12 +75,12 @@ export type Effects = {
|
|||||||
|
|
||||||
fetch(url: string, options?: {
|
fetch(url: string, options?: {
|
||||||
method?:
|
method?:
|
||||||
| "GET"
|
| "GET"
|
||||||
| "POST"
|
| "POST"
|
||||||
| "PUT"
|
| "PUT"
|
||||||
| "DELETE"
|
| "DELETE"
|
||||||
| "HEAD"
|
| "HEAD"
|
||||||
| "PATCH";
|
| "PATCH";
|
||||||
headers?: Record<string, string>;
|
headers?: Record<string, string>;
|
||||||
body?: string;
|
body?: string;
|
||||||
}): Promise<{
|
}): Promise<{
|
||||||
@@ -137,7 +137,7 @@ export type ConfigSpec = {
|
|||||||
[configValue: string]: ValueSpecAny;
|
[configValue: string]: ValueSpecAny;
|
||||||
};
|
};
|
||||||
export type WithDefault<T, Default> = T & {
|
export type WithDefault<T, Default> = T & {
|
||||||
default?: Default;
|
default: Default;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type WithDescription<T> = T & {
|
export type WithDescription<T> = T & {
|
||||||
@@ -334,39 +334,39 @@ export type ValueSpecEnum = {
|
|||||||
export type SetResult = {
|
export type SetResult = {
|
||||||
/** These are the unix process signals */
|
/** These are the unix process signals */
|
||||||
signal:
|
signal:
|
||||||
| "SIGTERM"
|
| "SIGTERM"
|
||||||
| "SIGHUP"
|
| "SIGHUP"
|
||||||
| "SIGINT"
|
| "SIGINT"
|
||||||
| "SIGQUIT"
|
| "SIGQUIT"
|
||||||
| "SIGILL"
|
| "SIGILL"
|
||||||
| "SIGTRAP"
|
| "SIGTRAP"
|
||||||
| "SIGABRT"
|
| "SIGABRT"
|
||||||
| "SIGBUS"
|
| "SIGBUS"
|
||||||
| "SIGFPE"
|
| "SIGFPE"
|
||||||
| "SIGKILL"
|
| "SIGKILL"
|
||||||
| "SIGUSR1"
|
| "SIGUSR1"
|
||||||
| "SIGSEGV"
|
| "SIGSEGV"
|
||||||
| "SIGUSR2"
|
| "SIGUSR2"
|
||||||
| "SIGPIPE"
|
| "SIGPIPE"
|
||||||
| "SIGALRM"
|
| "SIGALRM"
|
||||||
| "SIGSTKFLT"
|
| "SIGSTKFLT"
|
||||||
| "SIGCHLD"
|
| "SIGCHLD"
|
||||||
| "SIGCONT"
|
| "SIGCONT"
|
||||||
| "SIGSTOP"
|
| "SIGSTOP"
|
||||||
| "SIGTSTP"
|
| "SIGTSTP"
|
||||||
| "SIGTTIN"
|
| "SIGTTIN"
|
||||||
| "SIGTTOU"
|
| "SIGTTOU"
|
||||||
| "SIGURG"
|
| "SIGURG"
|
||||||
| "SIGXCPU"
|
| "SIGXCPU"
|
||||||
| "SIGXFSZ"
|
| "SIGXFSZ"
|
||||||
| "SIGVTALRM"
|
| "SIGVTALRM"
|
||||||
| "SIGPROF"
|
| "SIGPROF"
|
||||||
| "SIGWINCH"
|
| "SIGWINCH"
|
||||||
| "SIGIO"
|
| "SIGIO"
|
||||||
| "SIGPWR"
|
| "SIGPWR"
|
||||||
| "SIGSYS"
|
| "SIGSYS"
|
||||||
| "SIGEMT"
|
| "SIGEMT"
|
||||||
| "SIGINFO";
|
| "SIGINFO";
|
||||||
"depends-on": DependsOn;
|
"depends-on": DependsOn;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user