after_enterprise
Enterprise modules: purpose, dependencies, key APIs and example for after_enterprise.
Docs version: supercore main · packages 1.0.0
PurposeLink to this section: Purpose
Enterprise modules
Fourteen shared B2B ports with deterministic in-memory mocks, fail-closed tenancy through EnterpriseScope, and a product runtime and shell host.
DependenciesLink to this section: Dependencies
- Used by
- No package depends on it
- Notable third-party dependencies
- flutter_riverpodcollectionuuid
Key APIsLink to this section: Key APIs
- EnterpriseScope
- OrganizationRepository
- RbacRepository
- PermissionSet
- WorkflowEngine
- TaskRepository
- CalendarRepository
- DocumentRepository
- EnterpriseAiAssistant
- AuditLogRepository
- OfflineSyncQueue
- EnterpriseApiClient
- MockEnterpriseRepository
- EnterpriseProductRuntime
ExampleLink to this section: Example
static Future<List<Override>> ensureConfigured({
EnterpriseRepository? enterpriseRepository,
}) async {
PlatformConfig.current = superAppEnterpriseManifest;
final prefs = await SharedPreferences.getInstance();
return [
...AfterStandardOverrides.create(
preferences: prefs,
userAgent: '${superAppEnterpriseManifest.appName}/'
'${superAppEnterpriseManifest.appId}',
),
enterpriseRepositoryProvider.overrideWithValue(
enterpriseRepository ?? MockEnterpriseRepository(),
),
];
}Source supercore/templates/super_app_enterprise/after_framework.dart (opens in a new tab)