mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
chore: Update the config builder
This commit is contained in:
@@ -225,12 +225,11 @@ export class StartSdk<Manifest extends SDKManifest, Store, Vault> {
|
||||
setupBackups<Manifest>(...args),
|
||||
setupConfig: <
|
||||
ConfigType extends
|
||||
| Record<string, any>
|
||||
| Config<any, any, any>
|
||||
| Config<any, Store, Vault>
|
||||
| Config<any, never, never>,
|
||||
Type extends Record<string, any> = ExtractConfigType<ConfigType>,
|
||||
>(
|
||||
spec: Config<Type, Store, Vault> | Config<Type, never, never>,
|
||||
spec: ConfigType,
|
||||
write: Save<Store, Vault, Type, Manifest>,
|
||||
read: Read<Store, Vault, Type>,
|
||||
) =>
|
||||
|
||||
Reference in New Issue
Block a user