Skip to content

Commit d1015a4

Browse files
authored
Merge pull request #20 from seamapi/undo-overrides
2 parents f3ea504 + caffc15 commit d1015a4

File tree

8 files changed

+817
-817
lines changed

8 files changed

+817
-817
lines changed

.eslintrc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,15 @@
5858
"@typescript-eslint/no-unused-vars": "off"
5959
}
6060
},
61+
{
62+
"files": ["src/lib/seam/connect/route-types.ts"],
63+
"rules": {
64+
"@typescript-eslint/ban-types": "off"
65+
}
66+
},
6167
{
6268
"files": ["src/lib/seam/connect/**/*.ts"],
6369
"rules": {
64-
"@typescript-eslint/ban-types": "off",
6570
"@typescript-eslint/naming-convention": "off",
6671
"node/file-extension-in-import": [
6772
"error",

src/lib/seam/.prettierrc.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/lib/seam/connect/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import * as schemas from "./schemas.js"
1+
import * as schemas from './schemas.js'
22

33
export { schemas }
44

5-
export * from "./model-types.js"
6-
export { default as openapi } from "./openapi.js"
5+
export * from './model-types.js'
6+
export { default as openapi } from './openapi.js'
77
// UPSTREAM: Reserve this named export until nextlove is able to generate this.
88
export const routes = {}

src/lib/seam/connect/model-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export type { ConnectWebview } from "./models/index.js"
1+
export type { ConnectWebview } from './models/index.js'
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import { z } from "zod"
1+
import { z } from 'zod'
22

33
export const connect_webview = z.object({
44
connect_webview_id: z.string().uuid(),
55
connected_account_id: z.string().uuid().optional(),
66
url: z.string().url(),
77
workspace_id: z.string().uuid(),
8-
device_selection_mode: z.enum(["none", "single", "multiple"]),
8+
device_selection_mode: z.enum(['none', 'single', 'multiple']),
99
accepted_providers: z.array(z.string()),
1010
accepted_devices: z.array(z.string()),
1111
any_provider_allowed: z.boolean(),
1212
any_device_allowed: z.boolean(),
1313
created_at: z.string().datetime(),
1414
login_successful: z.boolean(),
15-
status: z.enum(["pending", "failed", "authorized"]),
15+
status: z.enum(['pending', 'failed', 'authorized']),
1616
})
1717

1818
export type ConnectWebview = z.infer<typeof connect_webview>

src/lib/seam/connect/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "./connect-webview.js"
1+
export * from './connect-webview.js'

0 commit comments

Comments
 (0)