@tanglemedia/directus-collection-testimonial 0.0.1
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/README.md +29 -0
- package/dist/index.js +34 -0
- package/migrations/20260301A-tngl_testimonial-~-add-testimonial-table.mjs +39 -0
- package/migrations/20260301B-tngl_testimonial-~-register-testimonial-collection-and-fields.mjs +128 -0
- package/migrations/20260301C-tngl_testimonial-~-set-permissions.mjs +10 -0
- package/migrations/20260301D-tngl_testimonial-~-set-default-presets.mjs +47 -0
- package/migrations/20260301E-tngl_testimonial-~-add-initial-content.mjs +33 -0
- package/package.json +47 -0
- package/src/index.js +8 -0
- package/src/shared/utility/migrations.js +30 -0
package/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @tanglemedia/directus-collection-testimonial
|
|
2
|
+
|
|
3
|
+
Installs the Testimonial Collection to your Directus project.
|
|
4
|
+
|
|
5
|
+
The package will install the following collections:
|
|
6
|
+
|
|
7
|
+
- Testimonial Collection `tngl_testimonial`
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Requirements
|
|
11
|
+
|
|
12
|
+
- Directus >= 10.10.1
|
|
13
|
+
- Node >= 18.x.x
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
1. `npm i @tanglemedia/directus-collection-testimonial`
|
|
19
|
+
|
|
20
|
+
2. `npx directus bootstrap` to update your database and restart directus
|
|
21
|
+
|
|
22
|
+
## What's inside the package
|
|
23
|
+
|
|
24
|
+
### Testimonial Collection
|
|
25
|
+
|
|
26
|
+
- Status (defaults to "Draft")
|
|
27
|
+
- Author
|
|
28
|
+
- Comment
|
|
29
|
+
- Comment Date
|