Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve where query types #1359

Merged
merged 3 commits into from
Jul 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"test:unit": "nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/document-driven && vitest run"
},
"dependencies": {
"@nuxt/kit": "^3.0.0-rc.5",
"@nuxt/kit": "^3.0.0-rc.6",
"consola": "^2.15.3",
"csvtojson": "^2.0.10",
"defu": "^6.0.0",
Expand All @@ -51,7 +51,7 @@
"listhen": "^0.2.13",
"mdast-util-to-hast": "^12.1.2",
"mdurl": "^1.0.1",
"ohash": "^0.1.0",
"ohash": "^0.1.4",
"pathe": "^0.3.2",
"property-information": "^6.1.1",
"rehype-external-links": "^1.0.1",
Expand All @@ -74,26 +74,26 @@
"unist-builder": "^3.0.0",
"unist-util-position": "^4.0.3",
"unist-util-visit": "^4.1.0",
"unstorage": "^0.5.4",
"ws": "^8.8.0"
"unstorage": "^0.5.5",
"ws": "^8.8.1"
},
"devDependencies": {
"@nuxt/module-builder": "^0.1.7",
"@nuxt/schema": "^3.0.0-rc.5",
"@nuxt/schema": "^3.0.0-rc.6",
"@nuxt/test-utils": "npm:@nuxt/test-utils-edge@latest",
"@nuxthq/admin": "npm:@nuxthq/admin-edge@latest",
"@nuxtjs/eslint-config-typescript": "latest",
"@types/ws": "^8.5.3",
"c8": "^7.11.3",
"eslint": "^8.19.0",
"eslint": "^8.20.0",
"globby": "^13.1.2",
"husky": "^8.0.1",
"jiti": "^1.14.0",
"lint-staged": "^13.0.3",
"nuxt": "^3.0.0-rc.5",
"rehype-figure": "^1.0.1",
"remark-oembed": "^1.2.2",
"vitest": "^0.18.0",
"vitest": "^0.18.1",
"vue-docgen-web-types": "^0.1.7"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

<script lang="ts">
import { PropType, defineComponent, h, useSlots } from 'vue'
import type { QueryBuilderParams } from '../types'
import ContentRenderer from './ContentRenderer'
Expand Down Expand Up @@ -111,3 +111,4 @@ export default defineComponent({
)
}
})
</script>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

<script lang="ts">
import { PropType, defineComponent, h, useSlots } from 'vue'
import type { QueryBuilderParams } from '../types'
import ContentQuery from './ContentQuery'
Expand Down Expand Up @@ -64,3 +64,4 @@ export default defineComponent({
)
}
})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script lang="ts">
import { PropType, toRefs, defineComponent, h, useSlots, computed } from 'vue'
import { hash } from 'ohash'
import type { NavItem, QueryBuilderParams } from '../types'
Expand Down Expand Up @@ -75,3 +76,4 @@ export default defineComponent({
: defaultNode(navigation)
}
})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script lang="ts">
import { hash } from 'ohash'
import { PropType, toRefs, defineComponent, h, useSlots } from 'vue'
import type { ParsedContent, QueryBuilder, SortParams } from '../types'
Expand Down Expand Up @@ -210,3 +211,4 @@ export default defineComponent({
return emptyNode('default', { data, props, isPartial })
}
})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script lang="ts">
import { defineComponent, watch, h, useSlots } from 'vue'
import ContentRendererMarkdown from './ContentRendererMarkdown'

Expand Down Expand Up @@ -90,3 +91,4 @@ export default defineComponent({
)
}
})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script lang="ts">
import { h, resolveComponent, Text, defineComponent } from 'vue'
import destr from 'destr'
import { pascalCase } from 'scule'
Expand Down Expand Up @@ -395,3 +396,4 @@ async function resolveContentComponents (body, meta) {
return components
}
}
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script lang="ts">
import { defineComponent, h } from 'vue'
import type { PropType } from 'vue'
import { ParsedContent } from '../types'
Expand All @@ -20,3 +21,4 @@ export default defineComponent({
])
}
})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script lang="ts">
import { defineComponent, h } from 'vue'

/**
Expand All @@ -9,3 +10,4 @@ export default defineComponent({
return h('div', 'Document not found')
}
})
</script>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script lang="ts">
import type { Slot } from 'vue'
import { defineComponent, getCurrentInstance, useSlots, computed, useUnwrap, h } from '#imports'

Expand Down Expand Up @@ -76,3 +77,4 @@ export default defineComponent({
}
}
})
</script>