@donotdev/core 0.0.21 → 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 +13 -1
- package/i18n/locales/lazy/crud_da.json +522 -0
- package/i18n/locales/lazy/crud_de.json +14 -2
- package/i18n/locales/lazy/crud_en.json +13 -1
- package/i18n/locales/lazy/crud_es.json +13 -1
- package/i18n/locales/lazy/crud_fr.json +15 -3
- package/i18n/locales/lazy/crud_it.json +15 -3
- package/i18n/locales/lazy/crud_ja.json +13 -1
- package/i18n/locales/lazy/crud_ko.json +13 -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 +26 -3
- 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 +11 -0
- package/vite/index.d.ts +18 -16
- package/vite/index.js +50 -30
package/package.json
CHANGED
package/server.d.ts
CHANGED
|
@@ -7870,6 +7870,11 @@ interface EntityListProps {
|
|
|
7870
7870
|
limit?: number;
|
|
7871
7871
|
startAfterId?: string;
|
|
7872
7872
|
};
|
|
7873
|
+
/**
|
|
7874
|
+
* Enable export to CSV functionality
|
|
7875
|
+
* @default true (admin tables typically need export)
|
|
7876
|
+
*/
|
|
7877
|
+
exportable?: boolean;
|
|
7873
7878
|
}
|
|
7874
7879
|
interface EntityCardListProps {
|
|
7875
7880
|
/** The entity definition */
|
|
@@ -9385,6 +9390,8 @@ interface FunctionMeta {
|
|
|
9385
9390
|
minInstances?: number;
|
|
9386
9391
|
/** Maximum instances */
|
|
9387
9392
|
maxInstances?: number;
|
|
9393
|
+
/** Secret environment variable names (synced via sync-secrets, read via defineSecret) */
|
|
9394
|
+
secrets?: string[];
|
|
9388
9395
|
}
|
|
9389
9396
|
/**
|
|
9390
9397
|
* CRUD entity configuration for auto-generation
|
|
@@ -9484,6 +9491,10 @@ interface FunctionEndpoint {
|
|
|
9484
9491
|
minInstances?: number;
|
|
9485
9492
|
/** Max instances */
|
|
9486
9493
|
maxInstances?: number;
|
|
9494
|
+
/** Secret environment variables */
|
|
9495
|
+
secretEnvironmentVariables?: Array<{
|
|
9496
|
+
key: string;
|
|
9497
|
+
}>;
|
|
9487
9498
|
}
|
|
9488
9499
|
|
|
9489
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
|
}
|