@stacksjs/types 0.75.151 → 0.75.152

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 (2) hide show
  1. package/dist/seo.d.ts +7 -0
  2. package/package.json +5 -5
package/dist/seo.d.ts CHANGED
@@ -23,11 +23,18 @@ export declare interface SeoSitemapEntry {
23
23
  lastmod?: string
24
24
  changefreq?: 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never'
25
25
  priority?: number
26
+ alternates?: SeoSitemapAlternate[]
27
+ }
28
+ /** One language version of a sitemap entry. */
29
+ export declare interface SeoSitemapAlternate {
30
+ hreflang: string
31
+ href: string
26
32
  }
27
33
  export declare interface SeoSitemapOptions {
28
34
  include?: (string | SeoSitemapEntry)[]
29
35
  entries?: () => (string | SeoSitemapEntry)[] | Promise<(string | SeoSitemapEntry)[]>
30
36
  exclude?: string[]
37
+ alternates?: (path: string) => SeoSitemapAlternate[] | undefined | null
31
38
  }
32
39
  export declare interface SeoRobotsRule {
33
40
  userAgent: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.75.151",
4
+ "version": "0.75.152",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -58,9 +58,9 @@
58
58
  "dependencies": {
59
59
  "@stacksjs/bunpress": "^0.2.15",
60
60
  "@stacksjs/clapp": "^0.2.12",
61
- "@stacksjs/events": "0.75.151",
62
- "@stacksjs/strings": "0.75.151",
63
- "@stacksjs/stx": "^0.2.445",
61
+ "@stacksjs/events": "0.75.152",
62
+ "@stacksjs/strings": "0.75.152",
63
+ "@stacksjs/stx": "^0.2.483",
64
64
  "@stacksjs/ts-validation": "^0.5.6",
65
65
  "bun-query-builder": "^0.3.8"
66
66
  },
@@ -73,7 +73,7 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "@stacksjs/validation": "0.75.151",
76
+ "@stacksjs/validation": "0.75.152",
77
77
  "better-dx": "^0.2.24",
78
78
  "meilisearch": "^0.62.0"
79
79
  },