MCPcopy Index your code
hub / github.com/CommonstackAI/UncommonRoute / draftKey

Function draftKey

frontend/dashboard/src/components/Routing.tsx:510–512  ·  view source on GitHub ↗
(mode: ModeName, tier: TierName)

Source from the content-addressed store, hash-verified

508}
509
510function draftKey(mode: ModeName, tier: TierName): string {
511 return `${mode}:${tier}`;
512}
513
514function createDraft(row?: RoutingTierConfig): DraftState {
515 if (!row?.overridden) {

Callers 4

updateDraftFunction · 0.85
handleSaveOverrideFunction · 0.85
RoutingFunction · 0.85
buildDraftsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected