Skip to content

Commit c331eed

Browse files
committed
Update type name for clarity
1 parent c2e5dab commit c331eed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: test/tools/unified-spec-runner/schema.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,21 +96,21 @@ export interface UnifiedSuite {
9696
tests: Test[];
9797
_yamlAnchors?: Document;
9898
}
99-
export const TopologyId = Object.freeze({
99+
export const TopologyName = Object.freeze({
100100
single: 'single',
101101
replicaset: 'replicaset',
102102
sharded: 'sharded',
103103
shardedReplicaset: 'sharded-replicaset',
104104
loadBalanced: 'load-balanced'
105105
} as const);
106106

107-
export type TopologyId = (typeof TopologyId)[keyof typeof TopologyId];
107+
export type TopologyName = (typeof TopologyName)[keyof typeof TopologyName];
108108
export interface RunOnRequirement {
109109
serverless?: 'forbid' | 'allow' | 'require';
110110
auth?: boolean;
111111
maxServerVersion?: string;
112112
minServerVersion?: string;
113-
topologies?: TopologyId[];
113+
topologies?: TopologyName[];
114114
serverParameters?: Document;
115115
csfle?: boolean;
116116
}

0 commit comments

Comments
 (0)