Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/preferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ export const PreferenceUpdateItem = t.intersection([
value: t.union([t.string, t.null]),
}),
),
/** User birthdate. Optional. Accepted formats: YYYY-MM-DD, YYYY-MM, or MM-YYYY. Format enforcement is in the main repo. */
birthDate: t.string,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noob question -- shouldn't this be in the metadata object?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dipack95 we are moving it to the top level

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was in the metadata object for the initial implementation but we are making it a bit more general beyond just costco.

/** Options to configure the upsert behavior */
options: t.partial({
/**
Expand Down
Loading