refactor(core): remove unused console state model (#39972)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
This commit is contained in:
parent
6c567dc745
commit
3b6ab392ac
1 changed files with 0 additions and 16 deletions
|
|
@ -1,16 +0,0 @@
|
||||||
export * as ConfigConsoleStateV1 from "./console-state"
|
|
||||||
|
|
||||||
import { Schema } from "effect"
|
|
||||||
import { NonNegativeInt } from "../../schema"
|
|
||||||
|
|
||||||
export class ConsoleState extends Schema.Class<ConsoleState>("ConsoleState")({
|
|
||||||
consoleManagedProviders: Schema.mutable(Schema.Array(Schema.String)),
|
|
||||||
activeOrgName: Schema.optional(Schema.String),
|
|
||||||
switchableOrgCount: NonNegativeInt,
|
|
||||||
}) {}
|
|
||||||
|
|
||||||
export const emptyConsoleState: ConsoleState = ConsoleState.make({
|
|
||||||
consoleManagedProviders: [],
|
|
||||||
activeOrgName: undefined,
|
|
||||||
switchableOrgCount: 0,
|
|
||||||
})
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue