Add structures for Installation type
This commit is contained in:
parent
166156d3b5
commit
8cdfc8dd83
|
@ -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