@momentumcms/auth 0.1.10 → 0.3.0
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/CHANGELOG.md +15 -0
- package/index.cjs +3 -1
- package/index.js +3 -1
- package/package.json +1 -1
- package/src/lib/auth.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## 0.3.0 (2026-02-20)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- add named tabs support with nested data grouping and UI improvements ([#30](https://github.com/DonaldMurillo/momentum-cms/pull/30))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Claude Opus 4.6
|
|
10
|
+
- Donald Murillo @DonaldMurillo
|
|
11
|
+
|
|
12
|
+
## 0.2.0 (2026-02-17)
|
|
13
|
+
|
|
14
|
+
This was a version bump only for auth to align it with other projects, there were no code changes.
|
|
15
|
+
|
|
1
16
|
## 0.1.10 (2026-02-17)
|
|
2
17
|
|
|
3
18
|
### 🩹 Fixes
|
package/index.cjs
CHANGED
|
@@ -752,6 +752,9 @@ var MediaCollection = defineCollection({
|
|
|
752
752
|
singular: "Media",
|
|
753
753
|
plural: "Media"
|
|
754
754
|
},
|
|
755
|
+
upload: {
|
|
756
|
+
mimeTypes: ["image/*", "application/pdf", "video/*", "audio/*"]
|
|
757
|
+
},
|
|
755
758
|
admin: {
|
|
756
759
|
useAsTitle: "filename",
|
|
757
760
|
defaultColumns: ["filename", "mimeType", "filesize", "createdAt"]
|
|
@@ -772,7 +775,6 @@ var MediaCollection = defineCollection({
|
|
|
772
775
|
description: "File size in bytes"
|
|
773
776
|
}),
|
|
774
777
|
text("path", {
|
|
775
|
-
required: true,
|
|
776
778
|
label: "Storage Path",
|
|
777
779
|
description: "Path/key where the file is stored",
|
|
778
780
|
admin: {
|
package/index.js
CHANGED
|
@@ -701,6 +701,9 @@ var MediaCollection = defineCollection({
|
|
|
701
701
|
singular: "Media",
|
|
702
702
|
plural: "Media"
|
|
703
703
|
},
|
|
704
|
+
upload: {
|
|
705
|
+
mimeTypes: ["image/*", "application/pdf", "video/*", "audio/*"]
|
|
706
|
+
},
|
|
704
707
|
admin: {
|
|
705
708
|
useAsTitle: "filename",
|
|
706
709
|
defaultColumns: ["filename", "mimeType", "filesize", "createdAt"]
|
|
@@ -721,7 +724,6 @@ var MediaCollection = defineCollection({
|
|
|
721
724
|
description: "File size in bytes"
|
|
722
725
|
}),
|
|
723
726
|
text("path", {
|
|
724
|
-
required: true,
|
|
725
727
|
label: "Storage Path",
|
|
726
728
|
description: "Path/key where the file is stored",
|
|
727
729
|
admin: {
|
package/package.json
CHANGED
package/src/lib/auth.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Database } from 'better-sqlite3';
|
|
|
4
4
|
import { type EmailConfig } from './email';
|
|
5
5
|
import type { Field } from '@momentumcms/core';
|
|
6
6
|
import type { OAuthProvidersConfig } from './auth-core';
|
|
7
|
-
export type { MomentumUser, MomentumSession, OAuthProviderConfig, OAuthProvidersConfig } from './auth-core';
|
|
7
|
+
export type { MomentumUser, MomentumSession, OAuthProviderConfig, OAuthProvidersConfig, } from './auth-core';
|
|
8
8
|
/**
|
|
9
9
|
* Database configuration for Better Auth.
|
|
10
10
|
* Supports both SQLite (better-sqlite3) and PostgreSQL (pg).
|