feat(supabase): MFA, species, rights, admin and catalogue access layer (V1-2.5 D)

mfa.ts (closed kinds, TOTP list incl. unverified, enrol, verify, unenrol, assurance); sheets.ts wrappers for species, working copy, account lookup, M7 reads, versions list, drawing download, own grants, with shape parsers. Unit 148, sandbox sheets-admin 5/5 x2.
This commit is contained in:
bchanot committed 2026-11-02 16:31:50 +01:00
1 parent a79e1f0af7
commit c9ace9aff2
7 files changed
+1126 -6

No files matched your search

+37
View File
@@ -58,8 +58,45 @@ export {
publishSheetVersion,
getSheetVersion,
listOfficialCatalog,
lookupCatalogAccount,
listCatalogSpecies,
createSpecies,
updateInactiveSpecies,
activateSpecies,
renameSpecies,
createSheetWorkingCopy,
listOfficialSheetsAdmin,
getOfficialSheetAdmin,
listSheetVersions,
downloadSheetDrawing,
listOwnCatalogGrants,
type CatalogAccount,
type CatalogGrant,
type CatalogSpecies,
type CatalogVersionItem,
type OfficialSheetAdmin,
type OfficialSheetAdminSummary,
type OwnCatalogGrant,
type SheetAdminPerson,
type SheetAdminRound,
type SheetAdminVersion,
type SheetFailureKind,
} from './sheets'
export {
MFA_FAILURE_KINDS,
MfaFailure,
classifyMfaError,
listTotpFactors,
enrollTotp,
verifyTotp,
unenrollFactor,
assuranceLevel,
type AssuranceLevel,
type AssuranceState,
type MfaFailureKind,
type TotpEnrolment,
type TotpFactor,
} from './mfa'
export {
ASSET_FAILURE_KINDS,
ASSET_OWNER_COLUMNS,