mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
Add missing organization features for Teams functionality: - PUT /auth/organizations/:id - update organization - DELETE /auth/organizations/:id - delete organization - PATCH /auth/organizations/:orgId/members/:memberId/role - update member role - GET /auth/organizations/:id/invitations - list org invitations - GET /auth/invitations - list user invitations - DELETE /auth/invitations/:id - cancel or reject invitation
53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
/**
|
|
* @manacore/shared-pwa
|
|
*
|
|
* Unified PWA configuration for all ManaCore SvelteKit apps.
|
|
* Provides factory functions, presets, and defaults for consistent PWA setup.
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* import { createPWAConfig } from '@manacore/shared-pwa';
|
|
* import { SvelteKitPWA } from '@vite-pwa/sveltekit';
|
|
*
|
|
* export default defineConfig({
|
|
* plugins: [
|
|
* sveltekit(),
|
|
* SvelteKitPWA(createPWAConfig({
|
|
* name: 'My App',
|
|
* shortName: 'MyApp',
|
|
* description: 'My awesome app',
|
|
* themeColor: '#3b82f6',
|
|
* })),
|
|
* ],
|
|
* });
|
|
* ```
|
|
*/
|
|
|
|
// Main factory functions
|
|
export { createPWAConfig, createOfflineFirstPWAConfig } from './config.js';
|
|
|
|
// Presets and cache strategies
|
|
export { getPresetRuntimeCaching, cacheStrategies } from './presets.js';
|
|
|
|
// Default values
|
|
export {
|
|
DEFAULT_BACKGROUND_COLOR,
|
|
DEFAULT_CATEGORIES,
|
|
DEFAULT_INCLUDE_ASSETS,
|
|
DEFAULT_GLOB_PATTERNS,
|
|
DEFAULT_GLOB_IGNORES,
|
|
DEFAULT_NAVIGATE_FALLBACK_DENYLIST,
|
|
DEFAULT_ICONS,
|
|
APPLE_TOUCH_ICON,
|
|
} from './defaults.js';
|
|
|
|
// Types
|
|
export type {
|
|
PWAConfigOptions,
|
|
PWAConfig,
|
|
PWAShortcut,
|
|
WorkboxPreset,
|
|
ManifestConfig,
|
|
ManifestIcon,
|
|
WorkboxConfig,
|
|
} from './types.js';
|