ソースを参照

fix(core): Add missing timestamp fields to Asset GraphQL type

Michael Bromley 6 年 前
コミット
1c543db7cd

+ 5 - 1
packages/common/src/generated-shop-types.ts

@@ -1,5 +1,5 @@
 // tslint:disable
-// Generated in 2019-05-02T20:00:05+02:00
+// Generated in 2019-05-07T09:20:23+02:00
 export type Maybe<T> = T | null;
 
 export interface OrderListOptions {
@@ -1112,6 +1112,10 @@ export interface ProductVariant extends Node {
 export interface Asset extends Node {
     id: string;
 
+    createdAt: DateTime;
+
+    updatedAt: DateTime;
+
     name: string;
 
     type: AssetType;

ファイルの差分が大きいため隠しています
+ 299 - 277
packages/common/src/generated-types.ts


+ 2 - 0
packages/core/src/api/schema/type/asset.type.graphql

@@ -1,5 +1,7 @@
 type Asset implements Node {
     id: ID!
+    createdAt: DateTime!
+    updatedAt: DateTime!
     name: String!
     type: AssetType!
     fileSize: Int!

ファイルの差分が大きいため隠しています
+ 0 - 0
schema-admin.json


ファイルの差分が大きいため隠しています
+ 0 - 0
schema-shop.json


ファイルの差分が大きいため隠しています
+ 309 - 437
schema.json


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません