@c-time/frelio-types 1.4.4 → 1.4.5
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/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ type Content = {
|
|
|
8
8
|
contentId: string;
|
|
9
9
|
contentTypeId: string;
|
|
10
10
|
status: ContentStatus;
|
|
11
|
+
/** コンテンツタイプ単位の自動採番(通し番号 / 管理番号)。ユニーク性は保証しない(一意キーは contentId) */
|
|
12
|
+
seq?: number;
|
|
11
13
|
data: Record<string, unknown>;
|
|
12
14
|
createdAt: string;
|
|
13
15
|
updatedAt: string;
|
|
@@ -123,6 +125,8 @@ type ContentIndexEntry = {
|
|
|
123
125
|
contentId: string;
|
|
124
126
|
title: string;
|
|
125
127
|
status: ContentStatus;
|
|
128
|
+
/** 自動採番(通し番号 / 管理番号)。一覧表示用。ユニーク非保証 */
|
|
129
|
+
seq?: number;
|
|
126
130
|
createdAt: string;
|
|
127
131
|
updatedAt: string;
|
|
128
132
|
publishedAt: string | null;
|
|
@@ -226,6 +230,8 @@ type ContentTypeMetadata = {
|
|
|
226
230
|
totalCount: number;
|
|
227
231
|
draftCount: number;
|
|
228
232
|
publishedCount: number;
|
|
233
|
+
/** 自動採番の最後に払い出した番号(単調増加・削除で減らさない)。best-effort で重複/欠番あり */
|
|
234
|
+
seqCounter?: number;
|
|
229
235
|
};
|
|
230
236
|
type DashboardMetadata = {
|
|
231
237
|
contentTypes: Record<string, ContentTypeMetadata>;
|