mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
feat: creating the rest of the sdk
This commit is contained in:
@@ -28,19 +28,12 @@ function isString(x: unknown): x is string {
|
||||
|
||||
export default async function makeFileContentFromOld(
|
||||
inputData: Promise<any> | any,
|
||||
{
|
||||
startSdk = "start-sdk",
|
||||
nested = true,
|
||||
wrapperData = "../../wrapperData",
|
||||
} = {},
|
||||
{ startSdk = "start-sdk", nested = true } = {},
|
||||
) {
|
||||
const outputLines: string[] = []
|
||||
outputLines.push(`
|
||||
import { Config } from "${startSdk}/lib/config/builder/config"
|
||||
import { List } from "${startSdk}/lib/config/builder/list"
|
||||
import { Value } from "${startSdk}/lib/config/builder/value"
|
||||
import { Variants } from "${startSdk}/lib/config/builder/variants"
|
||||
import {WrapperData} from '${wrapperData}'
|
||||
import { sdk } from "${startSdk}"
|
||||
const {Config, List, Value, Variants} = sdk
|
||||
`)
|
||||
const data = await inputData
|
||||
|
||||
|
||||
Reference in New Issue
Block a user