Skip to content

Commit

Permalink
feat(notes): update GraphQl schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Gio2018 committed Jan 29, 2025
1 parent e83505f commit cce9819
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public struct EditNoteTitleInput: InputObject {

public init(
id: ID,
title: String,
title: GraphQLNullable<String> = nil,
updatedAt: GraphQLNullable<ISOString> = nil
) {
__data = InputDict([
Expand All @@ -28,8 +28,9 @@ public struct EditNoteTitleInput: InputObject {
set { __data["id"] = newValue }
}

/// The new title for the note (can be an empty string)
public var title: String {
/// The new title for the note. If null, sets the title
/// field to null (deletes it).
public var title: GraphQLNullable<String> {
get { __data["title"] }
set { __data["title"] = newValue }
}
Expand Down

0 comments on commit cce9819

Please sign in to comment.