mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
23 lines
506 B
TypeScript
23 lines
506 B
TypeScript
import { Config } from "../config/builder/config"
|
|
import { SDKManifest } from "../manifest/ManifestTypes"
|
|
import { DependencyConfig } from "./DependencyConfig"
|
|
|
|
export function setupDependencyConfig<
|
|
Store,
|
|
Vault,
|
|
Input extends Record<string, any>,
|
|
Manifest extends SDKManifest,
|
|
>(
|
|
_config: Config<Input, Store, Vault>,
|
|
autoConfigs: {
|
|
[key in keyof Manifest["dependencies"] & string]: DependencyConfig<
|
|
Store,
|
|
Vault,
|
|
Input,
|
|
any
|
|
>
|
|
},
|
|
) {
|
|
return autoConfigs
|
|
}
|