- 新增许可证服务器 (license-server/) - 新增 Agent 部署模块 (flnxi-agent/) - 添加许可证验证和激活页面 - 添加 Harbor 镜像同步脚本 - 更新素材系统支持许可证验证
48 lines
836 B
TypeScript
48 lines
836 B
TypeScript
// 导出类型
|
|
export * from './types';
|
|
|
|
// 导出服务
|
|
export {
|
|
activate,
|
|
activateFreeTrial,
|
|
verify,
|
|
heartbeat,
|
|
getLicense,
|
|
isFeatureEnabled,
|
|
checkLimit,
|
|
getLicenseType,
|
|
isExpired,
|
|
startHeartbeat,
|
|
stopHeartbeat,
|
|
initLicenseService,
|
|
} from './license-service';
|
|
|
|
// 导出限制检查工具
|
|
export {
|
|
canCreateUser,
|
|
canUploadMaterial,
|
|
canUseCustomTemplates,
|
|
canUseDepartmentIsolation,
|
|
canUseIntranetPenetration,
|
|
canUseSystemSettings,
|
|
canUseApiAccess,
|
|
} from './check-limits';
|
|
|
|
// 导出指纹服务
|
|
export {
|
|
generateFingerprint,
|
|
getInstanceId,
|
|
calculateFingerprintMatchScore,
|
|
isFingerprintMatch,
|
|
} from './fingerprint-service';
|
|
|
|
// 导出加密服务
|
|
export {
|
|
verifySignature,
|
|
verifyLicenseSignature,
|
|
encryptLocal,
|
|
decryptLocal,
|
|
hashData,
|
|
generateId,
|
|
} from './crypto-service';
|