@stacksjs/types 0.72.19 → 0.72.20
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/server.d.ts +5 -21
- package/package.json +2 -2
package/dist/server.d.ts
CHANGED
|
@@ -40,28 +40,12 @@ export declare interface ServerOptions {
|
|
|
40
40
|
port?: number
|
|
41
41
|
open?: boolean
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
*
|
|
43
|
+
/*` claims that subtree, appending whatever
|
|
44
|
+
* followed the prefix to the target. It is the one wildcard form: moving a
|
|
45
|
+
* section whose pages are dynamic cannot be written as exact rules. An exact
|
|
46
|
+
* rule always wins over a subtree one.
|
|
45
47
|
*
|
|
46
|
-
*
|
|
47
|
-
* `buddy dev` and `buddy serve`.
|
|
48
|
-
*/
|
|
49
|
-
/**
|
|
50
|
-
* URLs the site used to have, and where they go now.
|
|
51
|
-
*
|
|
52
|
-
* A site that replaces an older one inherits its URLs, and a 301 is the only
|
|
53
|
-
* thing that carries their standing in a search index across to the new page.
|
|
54
|
-
* Keys are the old paths; values are either the new path or an object.
|
|
55
|
-
*
|
|
56
|
-
* ```ts
|
|
57
|
-
* redirects: {
|
|
58
|
-
* '/old-page': '/new-page',
|
|
59
|
-
* '/summer-sale': { to: '/specials', status: 302 },
|
|
60
|
-
* '/docs': { to: 'https://docs.example.com', preserveQuery: false },
|
|
61
|
-
* }
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* Matching is exact on the path, ignoring a trailing slash. Rules are answered
|
|
48
|
+
* Matching is otherwise exact on the path, ignoring a trailing slash. Rules are answered
|
|
65
49
|
* before a page is looked for and before `public/` is searched, so a rule
|
|
66
50
|
* shadows a static file of the same name — the same caveat as `proxy.paths`.
|
|
67
51
|
* Anything under `/api/` is ignored.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.72.
|
|
4
|
+
"version": "0.72.20",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@stacksjs/validation": "0.72.
|
|
74
|
+
"@stacksjs/validation": "0.72.20",
|
|
75
75
|
"better-dx": "^0.2.23",
|
|
76
76
|
"meilisearch": "^0.59.0"
|
|
77
77
|
},
|