@nuxtjs/sitemap 7.4.3 → 7.4.5

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.
Files changed (80) hide show
  1. package/package.json +25 -23
  2. package/dist/client/200.html +0 -13
  3. package/dist/client/404.html +0 -13
  4. package/dist/client/_nuxt/CVO1_9PV.js +0 -1
  5. package/dist/client/_nuxt/CnQ734Pf.js +0 -172
  6. package/dist/client/_nuxt/Cp-IABpG.js +0 -1
  7. package/dist/client/_nuxt/D0r3Knsf.js +0 -1
  8. package/dist/client/_nuxt/DrLDkm_a.js +0 -1
  9. package/dist/client/_nuxt/DyQhad1I.js +0 -1
  10. package/dist/client/_nuxt/builds/latest.json +0 -1
  11. package/dist/client/_nuxt/builds/meta/bdc97cc6-8746-4e08-aaf6-c2b5c273d5b5.json +0 -1
  12. package/dist/client/_nuxt/entry.BzbtAPc0.css +0 -1
  13. package/dist/client/_nuxt/error-404.rTOVQ3Ki.css +0 -1
  14. package/dist/client/_nuxt/error-500.BtbPDLpj.css +0 -1
  15. package/dist/client/index.html +0 -13
  16. package/dist/content.d.mts +0 -232
  17. package/dist/content.d.ts +0 -232
  18. package/dist/content.mjs +0 -45
  19. package/dist/module.d.mts +0 -10
  20. package/dist/module.d.ts +0 -10
  21. package/dist/module.json +0 -13
  22. package/dist/module.mjs +0 -1213
  23. package/dist/runtime/server/composables/asSitemapUrl.d.ts +0 -2
  24. package/dist/runtime/server/composables/asSitemapUrl.js +0 -3
  25. package/dist/runtime/server/composables/defineSitemapEventHandler.d.ts +0 -4
  26. package/dist/runtime/server/composables/defineSitemapEventHandler.js +0 -2
  27. package/dist/runtime/server/content-compat.d.ts +0 -1
  28. package/dist/runtime/server/content-compat.js +0 -2
  29. package/dist/runtime/server/kit.d.ts +0 -3
  30. package/dist/runtime/server/kit.js +0 -25
  31. package/dist/runtime/server/plugins/compression.d.ts +0 -2
  32. package/dist/runtime/server/plugins/compression.js +0 -8
  33. package/dist/runtime/server/plugins/nuxt-content-v2.d.ts +0 -2
  34. package/dist/runtime/server/plugins/nuxt-content-v2.js +0 -39
  35. package/dist/runtime/server/plugins/warm-up.d.ts +0 -2
  36. package/dist/runtime/server/plugins/warm-up.js +0 -39
  37. package/dist/runtime/server/robots-polyfill/getPathRobotConfig.d.ts +0 -5
  38. package/dist/runtime/server/robots-polyfill/getPathRobotConfig.js +0 -3
  39. package/dist/runtime/server/routes/__sitemap__/debug.d.ts +0 -40
  40. package/dist/runtime/server/routes/__sitemap__/debug.js +0 -29
  41. package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v2.d.ts +0 -2
  42. package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v2.js +0 -6
  43. package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v3.d.ts +0 -2
  44. package/dist/runtime/server/routes/__sitemap__/nuxt-content-urls-v3.js +0 -24
  45. package/dist/runtime/server/routes/sitemap/[sitemap].xml.d.ts +0 -2
  46. package/dist/runtime/server/routes/sitemap/[sitemap].xml.js +0 -50
  47. package/dist/runtime/server/routes/sitemap.xml.d.ts +0 -2
  48. package/dist/runtime/server/routes/sitemap.xml.js +0 -13
  49. package/dist/runtime/server/routes/sitemap.xsl.d.ts +0 -2
  50. package/dist/runtime/server/routes/sitemap.xsl.js +0 -255
  51. package/dist/runtime/server/routes/sitemap_index.xml.d.ts +0 -2
  52. package/dist/runtime/server/routes/sitemap_index.xml.js +0 -42
  53. package/dist/runtime/server/sitemap/builder/sitemap-index.d.ts +0 -13
  54. package/dist/runtime/server/sitemap/builder/sitemap-index.js +0 -197
  55. package/dist/runtime/server/sitemap/builder/sitemap.d.ts +0 -16
  56. package/dist/runtime/server/sitemap/builder/sitemap.js +0 -241
  57. package/dist/runtime/server/sitemap/builder/xml.d.ts +0 -6
  58. package/dist/runtime/server/sitemap/builder/xml.js +0 -197
  59. package/dist/runtime/server/sitemap/nitro.d.ts +0 -4
  60. package/dist/runtime/server/sitemap/nitro.js +0 -144
  61. package/dist/runtime/server/sitemap/urlset/normalise.d.ts +0 -6
  62. package/dist/runtime/server/sitemap/urlset/normalise.js +0 -137
  63. package/dist/runtime/server/sitemap/urlset/sort.d.ts +0 -2
  64. package/dist/runtime/server/sitemap/urlset/sort.js +0 -13
  65. package/dist/runtime/server/sitemap/urlset/sources.d.ts +0 -6
  66. package/dist/runtime/server/sitemap/urlset/sources.js +0 -143
  67. package/dist/runtime/server/sitemap/utils/chunk.d.ts +0 -10
  68. package/dist/runtime/server/sitemap/utils/chunk.js +0 -66
  69. package/dist/runtime/server/tsconfig.json +0 -3
  70. package/dist/runtime/server/utils.d.ts +0 -5
  71. package/dist/runtime/server/utils.js +0 -16
  72. package/dist/runtime/types.d.ts +0 -458
  73. package/dist/runtime/types.js +0 -0
  74. package/dist/runtime/utils-pure.d.ts +0 -14
  75. package/dist/runtime/utils-pure.js +0 -85
  76. package/dist/shared/sitemap.DR3_6qqU.mjs +0 -212
  77. package/dist/types.d.mts +0 -5
  78. package/dist/utils.d.mts +0 -28
  79. package/dist/utils.d.ts +0 -28
  80. package/dist/utils.mjs +0 -368
package/dist/content.d.ts DELETED
@@ -1,232 +0,0 @@
1
- import * as zod from 'zod';
2
- import { TypeOf, ZodRawShape } from 'zod';
3
- import { Collection } from '@nuxt/content';
4
-
5
- declare const schema: zod.ZodObject<{
6
- sitemap: zod.ZodOptional<zod.ZodObject<{
7
- loc: zod.ZodOptional<zod.ZodString>;
8
- lastmod: zod.ZodOptional<zod.ZodDate>;
9
- changefreq: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"always">, zod.ZodLiteral<"hourly">, zod.ZodLiteral<"daily">, zod.ZodLiteral<"weekly">, zod.ZodLiteral<"monthly">, zod.ZodLiteral<"yearly">, zod.ZodLiteral<"never">]>>;
10
- priority: zod.ZodOptional<zod.ZodNumber>;
11
- images: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
12
- loc: zod.ZodString;
13
- caption: zod.ZodOptional<zod.ZodString>;
14
- geo_location: zod.ZodOptional<zod.ZodString>;
15
- title: zod.ZodOptional<zod.ZodString>;
16
- license: zod.ZodOptional<zod.ZodString>;
17
- }, "strip", zod.ZodTypeAny, {
18
- loc: string;
19
- caption?: string | undefined;
20
- geo_location?: string | undefined;
21
- title?: string | undefined;
22
- license?: string | undefined;
23
- }, {
24
- loc: string;
25
- caption?: string | undefined;
26
- geo_location?: string | undefined;
27
- title?: string | undefined;
28
- license?: string | undefined;
29
- }>, "many">>;
30
- videos: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
31
- content_loc: zod.ZodString;
32
- player_loc: zod.ZodOptional<zod.ZodString>;
33
- duration: zod.ZodOptional<zod.ZodString>;
34
- expiration_date: zod.ZodOptional<zod.ZodDate>;
35
- rating: zod.ZodOptional<zod.ZodNumber>;
36
- view_count: zod.ZodOptional<zod.ZodNumber>;
37
- publication_date: zod.ZodOptional<zod.ZodDate>;
38
- family_friendly: zod.ZodOptional<zod.ZodBoolean>;
39
- tag: zod.ZodOptional<zod.ZodString>;
40
- category: zod.ZodOptional<zod.ZodString>;
41
- restriction: zod.ZodOptional<zod.ZodObject<{
42
- relationship: zod.ZodOptional<zod.ZodLiteral<"allow">>;
43
- value: zod.ZodOptional<zod.ZodString>;
44
- }, "strip", zod.ZodTypeAny, {
45
- value?: string | undefined;
46
- relationship?: "allow" | undefined;
47
- }, {
48
- value?: string | undefined;
49
- relationship?: "allow" | undefined;
50
- }>>;
51
- gallery_loc: zod.ZodOptional<zod.ZodString>;
52
- price: zod.ZodOptional<zod.ZodString>;
53
- requires_subscription: zod.ZodOptional<zod.ZodBoolean>;
54
- uploader: zod.ZodOptional<zod.ZodString>;
55
- }, "strip", zod.ZodTypeAny, {
56
- content_loc: string;
57
- player_loc?: string | undefined;
58
- duration?: string | undefined;
59
- expiration_date?: Date | undefined;
60
- rating?: number | undefined;
61
- view_count?: number | undefined;
62
- publication_date?: Date | undefined;
63
- family_friendly?: boolean | undefined;
64
- tag?: string | undefined;
65
- category?: string | undefined;
66
- restriction?: {
67
- value?: string | undefined;
68
- relationship?: "allow" | undefined;
69
- } | undefined;
70
- gallery_loc?: string | undefined;
71
- price?: string | undefined;
72
- requires_subscription?: boolean | undefined;
73
- uploader?: string | undefined;
74
- }, {
75
- content_loc: string;
76
- player_loc?: string | undefined;
77
- duration?: string | undefined;
78
- expiration_date?: Date | undefined;
79
- rating?: number | undefined;
80
- view_count?: number | undefined;
81
- publication_date?: Date | undefined;
82
- family_friendly?: boolean | undefined;
83
- tag?: string | undefined;
84
- category?: string | undefined;
85
- restriction?: {
86
- value?: string | undefined;
87
- relationship?: "allow" | undefined;
88
- } | undefined;
89
- gallery_loc?: string | undefined;
90
- price?: string | undefined;
91
- requires_subscription?: boolean | undefined;
92
- uploader?: string | undefined;
93
- }>, "many">>;
94
- }, "strip", zod.ZodTypeAny, {
95
- loc?: string | undefined;
96
- lastmod?: Date | undefined;
97
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
98
- priority?: number | undefined;
99
- images?: {
100
- loc: string;
101
- caption?: string | undefined;
102
- geo_location?: string | undefined;
103
- title?: string | undefined;
104
- license?: string | undefined;
105
- }[] | undefined;
106
- videos?: {
107
- content_loc: string;
108
- player_loc?: string | undefined;
109
- duration?: string | undefined;
110
- expiration_date?: Date | undefined;
111
- rating?: number | undefined;
112
- view_count?: number | undefined;
113
- publication_date?: Date | undefined;
114
- family_friendly?: boolean | undefined;
115
- tag?: string | undefined;
116
- category?: string | undefined;
117
- restriction?: {
118
- value?: string | undefined;
119
- relationship?: "allow" | undefined;
120
- } | undefined;
121
- gallery_loc?: string | undefined;
122
- price?: string | undefined;
123
- requires_subscription?: boolean | undefined;
124
- uploader?: string | undefined;
125
- }[] | undefined;
126
- }, {
127
- loc?: string | undefined;
128
- lastmod?: Date | undefined;
129
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
130
- priority?: number | undefined;
131
- images?: {
132
- loc: string;
133
- caption?: string | undefined;
134
- geo_location?: string | undefined;
135
- title?: string | undefined;
136
- license?: string | undefined;
137
- }[] | undefined;
138
- videos?: {
139
- content_loc: string;
140
- player_loc?: string | undefined;
141
- duration?: string | undefined;
142
- expiration_date?: Date | undefined;
143
- rating?: number | undefined;
144
- view_count?: number | undefined;
145
- publication_date?: Date | undefined;
146
- family_friendly?: boolean | undefined;
147
- tag?: string | undefined;
148
- category?: string | undefined;
149
- restriction?: {
150
- value?: string | undefined;
151
- relationship?: "allow" | undefined;
152
- } | undefined;
153
- gallery_loc?: string | undefined;
154
- price?: string | undefined;
155
- requires_subscription?: boolean | undefined;
156
- uploader?: string | undefined;
157
- }[] | undefined;
158
- }>>;
159
- }, "strip", zod.ZodTypeAny, {
160
- sitemap?: {
161
- loc?: string | undefined;
162
- lastmod?: Date | undefined;
163
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
164
- priority?: number | undefined;
165
- images?: {
166
- loc: string;
167
- caption?: string | undefined;
168
- geo_location?: string | undefined;
169
- title?: string | undefined;
170
- license?: string | undefined;
171
- }[] | undefined;
172
- videos?: {
173
- content_loc: string;
174
- player_loc?: string | undefined;
175
- duration?: string | undefined;
176
- expiration_date?: Date | undefined;
177
- rating?: number | undefined;
178
- view_count?: number | undefined;
179
- publication_date?: Date | undefined;
180
- family_friendly?: boolean | undefined;
181
- tag?: string | undefined;
182
- category?: string | undefined;
183
- restriction?: {
184
- value?: string | undefined;
185
- relationship?: "allow" | undefined;
186
- } | undefined;
187
- gallery_loc?: string | undefined;
188
- price?: string | undefined;
189
- requires_subscription?: boolean | undefined;
190
- uploader?: string | undefined;
191
- }[] | undefined;
192
- } | undefined;
193
- }, {
194
- sitemap?: {
195
- loc?: string | undefined;
196
- lastmod?: Date | undefined;
197
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
198
- priority?: number | undefined;
199
- images?: {
200
- loc: string;
201
- caption?: string | undefined;
202
- geo_location?: string | undefined;
203
- title?: string | undefined;
204
- license?: string | undefined;
205
- }[] | undefined;
206
- videos?: {
207
- content_loc: string;
208
- player_loc?: string | undefined;
209
- duration?: string | undefined;
210
- expiration_date?: Date | undefined;
211
- rating?: number | undefined;
212
- view_count?: number | undefined;
213
- publication_date?: Date | undefined;
214
- family_friendly?: boolean | undefined;
215
- tag?: string | undefined;
216
- category?: string | undefined;
217
- restriction?: {
218
- value?: string | undefined;
219
- relationship?: "allow" | undefined;
220
- } | undefined;
221
- gallery_loc?: string | undefined;
222
- price?: string | undefined;
223
- requires_subscription?: boolean | undefined;
224
- uploader?: string | undefined;
225
- }[] | undefined;
226
- } | undefined;
227
- }>;
228
- type SitemapSchema = TypeOf<typeof schema>;
229
- declare function asSitemapCollection<T extends ZodRawShape>(collection: Collection<T>): Collection<T>;
230
-
231
- export { asSitemapCollection, schema };
232
- export type { SitemapSchema };
package/dist/content.mjs DELETED
@@ -1,45 +0,0 @@
1
- import { z } from '@nuxt/content';
2
-
3
- const schema = z.object({
4
- sitemap: z.object({
5
- loc: z.string().optional(),
6
- lastmod: z.date().optional(),
7
- changefreq: z.union([z.literal("always"), z.literal("hourly"), z.literal("daily"), z.literal("weekly"), z.literal("monthly"), z.literal("yearly"), z.literal("never")]).optional(),
8
- priority: z.number().optional(),
9
- images: z.array(z.object({
10
- loc: z.string(),
11
- caption: z.string().optional(),
12
- geo_location: z.string().optional(),
13
- title: z.string().optional(),
14
- license: z.string().optional()
15
- })).optional(),
16
- videos: z.array(z.object({
17
- content_loc: z.string(),
18
- player_loc: z.string().optional(),
19
- duration: z.string().optional(),
20
- expiration_date: z.date().optional(),
21
- rating: z.number().optional(),
22
- view_count: z.number().optional(),
23
- publication_date: z.date().optional(),
24
- family_friendly: z.boolean().optional(),
25
- tag: z.string().optional(),
26
- category: z.string().optional(),
27
- restriction: z.object({
28
- relationship: z.literal("allow").optional(),
29
- value: z.string().optional()
30
- }).optional(),
31
- gallery_loc: z.string().optional(),
32
- price: z.string().optional(),
33
- requires_subscription: z.boolean().optional(),
34
- uploader: z.string().optional()
35
- })).optional()
36
- }).optional()
37
- });
38
- function asSitemapCollection(collection) {
39
- if (collection.type === "page") {
40
- collection.schema = collection.schema ? schema.extend(collection.schema.shape) : schema;
41
- }
42
- return collection;
43
- }
44
-
45
- export { asSitemapCollection, schema };
package/dist/module.d.mts DELETED
@@ -1,10 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
- import { ModuleOptions as ModuleOptions$1 } from '../dist/runtime/types.js';
3
- export * from '../dist/runtime/types.js';
4
-
5
- interface ModuleOptions extends ModuleOptions$1 {
6
- }
7
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
8
-
9
- export { _default as default };
10
- export type { ModuleOptions };
package/dist/module.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
2
- import { ModuleOptions as ModuleOptions$1 } from '../dist/runtime/types.js';
3
- export * from '../dist/runtime/types.js';
4
-
5
- interface ModuleOptions extends ModuleOptions$1 {
6
- }
7
- declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
8
-
9
- export { _default as default };
10
- export type { ModuleOptions };
package/dist/module.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "name": "@nuxtjs/sitemap",
3
- "compatibility": {
4
- "nuxt": ">=3.9.0",
5
- "bridge": false
6
- },
7
- "configKey": "sitemap",
8
- "version": "7.4.2",
9
- "builder": {
10
- "@nuxt/module-builder": "1.0.1",
11
- "unbuild": "3.5.0"
12
- }
13
- }