@famgia/omnify 2.0.20 → 2.0.22

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.
@@ -133,25 +133,27 @@ properties:
133
133
  ### Enum i18n
134
134
 
135
135
  ```yaml
136
- name: PostStatus
137
136
  kind: enum
138
137
  displayName:
139
138
  ja: 投稿ステータス
140
139
  en: Post Status
141
140
  vi: Trạng thái bài viết
142
141
  values:
143
- draft:
144
- ja: 下書き
145
- en: Draft
146
- vi: Bản nháp
147
- published:
148
- ja: 公開済み
149
- en: Published
150
- vi: Đã xuất bản
151
- archived:
152
- ja: アーカイブ
153
- en: Archived
154
- vi: Đã lưu trữ
142
+ - value: draft
143
+ label:
144
+ ja: 下書き
145
+ en: Draft
146
+ vi: Bản nháp
147
+ - value: published
148
+ label:
149
+ ja: 公開済み
150
+ en: Published
151
+ vi: Đã xuất bản
152
+ - value: archived
153
+ label:
154
+ ja: アーカイブ
155
+ en: Archived
156
+ vi: Đã lưu trữ
155
157
  ```
156
158
 
157
159
  ## Object Schema Structure
@@ -1269,15 +1271,23 @@ $table->timestamp('updated_at')->useCurrent()->useCurrentOnUpdate();
1269
1271
  ## Enum Schema
1270
1272
 
1271
1273
  ```yaml
1272
- name: PostStatus
1273
1274
  kind: enum
1274
1275
  displayName:
1275
1276
  ja: 投稿ステータス
1276
1277
  en: Post Status
1277
1278
  values:
1278
- draft: ドラフト # value: displayName format
1279
- published: 公開済み
1280
- archived: アーカイブ
1279
+ - value: draft
1280
+ label:
1281
+ ja: ドラフト
1282
+ en: Draft
1283
+ - value: published
1284
+ label:
1285
+ ja: 公開済み
1286
+ en: Published
1287
+ - value: archived
1288
+ label:
1289
+ ja: アーカイブ
1290
+ en: Archived
1281
1291
  ```
1282
1292
 
1283
1293
  Use enum in object schema:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@famgia/omnify",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "description": "Schema-driven database migration system with TypeScript types and Laravel migrations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,13 +26,13 @@
26
26
  "README.md"
27
27
  ],
28
28
  "dependencies": {
29
- "@famgia/omnify-cli": "2.0.20",
30
- "@famgia/omnify-core": "2.0.20",
31
- "@famgia/omnify-laravel": "2.0.20",
32
- "@famgia/omnify-types": "2.0.20",
33
- "@famgia/omnify-typescript": "2.0.20",
34
- "@famgia/omnify-japan": "2.0.20",
35
- "@famgia/omnify-atlas": "2.0.20"
29
+ "@famgia/omnify-cli": "2.0.22",
30
+ "@famgia/omnify-core": "2.0.22",
31
+ "@famgia/omnify-atlas": "2.0.22",
32
+ "@famgia/omnify-types": "2.0.22",
33
+ "@famgia/omnify-laravel": "2.0.22",
34
+ "@famgia/omnify-typescript": "2.0.22",
35
+ "@famgia/omnify-japan": "2.0.22"
36
36
  },
37
37
  "keywords": [
38
38
  "omnify",
@@ -133,25 +133,27 @@ properties:
133
133
  ### Enum i18n
134
134
 
135
135
  ```yaml
136
- name: PostStatus
137
136
  kind: enum
138
137
  displayName:
139
138
  ja: 投稿ステータス
140
139
  en: Post Status
141
140
  vi: Trạng thái bài viết
142
141
  values:
143
- draft:
144
- ja: 下書き
145
- en: Draft
146
- vi: Bản nháp
147
- published:
148
- ja: 公開済み
149
- en: Published
150
- vi: Đã xuất bản
151
- archived:
152
- ja: アーカイブ
153
- en: Archived
154
- vi: Đã lưu trữ
142
+ - value: draft
143
+ label:
144
+ ja: 下書き
145
+ en: Draft
146
+ vi: Bản nháp
147
+ - value: published
148
+ label:
149
+ ja: 公開済み
150
+ en: Published
151
+ vi: Đã xuất bản
152
+ - value: archived
153
+ label:
154
+ ja: アーカイブ
155
+ en: Archived
156
+ vi: Đã lưu trữ
155
157
  ```
156
158
 
157
159
  ## Object Schema Structure
@@ -1269,15 +1271,23 @@ $table->timestamp('updated_at')->useCurrent()->useCurrentOnUpdate();
1269
1271
  ## Enum Schema
1270
1272
 
1271
1273
  ```yaml
1272
- name: PostStatus
1273
1274
  kind: enum
1274
1275
  displayName:
1275
1276
  ja: 投稿ステータス
1276
1277
  en: Post Status
1277
1278
  values:
1278
- draft: ドラフト # value: displayName format
1279
- published: 公開済み
1280
- archived: アーカイブ
1279
+ - value: draft
1280
+ label:
1281
+ ja: ドラフト
1282
+ en: Draft
1283
+ - value: published
1284
+ label:
1285
+ ja: 公開済み
1286
+ en: Published
1287
+ - value: archived
1288
+ label:
1289
+ ja: アーカイブ
1290
+ en: Archived
1281
1291
  ```
1282
1292
 
1283
1293
  Use enum in object schema: