feat(core): store relative path for sessions (#24704)
This commit is contained in:
parent
ea3c6c3481
commit
2c2fc3499b
10 changed files with 1460 additions and 4 deletions
|
|
@ -936,6 +936,7 @@ export type Session = {
|
|||
projectID: string
|
||||
workspaceID?: string
|
||||
directory: string
|
||||
path?: string
|
||||
parentID?: string
|
||||
summary?: {
|
||||
additions: number
|
||||
|
|
@ -1063,6 +1064,7 @@ export type SyncEventSessionUpdated = {
|
|||
projectID?: string | null
|
||||
workspaceID?: string | null
|
||||
directory?: string | null
|
||||
path?: string | null
|
||||
parentID?: string | null
|
||||
summary?: {
|
||||
additions: number
|
||||
|
|
@ -1882,6 +1884,7 @@ export type GlobalSession = {
|
|||
projectID: string
|
||||
workspaceID?: string
|
||||
directory: string
|
||||
path?: string
|
||||
parentID?: string
|
||||
summary?: {
|
||||
additions: number
|
||||
|
|
|
|||
|
|
@ -10154,6 +10154,9 @@
|
|||
"directory": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"parentID": {
|
||||
"type": "string",
|
||||
"pattern": "^ses.*"
|
||||
|
|
@ -10584,6 +10587,16 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"parentID": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
@ -12538,6 +12551,9 @@
|
|||
"directory": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"parentID": {
|
||||
"type": "string",
|
||||
"pattern": "^ses.*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue