rimelight-components 2.1.35 → 2.1.37
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/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/page/PageEditor.vue +3 -3
- package/dist/runtime/components/page/PageRenderer.vue +3 -3
- package/dist/runtime/db/helpers.d.ts +3 -3
- package/dist/runtime/db/helpers.js +3 -3
- package/dist/runtime/db/helpers.mjs +3 -3
- package/dist/runtime/types/pages.d.ts +3 -3
- package/dist/runtime/utils/page.js +1 -1
- package/dist/runtime/utils/page.mjs +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { readdirSync } from 'node:fs';
|
|
|
4
4
|
import { basename } from 'node:path';
|
|
5
5
|
|
|
6
6
|
const name = "rimelight-components";
|
|
7
|
-
const version = "2.1.
|
|
7
|
+
const version = "2.1.37";
|
|
8
8
|
const homepage = "https://rimelight.com/tools/rimelight-components";
|
|
9
9
|
|
|
10
10
|
const defaultOptions = {
|
|
@@ -281,7 +281,7 @@ const handleDeleteConfirm = async () => {
|
|
|
281
281
|
<span
|
|
282
282
|
>Created At:
|
|
283
283
|
<NuxtTime
|
|
284
|
-
:datetime="page.
|
|
284
|
+
:datetime="page.createdAt ?? ''"
|
|
285
285
|
year="numeric"
|
|
286
286
|
month="numeric"
|
|
287
287
|
day="numeric"
|
|
@@ -293,7 +293,7 @@ const handleDeleteConfirm = async () => {
|
|
|
293
293
|
<span
|
|
294
294
|
>Posted At:
|
|
295
295
|
<NuxtTime
|
|
296
|
-
:datetime="page.
|
|
296
|
+
:datetime="page.createdAt ?? ''"
|
|
297
297
|
year="numeric"
|
|
298
298
|
month="numeric"
|
|
299
299
|
day="numeric"
|
|
@@ -305,7 +305,7 @@ const handleDeleteConfirm = async () => {
|
|
|
305
305
|
<span
|
|
306
306
|
>Updated At:
|
|
307
307
|
<NuxtTime
|
|
308
|
-
:datetime="page.
|
|
308
|
+
:datetime="page.createdAt ?? ''"
|
|
309
309
|
year="numeric"
|
|
310
310
|
month="numeric"
|
|
311
311
|
day="numeric"
|
|
@@ -121,7 +121,7 @@ const hasSurround = computed(() => !!(surround?.previous || surround?.next));
|
|
|
121
121
|
<span
|
|
122
122
|
>Created At:
|
|
123
123
|
<NuxtTime
|
|
124
|
-
:datetime="page.
|
|
124
|
+
:datetime="page.createdAt ?? ''"
|
|
125
125
|
year="numeric"
|
|
126
126
|
month="numeric"
|
|
127
127
|
day="numeric"
|
|
@@ -133,7 +133,7 @@ const hasSurround = computed(() => !!(surround?.previous || surround?.next));
|
|
|
133
133
|
<span
|
|
134
134
|
>Posted At:
|
|
135
135
|
<NuxtTime
|
|
136
|
-
:datetime="page.
|
|
136
|
+
:datetime="page.createdAt ?? ''"
|
|
137
137
|
year="numeric"
|
|
138
138
|
month="numeric"
|
|
139
139
|
day="numeric"
|
|
@@ -145,7 +145,7 @@ const hasSurround = computed(() => !!(surround?.previous || surround?.next));
|
|
|
145
145
|
<span
|
|
146
146
|
>Updated At:
|
|
147
147
|
<NuxtTime
|
|
148
|
-
:datetime="page.
|
|
148
|
+
:datetime="page.createdAt ?? ''"
|
|
149
149
|
year="numeric"
|
|
150
150
|
month="numeric"
|
|
151
151
|
day="numeric"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const id: import("drizzle-orm").NotNull<import("drizzle-orm").HasDefault<import("drizzle-orm/pg-core").PgUUIDBuilderInitial<"id">>>;
|
|
2
2
|
export declare const timestamps: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
updatedAt: import("drizzle-orm").HasDefault<import("drizzle-orm/pg-core").PgTimestampBuilderInitial<"updated_at">>;
|
|
4
|
+
createdAt: import("drizzle-orm").NotNull<import("drizzle-orm").HasDefault<import("drizzle-orm/pg-core").PgTimestampBuilderInitial<"created_at">>>;
|
|
5
|
+
deletedAt: import("drizzle-orm/pg-core").PgTimestampBuilderInitial<"deleted_at">;
|
|
6
6
|
};
|
|
@@ -2,9 +2,9 @@ import { uuid, timestamp } from "drizzle-orm/pg-core";
|
|
|
2
2
|
import { sql } from "drizzle-orm";
|
|
3
3
|
export const id = uuid("id").default(sql`uuidv7()`).notNull();
|
|
4
4
|
export const timestamps = {
|
|
5
|
-
|
|
5
|
+
updatedAt: timestamp("updated_at", {
|
|
6
6
|
withTimezone: true
|
|
7
7
|
}).$onUpdate(() => /* @__PURE__ */ new Date()),
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
createdAt: timestamp("created_at", { withTimezone: true }).defaultNow().notNull(),
|
|
9
|
+
deletedAt: timestamp("deleted_at", { withTimezone: true })
|
|
10
10
|
};
|
|
@@ -2,9 +2,9 @@ import { uuid, timestamp } from "drizzle-orm/pg-core";
|
|
|
2
2
|
import { sql } from "drizzle-orm";
|
|
3
3
|
export const id = uuid("id").default(sql`uuidv7()`).notNull();
|
|
4
4
|
export const timestamps = {
|
|
5
|
-
|
|
5
|
+
updatedAt: timestamp("updated_at", {
|
|
6
6
|
withTimezone: true
|
|
7
7
|
}).$onUpdate(() => /* @__PURE__ */ new Date()),
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
createdAt: timestamp("created_at", { withTimezone: true }).defaultNow().notNull(),
|
|
9
|
+
deletedAt: timestamp("deleted_at", { withTimezone: true })
|
|
10
10
|
};
|
|
@@ -49,9 +49,9 @@ export interface BasePage {
|
|
|
49
49
|
links?: Link[];
|
|
50
50
|
authorsIds?: string[];
|
|
51
51
|
blocks: Block[];
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
postedAt?: Date | null;
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
updatedAt: Date;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Discriminated Union for Page Data structure
|