@edgedev/create-edge-app 1.1.28 → 1.1.29

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.
@@ -84,11 +84,11 @@ const numericValue = computed({
84
84
  :disabled="props.disabled"
85
85
  >
86
86
  <NumberFieldContent>
87
- <NumberFieldDecrement class="mt-5" />
87
+ <NumberFieldDecrement class="" />
88
88
  <FormControl>
89
89
  <NumberFieldInput />
90
90
  </FormControl>
91
- <NumberFieldIncrement class="mt-5" />
91
+ <NumberFieldIncrement class="" />
92
92
  </NumberFieldContent>
93
93
  </NumberField>
94
94
 
@@ -451,7 +451,10 @@ const cmsCollectionData = async (edgeFirebase: any, value: any, meta: any, curre
451
451
  const findIndex = currentQuery.findIndex((q: any) => q.field === queryKey)
452
452
  const queryOption = meta[key]?.queryOptions?.find((o: any) => o.field === queryKey)
453
453
  const operator = queryOption?.operator || '=='
454
- const newQuery = { field: queryKey, operator, value: meta[key].queryItems[queryKey] }
454
+ let value = meta[key].queryItems[queryKey]
455
+ if (operator === 'array-contains-any' && !Array.isArray(value))
456
+ value = [value]
457
+ const newQuery = { field: queryKey, operator, value }
455
458
  if (findIndex > -1) {
456
459
  currentQuery[findIndex] = newQuery
457
460
  }
@@ -2,15 +2,16 @@ export const useStructuredDataTemplates = () => {
2
2
  const buildSiteStructuredData = () => JSON.stringify({
3
3
  '@context': 'https://schema.org',
4
4
  '@type': 'WebSite',
5
+ '@id': '{{cms-site}}#website',
5
6
  'name': '',
6
- 'url': '',
7
+ 'url': '{{cms-site}}',
7
8
  'description': '',
8
9
  'publisher': {
9
10
  '@type': 'Organization',
10
11
  'name': '',
11
12
  'logo': {
12
13
  '@type': 'ImageObject',
13
- 'url': '',
14
+ 'url': '{{cms-logo}}',
14
15
  },
15
16
  },
16
17
  'sameAs': [],
@@ -19,13 +20,12 @@ export const useStructuredDataTemplates = () => {
19
20
  const buildPageStructuredData = () => JSON.stringify({
20
21
  '@context': 'https://schema.org',
21
22
  '@type': 'WebPage',
23
+ '@id': '{{cms-url}}#webpage',
22
24
  'name': '',
23
- 'url': '',
25
+ 'url': '{{cms-url}}',
24
26
  'description': '',
25
27
  'isPartOf': {
26
- '@type': 'WebSite',
27
- 'name': '',
28
- 'url': '',
28
+ '@id': '{{cms-site}}#website',
29
29
  },
30
30
  }, null, 2)
31
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/create-edge-app",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "description": "Create Edge Starter App",
5
5
  "bin": {
6
6
  "create-edge-app": "./bin/cli.js"