Skip to content

Commit

Permalink
chore: Regen openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Feb 18, 2024
1 parent a0370e7 commit ae0b67a
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 28 deletions.
26 changes: 26 additions & 0 deletions kits/sdk/venice.oas.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 24 additions & 8 deletions kits/sdk/venice.oas.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 22 additions & 20 deletions packages/engine-backend/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,34 +54,36 @@ export interface PipelineInput<
watch?: boolean
}

export const zSyncOptions = z.object({
async: z
.boolean()
.nullish()
.describe(
'Run sync in the background, not compatible with other options for now...',
),
export const zSyncOptions = z
.object({
async: z
.boolean()
.nullish()
.describe(
'Run sync in the background, not compatible with other options for now...',
),

metaOnly: z
.boolean()
.nullish()
.describe('Only sync resource metadata and skip pipelines '),
metaOnly: z
.boolean()
.nullish()
.describe('Only sync resource metadata and skip pipelines '),

fullResync: z
.boolean()
.nullish()
.describe('Remove `state` of pipeline and trigger a full resync'),
fullResync: z
.boolean()
.nullish()
.describe('Remove `state` of pipeline and trigger a full resync'),

todo_upstreamRefresh: z.boolean().nullish().describe(`
todo_upstreamRefresh: z.boolean().nullish().describe(`
Triggers provider to refresh data from its source
https://plaid.com/docs/api/products/transactions/#transactionsrefresh
This may also load historical transactions. For example,
Finicity treats historical transaction as premium service.
`),

// See coda's implmementation. Requires adding a new message to the sync protocol
// to remove all data from a particular source_id
todo_removeUnsyncedData: z.boolean().nullish().describe(`
// See coda's implmementation. Requires adding a new message to the sync protocol
// to remove all data from a particular source_id
todo_removeUnsyncedData: z.boolean().nullish().describe(`
See coda's implmementation. Requires adding a new message to the sync protocol
to remove all data from a particular source_id`),
})
})
.openapi({ref: 'SyncOptions'})

1 comment on commit ae0b67a

@vercel
Copy link

@vercel vercel bot commented on ae0b67a Feb 19, 2024

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

venice – ./

venice-git-production-venice.vercel.app
usevenice.vercel.app
venice-venice.vercel.app

Please sign in to comment.