Skip to content

Commit

Permalink
fix(typings): update DatasetsResponse (#590)
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Olsen <81981+stipsan@users.noreply.github.com>
  • Loading branch information
stipsan authored Feb 23, 2024
1 parent d1b0bca commit f303f41
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,16 @@ export type DatasetAclMode = 'public' | 'private' | 'custom'
/** @internal */
export type DatasetResponse = {datasetName: string; aclMode: DatasetAclMode}
/** @internal */
export type DatasetsResponse = {name: string; aclMode: DatasetAclMode}[]
export type DatasetsResponse = {
name: string
aclMode: DatasetAclMode
createdAt: string
createdByUserId: string
addonFor: string | null
datasetProfile: string
features: string[]
tags: string[]
}[]

/** @internal */
export interface SanityProjectMember {
Expand Down

0 comments on commit f303f41

Please sign in to comment.