@mirrormedia/lilith-draft-editor 1.1.0-alpha.23 → 1.1.0-alpha.24

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.
@@ -145,7 +145,7 @@ const AudiosQuery = (0, _apollo.gql)`
145
145
  audioFilesCount(where: { name: { contains: $searchText } })
146
146
  audioFiles(
147
147
  where: { name: { contains: $searchText } }
148
- orderBy: { createdAt: desc }
148
+ orderBy: { id: desc }
149
149
  take: $take
150
150
  skip: $skip
151
151
  ) {
@@ -34,7 +34,7 @@ const imagesQuery = (0, _apollo.gql)`
34
34
  photosCount(where: { name: { contains: $searchText } })
35
35
  photos(
36
36
  where: { name: { contains: $searchText } }
37
- orderBy: { createdAt: desc }
37
+ orderBy: { id: desc }
38
38
  take: $take
39
39
  skip: $skip
40
40
  ) {
@@ -262,7 +262,6 @@ function ImageSelector(props) {
262
262
  initialAlign,
263
263
  initialDelay
264
264
  } = props;
265
- console.log(imagesQuery);
266
265
  const [queryImages, {
267
266
  loading,
268
267
  error,
@@ -28,7 +28,7 @@ const postsQuery = (0, _apollo.gql)`
28
28
  postsCount(where: { title: { contains: $searchText } })
29
29
  posts(
30
30
  where: { title: { contains: $searchText } }
31
- orderBy: { createdAt: desc }
31
+ orderBy: { id: desc }
32
32
  take: $take
33
33
  skip: $skip
34
34
  ) {
@@ -28,7 +28,7 @@ const videosQuery = (0, _apollo.gql)`
28
28
  videosCount(where: { name: { contains: $searchText } })
29
29
  videos(
30
30
  where: { name: { contains: $searchText } }
31
- orderBy: { createdAt: desc }
31
+ orderBy: { id: desc }
32
32
  take: $take
33
33
  skip: $skip
34
34
  ) {
@@ -145,7 +145,7 @@ const AudiosQuery = (0, _apollo.gql)`
145
145
  audioFilesCount(where: { name: { contains: $searchText } })
146
146
  audioFiles(
147
147
  where: { name: { contains: $searchText } }
148
- orderBy: { createdAt: desc }
148
+ orderBy: { id: desc }
149
149
  take: $take
150
150
  skip: $skip
151
151
  ) {
@@ -34,7 +34,7 @@ const imagesQuery = (0, _apollo.gql)`
34
34
  photosCount(where: { name: { contains: $searchText } })
35
35
  photos(
36
36
  where: { name: { contains: $searchText } }
37
- orderBy: { createdAt: desc }
37
+ orderBy: { id: desc }
38
38
  take: $take
39
39
  skip: $skip
40
40
  ) {
@@ -28,7 +28,7 @@ const postsQuery = (0, _apollo.gql)`
28
28
  postsCount(where: { name: { contains: $searchText } })
29
29
  posts(
30
30
  where: { name: { contains: $searchText } }
31
- orderBy: { createdAt: desc }
31
+ orderBy: { id: desc }
32
32
  take: $take
33
33
  skip: $skip
34
34
  ) {
@@ -28,7 +28,7 @@ const videosQuery = (0, _apollo.gql)`
28
28
  videosCount(where: { name: { contains: $searchText } })
29
29
  videos(
30
30
  where: { name: { contains: $searchText } }
31
- orderBy: { createdAt: desc }
31
+ orderBy: { id: desc }
32
32
  take: $take
33
33
  skip: $skip
34
34
  ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirrormedia/lilith-draft-editor",
3
- "version": "1.1.0-alpha.23",
3
+ "version": "1.1.0-alpha.24",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {