feat: persist LinkSub topology references
This commit is contained in:
@@ -1,17 +1,7 @@
|
||||
import type { SubshapeRef } from './types'
|
||||
import type { SubshapeRef, TopoRefValue } from './types'
|
||||
import { matchSubshapes, type SubshapeMatch, type SubshapeSignature } from './topologyNaming'
|
||||
|
||||
export type PersistedTopoRef = {
|
||||
schemaVersion: 1
|
||||
objectId: string
|
||||
kind: SubshapeRef['kind']
|
||||
persistentId: string
|
||||
topologyVersion: number
|
||||
generation: number
|
||||
status: NonNullable<SubshapeRef['status']>
|
||||
signature?: string
|
||||
candidates?: string[]
|
||||
}
|
||||
export type PersistedTopoRef = TopoRefValue
|
||||
|
||||
export type TopoRefResolution = {
|
||||
status: 'resolved' | 'ambiguous' | 'deleted'
|
||||
|
||||
Reference in New Issue
Block a user