104 lines
2.7 KiB
TypeScript
104 lines
2.7 KiB
TypeScript
// 导出类型
|
|
export * from './types';
|
|
|
|
// 导出服务
|
|
export {
|
|
activate,
|
|
activateFreeTrial,
|
|
verify,
|
|
heartbeat,
|
|
runLicenseVerification,
|
|
runLicenseHeartbeat,
|
|
getLicense,
|
|
isFeatureEnabled,
|
|
checkLimit,
|
|
getLicenseType,
|
|
isExpired,
|
|
startHeartbeat,
|
|
stopHeartbeat,
|
|
initLicenseService,
|
|
} from './license-service';
|
|
|
|
// 导出限制检查工具
|
|
export {
|
|
canCreateUser,
|
|
canUploadMaterial,
|
|
canUseCustomTemplates,
|
|
canUseDepartmentIsolation,
|
|
canUseIntranetPenetration,
|
|
canUseSystemSettings,
|
|
canUseApiAccess,
|
|
} from './check-limits';
|
|
|
|
export {
|
|
getCachedPremiumModuleManifest,
|
|
getCachedPremiumModuleRuntimeStatus,
|
|
getCachedModulePullCredential,
|
|
syncPremiumModules,
|
|
hasPremiumModule,
|
|
hasUsablePremiumModule,
|
|
isPremiumModuleRunning,
|
|
authorizePremiumModuleAction,
|
|
buildTemplateMigrationPreviewWithPaidCore,
|
|
calculateTemplateFieldStatsWithPaidCore,
|
|
detectTemplateStructureChangesWithPaidCore,
|
|
normalizeUploadTemplateSaveWithPaidCore,
|
|
planHomeFilterCustomFieldCountsWithPaidCore,
|
|
planDepartmentScopeWithPaidCore,
|
|
planDepartmentStructureChangeWithPaidCore,
|
|
planHomeFilterFieldCountsWithPaidCore,
|
|
planMaterialListQueryWithPaidCore,
|
|
planMaterialCustomSearchWithPaidCore,
|
|
planTemplateMigrationBatchWithPaidCore,
|
|
planUploadTemplateDeleteWithPaidCore,
|
|
planUploadTemplateUpdateWithPaidCore,
|
|
prepareMaterialMetadataWithPaidCore,
|
|
prepareTemplateMigrationMetadataWithPaidCore,
|
|
projectPublicTemplateOptionsWithPaidCore,
|
|
validateSubmittedTemplateFieldsWithPaidCore,
|
|
validateUploadTemplateFieldsWithPaidCore,
|
|
updatePremiumModuleRuntimeStatus,
|
|
} from './premium-module-service';
|
|
|
|
export type {
|
|
TemplateStructureChange,
|
|
TemplateStructureChangeDetectionResult,
|
|
MaterialMetadataPrepareResult,
|
|
MaterialCustomSearchPlanResult,
|
|
MaterialListQueryPlanResult,
|
|
HomeFilterCustomFieldCountsPlanResult,
|
|
HomeFilterFieldCountsPlanResult,
|
|
DepartmentScopePlanResult,
|
|
DepartmentStructureChangePlanResult,
|
|
TemplateMigrationMetadataPrepareResult,
|
|
TemplateMigrationBatchPlanResult,
|
|
TemplateMigrationPreviewBuildResult,
|
|
PublicTemplateOptionsProjectionResult,
|
|
TemplateFieldStatsCalculationResult,
|
|
NormalizedUploadTemplateSaveResult,
|
|
UploadTemplateDeletePlanResult,
|
|
UploadTemplateUpdatePlanResult,
|
|
SubmittedTemplateFieldsValidationResult,
|
|
UploadTemplateSaveMode,
|
|
} from './premium-module-service';
|
|
|
|
// 导出指纹服务
|
|
export {
|
|
generateFingerprint,
|
|
getInstanceId,
|
|
calculateFingerprintMatchScore,
|
|
isFingerprintMatch,
|
|
} from './fingerprint-service';
|
|
|
|
// 导出加密服务
|
|
export {
|
|
verifySignature,
|
|
verifyLicenseSignature,
|
|
signLocalIntegrity,
|
|
verifyLocalIntegrity,
|
|
encryptLocal,
|
|
decryptLocal,
|
|
hashData,
|
|
generateId,
|
|
} from './crypto-service';
|