(name: string)
| 2 | import type { Worksheet } from "@/types/proto-es/v1/worksheet_service_pb"; |
| 3 | |
| 4 | export const extractSheetUID = (name: string) => { |
| 5 | const pattern = /(?:^|\/)sheets\/([^/]+)(?:$|\/)/; |
| 6 | const matches = name.match(pattern); |
| 7 | return matches?.[1] ?? "-1"; |
| 8 | }; |
| 9 | |
| 10 | export const setSheetStatement = ( |
| 11 | sheet: Sheet | Worksheet, |
no outgoing calls
no test coverage detected