mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-02 05:23:14 +00:00
Feature/save code (#1222)
* Persist dev projects and auto save on edit Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com> Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
This commit is contained in:
@@ -15,6 +15,7 @@ export const mockPatchData: DataModel = {
|
||||
'pkg-order': [],
|
||||
'ack-welcome': '1.0.0',
|
||||
marketplace: undefined,
|
||||
dev: undefined,
|
||||
},
|
||||
'server-info': {
|
||||
id: 'embassy-abcdefgh',
|
||||
|
||||
@@ -14,6 +14,7 @@ export interface UIData {
|
||||
'pkg-order': string[]
|
||||
'ack-welcome': string // EOS version
|
||||
marketplace: UIMarketplaceData
|
||||
dev: DevData
|
||||
}
|
||||
|
||||
export interface UIMarketplaceData {
|
||||
@@ -26,6 +27,14 @@ export interface UIMarketplaceData {
|
||||
}
|
||||
}
|
||||
|
||||
export interface DevData {
|
||||
[id: string]: {
|
||||
name: string
|
||||
instructions?: string
|
||||
config?: string
|
||||
}
|
||||
}
|
||||
|
||||
export interface ServerInfo {
|
||||
id: string
|
||||
version: string
|
||||
|
||||
Reference in New Issue
Block a user