forked from MustangYM/OSXChatGpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f12ed7
commit 7b2efae
Showing
13 changed files
with
249 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// Prompt+CoreDataClass.swift | ||
// OSXChatGPT | ||
// | ||
// Created by CoderChan on 2023/3/27. | ||
// | ||
// | ||
|
||
import Foundation | ||
import CoreData | ||
|
||
|
||
public class Prompt: NSManagedObject { | ||
|
||
} |
48 changes: 48 additions & 0 deletions
48
OSXChatGPT/OSXChatGPT/Models/Prompt+CoreDataProperties.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// | ||
// Prompt+CoreDataProperties.swift | ||
// OSXChatGPT | ||
// | ||
// Created by CoderChan on 2023/3/27. | ||
// | ||
// | ||
|
||
import Foundation | ||
import CoreData | ||
|
||
|
||
extension Prompt { | ||
|
||
@nonobjc public class func fetchRequest() -> NSFetchRequest<Prompt> { | ||
return NSFetchRequest<Prompt>(entityName: "Prompt") | ||
} | ||
|
||
@NSManaged public var title: String? | ||
@NSManaged public var prompt: String? | ||
@NSManaged public var author: String? | ||
@NSManaged public var id: UUID? | ||
@NSManaged public var createdDate: Date? | ||
@NSManaged public var serial: Int64 | ||
@NSManaged public var sesstion: NSSet? | ||
|
||
} | ||
|
||
// MARK: Generated accessors for sesstion | ||
extension Prompt { | ||
|
||
@objc(addSesstionObject:) | ||
@NSManaged public func addToSesstion(_ value: Conversation) | ||
|
||
@objc(removeSesstionObject:) | ||
@NSManaged public func removeFromSesstion(_ value: Conversation) | ||
|
||
@objc(addSesstion:) | ||
@NSManaged public func addToSesstion(_ values: NSSet) | ||
|
||
@objc(removeSesstion:) | ||
@NSManaged public func removeFromSesstion(_ values: NSSet) | ||
|
||
} | ||
|
||
extension Prompt : Identifiable { | ||
|
||
} |
Oops, something went wrong.