@unchainedshop/api 4.8.16 → 4.8.18

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.
@@ -1,4 +1,4 @@
1
- import { GraphQLJSON, GraphQLTimestamp, GraphQLDateTimeISO, GraphQLDate, GraphQLLocale, } from 'graphql-scalars';
1
+ import { GraphQLJSON, GraphQLTimestamp, GraphQLDateTimeISO, GraphQLDate, GraphQLLocale, GraphQLPhoneNumber, } from 'graphql-scalars';
2
2
  import Query from "./queries/index.js";
3
3
  import Mutation from "./mutations/index.js";
4
4
  import Types from "./type/index.js";
@@ -13,4 +13,5 @@ export default {
13
13
  Date: GraphQLDate,
14
14
  Timestamp: GraphQLTimestamp,
15
15
  Locale: GraphQLLocale,
16
+ PhoneNumber: GraphQLPhoneNumber,
16
17
  };
@@ -8,7 +8,7 @@ export default [
8
8
  input UserProfileInput {
9
9
  displayName: String
10
10
  birthday: Timestamp
11
- phoneMobile: String
11
+ phoneMobile: PhoneNumber
12
12
  gender: String
13
13
  address: AddressInput
14
14
  }
@@ -27,7 +27,7 @@ export default [
27
27
 
28
28
  input ContactInput {
29
29
  emailAddress: String
30
- telNumber: String
30
+ telNumber: PhoneNumber
31
31
  }
32
32
 
33
33
  input CreateLanguageInput {
@@ -6,5 +6,6 @@ export default [
6
6
  scalar Timestamp
7
7
  scalar LowerCaseString
8
8
  scalar Locale
9
+ scalar PhoneNumber
9
10
  `,
10
11
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unchainedshop/api",
3
3
  "description": "GraphQL API layer for the Unchained Engine with Express/Fastify adapters and MCP server",
4
- "version": "4.8.16",
4
+ "version": "4.8.18",
5
5
  "main": "lib/api-index.js",
6
6
  "types": "lib/api-index.d.ts",
7
7
  "type": "module",