Просмотр исходного кода

feat(core): Expose tags on Assets for shop api (#1754)

Julien Monchany 3 лет назад
Родитель
Сommit
d9316df845

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

@@ -1,3 +0,0 @@
-type Asset {
-    tags: [Tag!]!
-}

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

@@ -11,6 +11,7 @@ type Asset implements Node {
     source: String!
     preview: String!
     focalPoint: Coordinate
+    tags: [Tag!]!
 }
 
 type Coordinate {