@stacksjs/stx
Version:
A performant UI Framework. Powered by Bun.
34 lines (28 loc) • 538 B
TypeScript
export {
// URL signing
signUrl,
batchSignUrls,
smartBatchSign,
// Validation
isSignatureValid,
getTimeUntilExpiry,
shouldRefreshSignature,
// Auth helpers
checkAuthAccess,
buildAuthParams,
// Cache
getCachedSignature,
clearSignatureCache,
pruneSignatureCache,
// Runtime
generateSignatureRuntime,
} from './signature';
export {
// Components
renderProtectedImg,
renderProtectedVideo,
// Processing
processProtectedMedia,
// Directive helpers
parseProtectedArgs,
} from './component';