Initial import of LogDarioSeq baseline
Establishes version control for the personal Logseq DB fork before starting the server-client architecture migration and domain features described in docs/agent-guide and the approved implementation plan. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
25
ios/App/ShareViewController/SharedData.swift
Normal file
25
ios/App/ShareViewController/SharedData.swift
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// SharedData.swift
|
||||
// ShareViewController
|
||||
//
|
||||
// Created by Mono Wang on 5/22/23.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
public struct SharedResource: Decodable, Encodable {
|
||||
var name: String?
|
||||
var ext: String?
|
||||
var type: String?
|
||||
var url: URL?
|
||||
}
|
||||
|
||||
public struct SharedData: Decodable, Encodable {
|
||||
var text: String?
|
||||
var resources: [SharedResource]
|
||||
|
||||
mutating func empty() {
|
||||
text = nil
|
||||
resources = []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user