@famgia/omnify-types 0.0.112 → 0.0.113

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@famgia/omnify-types",
3
- "version": "0.0.112",
3
+ "version": "0.0.113",
4
4
  "description": "Shared TypeScript types for omnify-schema",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,10 +13,15 @@
13
13
  "type": "string",
14
14
  "enum": [
15
15
  "object",
16
- "enum"
16
+ "enum",
17
+ "partial"
17
18
  ],
18
19
  "default": "object",
19
- "description": "Schema kind - 'object' for database tables, 'enum' for enumeration types"
20
+ "description": "Schema kind - 'object' for database tables, 'enum' for enumeration types, 'partial' for extending existing schemas"
21
+ },
22
+ "target": {
23
+ "type": "string",
24
+ "description": "Target schema name for partial schemas (only used when kind is 'partial'). The partial schema's properties will be merged into the target."
20
25
  },
21
26
  "displayName": {
22
27
  "$ref": "#/definitions/LocalizedString",
@@ -850,6 +855,33 @@
850
855
  }
851
856
  }
852
857
  }
858
+ },
859
+ {
860
+ "name": "UserBilling",
861
+ "kind": "partial",
862
+ "target": "User",
863
+ "displayName": {
864
+ "ja": "ユーザー請求情報",
865
+ "en": "User Billing"
866
+ },
867
+ "properties": {
868
+ "stripe_customer_id": {
869
+ "type": "String",
870
+ "nullable": true,
871
+ "displayName": {
872
+ "ja": "Stripe顧客ID",
873
+ "en": "Stripe Customer ID"
874
+ }
875
+ },
876
+ "subscription_status": {
877
+ "type": "String",
878
+ "nullable": true,
879
+ "displayName": {
880
+ "ja": "購読状態",
881
+ "en": "Subscription Status"
882
+ }
883
+ }
884
+ }
853
885
  }
854
886
  ]
855
887
  }