Skip to content

Commit 8ce8686

Browse files
committed
chore: unfreeze files pending regen
1 parent e194df1 commit 8ce8686

12 files changed

Lines changed: 1470 additions & 11 deletions

File tree

.fernignore

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ AGENTS.md
6868
# examples), playwright (make browser), vite + terser (pinned for the .npmrc
6969
# minimum-release-age + strict-peer-deps policy, not used directly), and bump
7070
# @types/node forward to ^20. Swap to package.json.bak before regen.
71-
package.json
71+
package.json.bak
7272

7373
# src/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.ts:
7474
# keep manage.v1.projects.keys.create(request?) source-compatible with older
7575
# callers that omit the request body. Swap to .bak before regen.
76-
src/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.ts
76+
src/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.ts.bak
7777

7878
# src/api/types/CreateKeyV1Request.ts: preserve the old exported
7979
# CreateKeyV1RequestOne alias alongside CreateKeyV1Request. Swap to .bak before
8080
# regen.
81-
src/api/types/CreateKeyV1Request.ts
81+
src/api/types/CreateKeyV1Request.ts.bak
8282

8383
# src/api/resources/agent/resources/v1/types/AgentV1Settings.ts: backward-compat
8484
# patch for the AgentV1Settings.Agent namespace. The 2026-05-06 regen restructured
@@ -92,7 +92,7 @@ src/api/types/CreateKeyV1Request.ts
9292
# want it in types. Mirrors the Python SDK's compat shims for the same regen.
9393
# Regression coverage in tests/unit/compat-aliases.test.ts.
9494
# Swap to .bak before regen.
95-
src/api/resources/agent/resources/v1/types/AgentV1Settings.ts
95+
src/api/resources/agent/resources/v1/types/AgentV1Settings.ts.bak
9696

9797
# src/api/types/DeepgramListenProviderV2.ts: the 2026-06-16 regen replaced the
9898
# `language_hint` (string | string[]) field with `language_hints?: string[]` and
@@ -103,15 +103,15 @@ src/api/resources/agent/resources/v1/types/AgentV1Settings.ts
103103
# SDK's DeepgramListenProviderV2LanguageHint shim. Also re-adds the deprecated
104104
# `language_hint` field (renamed to `language_hints` by the regen) as an optional
105105
# compat field so existing call sites keep compiling. Swap to .bak before regen.
106-
src/api/types/DeepgramListenProviderV2.ts
106+
src/api/types/DeepgramListenProviderV2.ts.bak
107107

108108
# src/api/resources/listen/resources/v2/types/ListenV2CloseStream.ts: the 2026-06-16
109109
# regen corrected the `type` field to the literal "CloseStream" and dropped the
110110
# `ListenV2CloseStream.Type` namespace (which wrongly included "Finalize"/"KeepAlive"
111111
# copied from v1's control-message enum). We restore the `Type` namespace with ONLY
112112
# the valid "CloseStream" value so existing `ListenV2CloseStream.Type` references keep
113113
# compiling without resurrecting the invalid values. Swap to .bak before regen.
114-
src/api/resources/listen/resources/v2/types/ListenV2CloseStream.ts
114+
src/api/resources/listen/resources/v2/types/ListenV2CloseStream.ts.bak
115115

116116
# NOTE: AgentV1SettingsAgentListenProvider.ts was UNFROZEN in the 2026-06-16 regen.
117117
# The generator now emits a type structurally equal to
@@ -124,7 +124,7 @@ src/api/resources/listen/resources/v2/types/ListenV2CloseStream.ts
124124
# `examples/browser/deepgram.js` bundle produced by `make browser-serve`, which
125125
# is .gitignored but not biome-ignored. We restore `useIgnoreFile: true` so the
126126
# generated browser artifact stays out of lint. Swap to .bak before regen.
127-
biome.json
127+
biome.json.bak
128128

