Add structures for Installation type

This commit is contained in:
Rory Powell 2023-07-14 09:21:23 +01:00
parent 166156d3b5
commit 8cdfc8dd83
2 changed files with 11 additions and 0 deletions

View File

@ -2,6 +2,7 @@ export * from "./common"
export * as accounts from "./accounts"
export * as apps from "./apps"
export * as db from "./db"
export * as installation from "./installation"
export * as koa from "./koa"
export * as licenses from "./licenses"
export * as plugins from "./plugins"

View File

@ -0,0 +1,10 @@
import { generator } from "@budibase/backend-core/tests"
import { Installation } from "@budibase/types"
export function install(): Installation {
return {
_id: "install",
installId: generator.guid(),
version: generator.string()
}
}