Add structures for Installation type
This commit is contained in:
parent
1371a009a8
commit
41dc86436c
|
@ -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"
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue