@stacksjs/cms 0.75.520 → 0.75.524

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.
@@ -14,3 +14,4 @@ export declare function destroy(id: number): Promise<AuthorJsonResponse>;
14
14
  */
15
15
  export declare function destroyMany(ids: number[]): Promise<number>;
16
16
  declare type AuthorJsonResponse = RowOf<'authors'>;
17
+ export {};
@@ -24,3 +24,4 @@ export declare function findByUuid(uuid: string): Promise<AuthorJsonResponse | u
24
24
  */
25
25
  export declare function findByUserId(userId: number): Promise<AuthorJsonResponse | undefined>;
26
26
  declare type AuthorJsonResponse = RowOf<'authors'>;
27
+ export {};
@@ -19,3 +19,4 @@ declare interface AuthorData {
19
19
  }
20
20
  declare type AuthorJsonResponse = RowOf<'authors'>;
21
21
  declare type NewAuthor = NewModelData<typeof Author>;
22
+ export {};
@@ -9,3 +9,4 @@ import type { RowOf } from '@stacksjs/database/runtime';
9
9
  export declare function update(id: number, data: Partial<NewAuthor>): Promise<AuthorJsonResponse | undefined>;
10
10
  declare type AuthorJsonResponse = RowOf<'authors'>;
11
11
  declare type NewAuthor = NewModelData<typeof Author>;
12
+ export {};
@@ -30,3 +30,4 @@ declare interface CategorizableModelData {
30
30
  category_id: number
31
31
  categorizable_type: string
32
32
  }
33
+ export {};
@@ -14,3 +14,4 @@ declare interface UpdateCategoryData {
14
14
  is_active?: boolean
15
15
  slug?: string
16
16
  }
17
+ export {};
@@ -33,3 +33,4 @@ declare interface CommentStore {
33
33
  approved_at?: number | null
34
34
  rejected_at?: number | null
35
35
  }
36
+ export {};
@@ -18,3 +18,4 @@ declare interface CommentUpdate {
18
18
  user_id?: number | null
19
19
  updated_at?: string | null
20
20
  }
21
+ export {};
@@ -1,2 +1,3 @@
1
1
  export declare function getDb(): Promise<StacksDatabase>;
2
2
  declare type StacksDatabase = typeof import('@stacksjs/database/runtime').db;
3
+ export {};
@@ -28,3 +28,4 @@ export declare function fetchByMinConversions(minConversions: number): Promise<P
28
28
  */
29
29
  export declare function fetchPublishedAfter(timestamp: number): Promise<PageJsonResponse[]>;
30
30
  declare type PageJsonResponse = RowOf<'pages'>;
31
+ export {};
@@ -21,3 +21,4 @@
21
21
  export declare function store(data: NewPage): Promise<PageJsonResponse>;
22
22
  declare type PageJsonResponse = ModelRow<typeof Page>;
23
23
  declare type NewPage = NewModelData<typeof Page>;
24
+ export {};
@@ -17,3 +17,4 @@ import type { RowOf } from '@stacksjs/database/runtime';
17
17
  export declare function update(id: number, data: Partial<PageUpdate>): Promise<PageJsonResponse>;
18
18
  declare type PageJsonResponse = RowOf<'pages'>;
19
19
  declare type PageUpdate = UpdateModelData<typeof Page>;
20
+ export {};
@@ -27,3 +27,4 @@ export declare function fetchByMinViews(minViews: number): Promise<PostJsonRespo
27
27
  */
28
28
  export declare function fetchPublishedAfter(timestamp: number): Promise<PostJsonResponse[]>;
29
29
  declare type PostJsonResponse = ModelRow<typeof Post>;
30
+ export {};
@@ -39,3 +39,4 @@ export declare const POST_STATUS_PUBLISHED: 'published';
39
39
  export declare const POST_STATUS_ARCHIVED: 'archived';
40
40
  declare type PostJsonResponse = ModelRow<typeof Post>;
41
41
  declare type NewPost = NewModelData<typeof Post>;
42
+ export {};
@@ -8,3 +8,4 @@
8
8
  export declare function update(id: number, data: Partial<PostUpdate>): Promise<PostJsonResponse>;
9
9
  declare type PostJsonResponse = ModelRow<typeof Post>;
10
10
  declare type PostUpdate = UpdateModelData<typeof Post>;
11
+ export {};
@@ -28,3 +28,4 @@ declare interface TagData {
28
28
  taggable_id?: number
29
29
  taggable_type: string
30
30
  }
31
+ export {};
@@ -16,3 +16,4 @@ declare interface UpdateTagData {
16
16
  taggable_id?: number
17
17
  taggable_type?: string
18
18
  }
19
+ export {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/cms",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.520",
5
+ "version": "0.75.524",
6
6
  "description": "Stacks cms utilities.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -58,14 +58,14 @@
58
58
  "prepublishOnly": "bun run build"
59
59
  },
60
60
  "dependencies": {
61
- "@stacksjs/database": "0.75.520",
62
- "@stacksjs/error-handling": "0.75.520",
63
- "@stacksjs/orm": "0.75.520",
64
- "@stacksjs/path": "0.75.520",
65
- "@stacksjs/sites": "0.75.520",
66
- "@stacksjs/slug": "0.75.520",
61
+ "@stacksjs/database": "0.75.524",
62
+ "@stacksjs/error-handling": "0.75.524",
63
+ "@stacksjs/orm": "0.75.524",
64
+ "@stacksjs/path": "0.75.524",
65
+ "@stacksjs/sites": "0.75.524",
66
+ "@stacksjs/slug": "0.75.524",
67
67
  "@stacksjs/stx": "0.2.807",
68
- "@stacksjs/validation": "0.75.520",
68
+ "@stacksjs/validation": "0.75.524",
69
69
  "ts-medium-editor": "^0.2.0",
70
70
  "ts-slug": "^0.2.1",
71
71
  "ts-spreadsheets": "^0.2.5"