MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / generateId

Function generateId

frontend/packages/common/src/utils/postcat.tsx:106–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105
106export function generateId(): string {
107 return Math.random().toString(36).slice(-8)
108}
109
110export const getActionColWidth = (actionButtonCount: number) => {
111 if (actionButtonCount === 0) return 50

Callers 6

constructorMethod · 0.90
ValueEnumFunction · 0.90
getDefaultApiInfoFunction · 0.90
RawParamsFunction · 0.90
generateRowFunction · 0.90
MessageDataGridFunction · 0.90

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected