-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add images use generic search index only
- Loading branch information
Showing
67 changed files
with
1,939 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
resources: | ||
Pimcore\Bundle\StudioApiBundle\Dto\Asset\Image: | ||
provider: Pimcore\Bundle\StudioApiBundle\State\AssetProvider | ||
operations: | ||
ApiPlatform\Metadata\Get: | ||
normalizationContext: | ||
groups: ['image:read', 'asset:read', 'asset:item:get', 'dependency:read', 'property:read', 'element:read', 'element:item:get' ] | ||
properties: | ||
id: | ||
identifier: true | ||
normalizationContext: | ||
groups: ['image:read', 'asset:read', 'task:read', 'dependency:read', 'property:read', 'version:read'] | ||
groups: ['image:read', 'asset:read', 'dependency:read', 'property:read', 'element:read'] | ||
denormalizationContext: | ||
groups: ['image:write', 'asset:write'] | ||
groups: ['image:write', 'asset:write'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
api_platform: | ||
title: 'Pimcore Studio API' | ||
description: 'API for Pimcore Studio UI' | ||
version: 0.0.1 | ||
graphql: | ||
graphql_playground: false | ||
graphiql: | ||
enabled: false | ||
event_listeners_backward_compatibility_layer: false | ||
keep_legacy_inflector: false | ||
enable_docs: true | ||
enable_entrypoint: false | ||
enable_swagger_ui: false | ||
enable_re_doc: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
api_platform: | ||
resource: . | ||
type: api_platform | ||
prefix: /api | ||
resource: . | ||
type: api_platform | ||
prefix: /api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,18 @@ | ||
Pimcore\Bundle\StudioApiBundle\Dto\Asset: | ||
attributes: | ||
id: | ||
groups: ['asset:read'] | ||
parentId: | ||
groups: ['asset:read'] | ||
permissions: | ||
groups: [ 'asset:read' ] | ||
type: | ||
groups: ['asset:read'] | ||
children: | ||
groups: ['asset:read'] | ||
filename: | ||
groups: ['asset:read'] | ||
path: | ||
groups: ['asset:read'] | ||
mimetype: | ||
groups: ['asset:read'] | ||
creationDate: | ||
groups: ['asset:read'] | ||
modificationDate: | ||
groups: ['asset:read'] | ||
userOwner: | ||
groups: ['asset:read'] | ||
userModification: | ||
groups: ['asset:read'] | ||
properties: | ||
groups: ['asset:item:get'] | ||
versions: | ||
groups: ['asset:read'] | ||
metadata: | ||
groups: ['asset:read'] | ||
locked: | ||
groups: ['asset:read'] | ||
lock: | ||
groups: ['asset:read'] | ||
customSettings: | ||
groups: ['asset:item:get'] | ||
hasMetaData: | ||
groups: ['asset:read'] | ||
dependencies: | ||
groups: ['asset:item:get'] | ||
scheduledTasks: | ||
groups: ['asset:item:get'] | ||
versionCount: | ||
groups: ['asset:item:get'] | ||
fullPath: | ||
groups: ['asset:read'] | ||
userPermissions: | ||
groups: ['asset:read'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Pimcore\Bundle\StudioApiBundle\Dto\Asset\Document: | ||
attributes: | ||
pageCount: | ||
groups: ['document:read', 'asset:read'] | ||
imageThumbnailPath: | ||
groups: ['document:read', 'asset:read'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
Pimcore\Bundle\StudioApiBundle\Dto\Asset\Image: | ||
attributes: | ||
thumbnail: | ||
groups: ['image:read'] | ||
groups: ['image:read', 'asset:read'] | ||
format: | ||
groups: ['image:read'] | ||
groups: ['image:read', 'asset:read'] | ||
dimensions: | ||
groups: ['image:read'] | ||
groups: ['image:read', 'asset:read'] | ||
width: | ||
groups: ['image:read'] | ||
groups: ['image:read', 'asset:read'] | ||
height: | ||
groups: ['image:read'] | ||
groups: ['image:read', 'asset:read'] | ||
animated: | ||
groups: ['image:read'] | ||
groups: ['image:read', 'asset:read'] | ||
vectorGraphic: | ||
groups: ['image:read'] | ||
lowQualityPreviewDataUri: | ||
groups: ['image:read'] | ||
lowQualityPreviewPath: | ||
groups: ['image:read'] | ||
groups: ['image:read', 'asset:read'] | ||
# lowQualityPreviewDataUri: | ||
# groups: ['image:read'] | ||
# lowQualityPreviewPath: | ||
# groups: ['image:read'] | ||
# iPTCData: | ||
# groups: ['image:read'] | ||
# xMPData: | ||
# groups: ['image:read'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Pimcore\Bundle\StudioApiBundle\Dto\Asset\MetaData: | ||
attributes: | ||
name: | ||
groups: [ 'asset:read' ] | ||
language: | ||
groups: [ 'asset:read' ] | ||
type: | ||
groups: [ 'asset:read' ] | ||
data: | ||
groups: [ 'asset:read' ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Pimcore\Bundle\StudioApiBundle\Dto\Asset\Video: | ||
attributes: | ||
duration: | ||
groups: ['video:read', 'asset:read'] | ||
width: | ||
groups: ['video:read', 'asset:read'] | ||
height: | ||
groups: ['video:read', 'asset:read'] | ||
imageThumbnailPath: | ||
groups: ['video:read', 'asset:read'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Pimcore\Bundle\StudioApiBundle\Dto\Element: | ||
attributes: | ||
id: | ||
groups: ['element:read'] | ||
parentId: | ||
groups: ['element:read'] | ||
permissions: | ||
groups: ['element:read'] | ||
path: | ||
groups: ['element:read'] | ||
creationDate: | ||
groups: ['element:read'] | ||
modificationDate: | ||
groups: ['element:read'] | ||
userOwner: | ||
groups: ['element:read'] | ||
userModification: | ||
groups: ['element:read'] | ||
properties: | ||
groups: ['element:item:get'] | ||
versions: | ||
groups: ['element:read'] | ||
locked: | ||
groups: ['element:read'] | ||
lock: | ||
groups: ['element:read'] | ||
dependencies: | ||
groups: ['element:item:get'] | ||
scheduledTasks: | ||
groups: ['element:item:get'] | ||
versionCount: | ||
groups: ['element:item:get'] | ||
fullPath: | ||
groups: ['element:read'] | ||
userPermissions: | ||
groups: ['element:read'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
Pimcore\Bundle\StudioApiBundle\Dto\ResetPasswordRequest: | ||
attributes: | ||
username: | ||
groups: ['get', 'set'] | ||
groups: ['get', 'set'] | ||
|
||
Pimcore\Bundle\StudioApiBundle\Dto\User: | ||
attributes: | ||
id: | ||
groups: ['user:read'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
Pimcore\Bundle\StudioApiBundle\Dto\Version: | ||
attributes: | ||
id: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
cid: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
ctype: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
userId: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
user: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
note: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
date: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
data: | ||
groups: ['version:read'] | ||
public: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
serialized: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
versionCount: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
binaryFileHash: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
binaryFileId: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
autosave: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] | ||
storageType: | ||
groups: ['version:read', 'asset:item:get'] | ||
groups: ['version:read', 'element:item:get'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.