Skip to content

Commit 40aff84

Browse files
authored
Merge pull request #274 from KC-2001MS/fix/draft-defs-nsid-typo
Fix draft record path from app.bsky.drafts.~ to app.bsky.draft.~
2 parents 4994d03 + d4b00c8 commit 40aff84

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Sources/ATProtoKit/Models/Lexicons/app.bsky/Draft/AppBskyDraftDefs.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extension AppBskyLexicon.Draft {
1919
/// The identifier of the lexicon.
2020
///
2121
/// - Warning: The value must not change.
22-
public static let type: String = "app.bsky.drafts.defs#draftWithId"
22+
public static let type: String = "app.bsky.draft.defs#draftWithId"
2323

2424
/// A TID to be used as a draft identifier.
2525
public let tid: String
@@ -64,7 +64,7 @@ extension AppBskyLexicon.Draft {
6464
/// The identifier of the lexicon.
6565
///
6666
/// - Warning: The value must not change.
67-
public static let type: String = "app.bsky.drafts.defs#draft"
67+
public static let type: String = "app.bsky.draft.defs#draft"
6868

6969
/// UUIDv4 identifier of the device that created this draft. Optional.
7070
///
@@ -249,7 +249,7 @@ extension AppBskyLexicon.Draft {
249249
/// The identifier of the lexicon.
250250
///
251251
/// - Warning: The value must not change.
252-
public static let type: String = "app.bsky.drafts.defs#draftPost"
252+
public static let type: String = "app.bsky.draft.defs#draftPost"
253253

254254
/// The primary post content.
255255
///
@@ -381,7 +381,7 @@ extension AppBskyLexicon.Draft {
381381
/// The identifier of the lexicon.
382382
///
383383
/// - Warning: The value must not change.
384-
public static let type: String = "app.bsky.drafts.defs#draftView"
384+
public static let type: String = "app.bsky.draft.defs#draftView"
385385

386386
/// A TID to be used as a draft identifier.
387387
public let tid: String
@@ -588,7 +588,7 @@ extension AppBskyLexicon.Draft {
588588
/// The identifier of the lexicon.
589589
///
590590
/// - Warning: The value must not change.
591-
public static let type: String = "app.bsky.drafts.defs#draftEmbedImage"
591+
public static let type: String = "app.bsky.draft.defs#draftEmbedImage"
592592

593593
/// A reference to the image, local to the drafting device
594594
public let localRef: DraftEmbedLocalReferenceDefinition

0 commit comments

Comments
 (0)