@donotdev/core 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/functions/index.d.ts +35 -12
- package/functions/index.js +17 -8
- package/i18n/locales/eager/dndev_da.json +379 -0
- package/i18n/locales/eager/dndev_nl.json +382 -0
- package/i18n/locales/lazy/auth_da.json +145 -0
- package/i18n/locales/lazy/auth_nl.json +145 -0
- package/i18n/locales/lazy/billing_da.json +82 -0
- package/i18n/locales/lazy/billing_nl.json +82 -0
- package/i18n/locales/lazy/blog_ar.json +9 -0
- package/i18n/locales/lazy/blog_da.json +9 -0
- package/i18n/locales/lazy/blog_de.json +9 -0
- package/i18n/locales/lazy/blog_en.json +9 -0
- package/i18n/locales/lazy/blog_es.json +9 -0
- package/i18n/locales/lazy/blog_fr.json +9 -0
- package/i18n/locales/lazy/blog_it.json +9 -0
- package/i18n/locales/lazy/blog_ja.json +9 -0
- package/i18n/locales/lazy/blog_ko.json +9 -0
- package/i18n/locales/lazy/blog_nl.json +9 -0
- package/i18n/locales/lazy/cookies_da.json +32 -0
- package/i18n/locales/lazy/cookies_nl.json +32 -0
- package/i18n/locales/lazy/crud_ar.json +12 -1
- package/i18n/locales/lazy/crud_da.json +522 -0
- package/i18n/locales/lazy/crud_de.json +13 -2
- package/i18n/locales/lazy/crud_en.json +12 -1
- package/i18n/locales/lazy/crud_es.json +12 -1
- package/i18n/locales/lazy/crud_fr.json +14 -3
- package/i18n/locales/lazy/crud_it.json +14 -3
- package/i18n/locales/lazy/crud_ja.json +12 -1
- package/i18n/locales/lazy/crud_ko.json +12 -1
- package/i18n/locales/lazy/crud_nl.json +522 -0
- package/i18n/locales/lazy/entityFormTemplate_da.json +85 -0
- package/i18n/locales/lazy/entityFormTemplate_nl.json +85 -0
- package/i18n/locales/lazy/homeTemplate_da.json +52 -0
- package/i18n/locales/lazy/homeTemplate_nl.json +52 -0
- package/i18n/locales/lazy/loginTemplate_da.json +21 -0
- package/i18n/locales/lazy/loginTemplate_nl.json +21 -0
- package/i18n/locales/lazy/oauth_da.json +9 -0
- package/i18n/locales/lazy/oauth_nl.json +9 -0
- package/i18n/locales/lazy/privacy_da.json +178 -0
- package/i18n/locales/lazy/privacy_nl.json +178 -0
- package/i18n/locales/lazy/profileDBTemplate_da.json +73 -0
- package/i18n/locales/lazy/profileDBTemplate_nl.json +73 -0
- package/i18n/locales/lazy/profileTemplate_da.json +85 -0
- package/i18n/locales/lazy/profileTemplate_nl.json +85 -0
- package/i18n/locales/lazy/terms_da.json +200 -0
- package/i18n/locales/lazy/terms_nl.json +200 -0
- package/index.d.ts +20 -2
- package/index.js +12 -12
- package/next/index.d.ts +16 -14
- package/next/index.js +33 -13
- package/package.json +1 -1
- package/server.d.ts +6 -0
- package/vite/index.d.ts +18 -16
- package/vite/index.js +50 -30
package/package.json
CHANGED
package/server.d.ts
CHANGED
|
@@ -9390,6 +9390,8 @@ interface FunctionMeta {
|
|
|
9390
9390
|
minInstances?: number;
|
|
9391
9391
|
/** Maximum instances */
|
|
9392
9392
|
maxInstances?: number;
|
|
9393
|
+
/** Secret environment variable names (synced via sync-secrets, read via defineSecret) */
|
|
9394
|
+
secrets?: string[];
|
|
9393
9395
|
}
|
|
9394
9396
|
/**
|
|
9395
9397
|
* CRUD entity configuration for auto-generation
|
|
@@ -9489,6 +9491,10 @@ interface FunctionEndpoint {
|
|
|
9489
9491
|
minInstances?: number;
|
|
9490
9492
|
/** Max instances */
|
|
9491
9493
|
maxInstances?: number;
|
|
9494
|
+
/** Secret environment variables */
|
|
9495
|
+
secretEnvironmentVariables?: Array<{
|
|
9496
|
+
key: string;
|
|
9497
|
+
}>;
|
|
9492
9498
|
}
|
|
9493
9499
|
|
|
9494
9500
|
// Internal Helpers
|
package/vite/index.d.ts
CHANGED
|
@@ -586,8 +586,8 @@ interface BuildConfig {
|
|
|
586
586
|
*/
|
|
587
587
|
interface ResolveOptions {
|
|
588
588
|
alias?:
|
|
589
|
-
|
|
590
|
-
|
|
589
|
+
| Record<string, string>
|
|
590
|
+
| Array<{ find: string | RegExp; replacement: string }>;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
/**
|
|
@@ -749,6 +749,8 @@ interface PWAOptions {
|
|
|
749
749
|
enabled?: boolean;
|
|
750
750
|
/** Enable PWA in development (default: false) */
|
|
751
751
|
devEnabled?: boolean;
|
|
752
|
+
/** Service worker registration: 'autoUpdate' = update in background, 'prompt' = ask user (default: 'prompt') */
|
|
753
|
+
registerType?: 'autoUpdate' | 'prompt';
|
|
752
754
|
/** Debug logging (default: false) */
|
|
753
755
|
debug?: boolean;
|
|
754
756
|
/** Override manifest values (auto-discovered from app.ts by default) */
|
|
@@ -773,11 +775,11 @@ interface PWAOptions {
|
|
|
773
775
|
runtimeCaching?: Array<{
|
|
774
776
|
urlPattern: RegExp | ((options: { request: Request }) => boolean);
|
|
775
777
|
handler:
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
778
|
+
| 'CacheFirst'
|
|
779
|
+
| 'NetworkFirst'
|
|
780
|
+
| 'StaleWhileRevalidate'
|
|
781
|
+
| 'NetworkOnly'
|
|
782
|
+
| 'CacheOnly';
|
|
781
783
|
options?: Record<string, any>;
|
|
782
784
|
}>;
|
|
783
785
|
/** Navigation fallback URL (default: '/') */
|
|
@@ -793,15 +795,15 @@ interface PWAOptions {
|
|
|
793
795
|
>;
|
|
794
796
|
/** Background sync configuration for offline actions */
|
|
795
797
|
backgroundSync?:
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
798
|
+
| {
|
|
799
|
+
/** Queue name for background sync (default: 'background-sync-queue') */
|
|
800
|
+
queueName?: string;
|
|
801
|
+
/** Maximum retention time in minutes (default: 24 * 60) */
|
|
802
|
+
maxRetentionTime?: number;
|
|
803
|
+
/** URL pattern for background sync routes (default: matches /api/ routes) */
|
|
804
|
+
urlPattern?: RegExp | ((options: { request: Request }) => boolean);
|
|
805
|
+
}
|
|
806
|
+
| false;
|
|
805
807
|
[key: string]: any; // Allow other workbox options
|
|
806
808
|
};
|
|
807
809
|
}
|