129129
# src/api/resources/agent/resources/v1/types/AgentV1SettingsAgentContextListenProvider.ts:
130130
# the 2026-05-14 regen consolidated listen-provider sub-types into top-level
@@ -134,7 +134,7 @@ biome.json
134134
# DeepgramListenProviderV2.LanguageHint so deep imports keep resolving.
135135
# Regression coverage in tests/unit/compat-aliases.test.ts.
136136
# Swap to .bak before regen.
137-
src/api/resources/agent/resources/v1/types/AgentV1SettingsAgentContextListenProvider.ts
137+
src/api/resources/agent/resources/v1/types/AgentV1SettingsAgentContextListenProvider.ts.bak
138138

139139
# src/Client.ts: the 2026-05-14 regen switched the `client.fetch()` passthrough
140140
# helper's default baseUrl from `base` (api.deepgram.com) to `agentRest`
@@ -143,18 +143,18 @@ src/api/resources/agent/resources/v1/types/AgentV1SettingsAgentContextListenProv
143143
# supported in the SDK and should default to the canonical Deepgram REST host.
144144
# Likely a Fern generator artifact — when the upstream fix lands, drop this
145145
# entry. Swap to .bak before regen.
146-
src/Client.ts
146+
src/Client.ts.bak
147147

148148
# src/version.ts is the single source of truth for the SDK version. It carries the
149149
# inline `// x-release-please-version` marker and is the only file release-please
150150
# updates for the version (see .github/release-please-config.json extra-files).
151151
# Fern emits it without the marker, so we freeze it to preserve the marker.
152152
# Swap to .bak before regen.
153-
src/version.ts
153+
src/version.ts.bak
154154

155155
# src/BaseClient.ts is frozen only to keep its one-line patch deriving the SDK
156156
# version from src/version.ts (`import { SDK_VERSION }` + ``@deepgram/sdk/${SDK_VERSION}``)
157157
# instead of Fern's hardcoded version string — so the User-Agent never drifts and
158158
# the version lives in exactly one place. Re-apply that import patch after regen;
159159
# take all of Fern's other BaseClient changes. Swap to .bak before regen.
160-
src/BaseClient.ts
160+
src/BaseClient.ts.bak

biome.json.bak

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
3+
"root": true,
4+
"vcs": {
5+
"clientKind": "git",
6+
"enabled": true,
7+
"useIgnoreFile": true
8+
},
9+
"files": {
10+
"ignoreUnknown": true,
11+
"includes": [
12+
"**",
13+
"!!dist",
14+
"!!**/dist",
15+
"!!lib",
16+
"!!**/lib",
17+
"!!_tmp_*",
18+
"!!**/_tmp_*",
19+
"!!*.tmp",
20+
"!!**/*.tmp",
21+
"!!.tmp/",
22+
"!!**/.tmp/",
23+
"!!*.log",
24+
"!!**/*.log",
25+
"!!**/.DS_Store",
26+
"!!**/Thumbs.db"
27+
]
28+
},
29+
"formatter": {
30+
"enabled": true,
31+
"indentStyle": "space",
32+
"indentWidth": 4,
33+
"lineWidth": 120
34+
},
35+
"javascript": {
36+
"formatter": {
37+
"quoteStyle": "double"
38+
}
39+
},
40+
"assist": {
41+
"enabled": true,
42+
"actions": {
43+
"source": {
44+
"organizeImports": "on"
45+
}
46+
}
47+
},
48+
"linter": {
49+
"rules": {
50+
"style": {
51+
"useNodejsImportProtocol": "off"
52+
},
53+
"suspicious": {
54+
"noAssignInExpressions": "warn",
55+
"noUselessEscapeInString": {
56+
"level": "warn",
57+
"fix": "none",
58+
"options": {}
59+
},
60+
"noThenProperty": "warn",
61+
"useIterableCallbackReturn": "warn",
62+
"noShadowRestrictedNames": "warn",
63+
"noTsIgnore": {
64+
"level": "warn",
65+
"fix": "none",
66+
"options": {}
67+
},
68+
"noConfusingVoidType": {
69+
"level": "warn",
70+
"fix": "none",
71+
"options": {}
72+
}
73+
}
74+
}
75+
}
76+
}

0 commit comments

Comments
 (0)