Skip to content

Commit 884a6a1

Browse files
committed
refactor(shared): hide helper option types
1 parent bed5bf3 commit 884a6a1

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/shared/assistant-error-format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const MALFORMED_STREAMING_FRAGMENT_USER_MESSAGE =
2727

2828
type ErrorPayload = Record<string, unknown>;
2929

30-
export type ApiErrorInfo = {
30+
type ApiErrorInfo = {
3131
httpCode?: string;
3232
type?: string;
3333
message?: string;

src/shared/config-eval.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function isConfigPathTruthyWithDefaults(
4545
return isTruthy(value);
4646
}
4747

48-
export type RuntimeRequires = {
48+
type RuntimeRequires = {
4949
bins?: string[];
5050
anyBins?: string[];
5151
env?: string[];

src/shared/entry-status.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
type RequirementsMetadata,
99
} from "./requirements.js";
1010

11-
export type EntryMetadataRequirementsParams = Parameters<
11+
type EntryMetadataRequirementsParams = Parameters<
1212
typeof evaluateEntryMetadataRequirements
1313
>[0];
1414

src/shared/lazy-promise.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export type LazyPromiseLoader<T> = {
77
};
88

99
/** Options for controlling lazy promise cache behavior. */
10-
export type LazyPromiseLoaderOptions = {
10+
type LazyPromiseLoaderOptions = {
1111
/** Keep rejected promises cached instead of allowing the next caller to retry. */
1212
cacheRejections?: boolean;
1313
};

src/shared/node-presence.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const NODE_PRESENCE_ALIVE_REASONS = [
1515
] as const;
1616

1717
/** Canonical trigger reason stored with node presence updates. */
18-
export type NodePresenceAliveReason = (typeof NODE_PRESENCE_ALIVE_REASONS)[number];
18+
type NodePresenceAliveReason = (typeof NODE_PRESENCE_ALIVE_REASONS)[number];
1919

2020
const NODE_PRESENCE_ALIVE_REASON_SET = new Set<string>(NODE_PRESENCE_ALIVE_REASONS);
2121

src/shared/store-writer-queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type StoreWriterQueue = {
1919
};
2020

2121
/** Store writer queues keyed by the canonical store path. */
22-
export type StoreWriterQueues = Map<string, StoreWriterQueue>;
22+
type StoreWriterQueues = Map<string, StoreWriterQueue>;
2323

2424
function getOrCreateStoreWriterQueue(
2525
queues: StoreWriterQueues,

0 commit comments

Comments
 (0)