feat: add local sharing and containerized web/server layout

This commit is contained in:
lofyer
2026-10-01 12:01:44 +08:00
parent 599a0a6645
commit c9d5e63276
51 changed files with 2212 additions and 233 deletions
+27
View File
@@ -0,0 +1,27 @@
export interface DeviceInput {
id: string
name: string
platform: string
appVersion: string
}
export interface Device extends DeviceInput {
registeredAt: string
updatedAt: string
}
export interface PublicationInput {
id: string
deviceId: string
name: string
kind: 'capability' | 'knowledge'
description: string
sourceMode: 'device' | 'server'
permissions: { search: boolean; read: boolean; download: boolean }
}
export interface Publication extends PublicationInput {
status: 'published' | 'revoked'
createdAt: string
updatedAt: string
}