@getcommunity/gc-validators 0.0.90 → 0.0.91
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.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -137,6 +137,10 @@ type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPost
|
|
|
137
137
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
138
138
|
readonly slug: v.StringSchema<undefined>;
|
|
139
139
|
readonly status: v.OptionalSchema<v.PicklistSchema<["draft", "published"], undefined>, "published">;
|
|
140
|
+
readonly sort: v.OptionalSchema<v.ObjectSchema<{
|
|
141
|
+
readonly key: v.PicklistSchema<["id", "title", "slug", "is_live", "is_featured", "is_public", "published", "createdAt", "updatedAt"], undefined>;
|
|
142
|
+
readonly order: v.PicklistSchema<["ASC", "DESC"], undefined>;
|
|
143
|
+
}, undefined>, undefined>;
|
|
140
144
|
}, undefined>;
|
|
141
145
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
142
146
|
|
package/dist/index.d.ts
CHANGED
|
@@ -137,6 +137,10 @@ type QueryStrapiSearchBlogPosts = v.InferOutput<typeof QueryStrapiSearchBlogPost
|
|
|
137
137
|
declare const QueryStrapiSearchBlogPostsBySlug: v.ObjectSchema<{
|
|
138
138
|
readonly slug: v.StringSchema<undefined>;
|
|
139
139
|
readonly status: v.OptionalSchema<v.PicklistSchema<["draft", "published"], undefined>, "published">;
|
|
140
|
+
readonly sort: v.OptionalSchema<v.ObjectSchema<{
|
|
141
|
+
readonly key: v.PicklistSchema<["id", "title", "slug", "is_live", "is_featured", "is_public", "published", "createdAt", "updatedAt"], undefined>;
|
|
142
|
+
readonly order: v.PicklistSchema<["ASC", "DESC"], undefined>;
|
|
143
|
+
}, undefined>, undefined>;
|
|
140
144
|
}, undefined>;
|
|
141
145
|
type QueryStrapiSearchBlogPostsBySlug = v.InferOutput<typeof QueryStrapiSearchBlogPostsBySlug>;
|
|
142
146
|
|
package/dist/index.js
CHANGED
|
@@ -135,7 +135,8 @@ var QueryStrapiSearchBlogPosts = v6.object({
|
|
|
135
135
|
});
|
|
136
136
|
var QueryStrapiSearchBlogPostsBySlug = v6.object({
|
|
137
137
|
slug: v6.string(),
|
|
138
|
-
status: v6.optional(v6.picklist(["draft", "published"]), "published")
|
|
138
|
+
status: v6.optional(v6.picklist(["draft", "published"]), "published"),
|
|
139
|
+
sort: QuerySortBlogPosts
|
|
139
140
|
});
|
|
140
141
|
var QuerySortCategories = v6.optional(
|
|
141
142
|
v6.object({
|