@absolutejs/absolute 0.19.0-beta.955 → 0.19.0-beta.957
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/angular/index.js +12 -3
- package/dist/angular/index.js.map +4 -4
- package/dist/angular/server.js +12 -3
- package/dist/angular/server.js.map +4 -4
- package/dist/index.js +75 -15
- package/dist/index.js.map +8 -8
- package/dist/react/index.js +12 -3
- package/dist/react/index.js.map +4 -4
- package/dist/react/server.js +12 -3
- package/dist/react/server.js.map +4 -4
- package/dist/src/angular/pageHandler.d.ts +5 -0
- package/dist/src/core/devRouteRegistrationCallsite.d.ts +5 -0
- package/dist/src/react/pageHandler.d.ts +4 -0
- package/dist/src/svelte/pageHandler.d.ts +4 -0
- package/dist/src/vue/pageHandler.d.ts +4 -0
- package/dist/svelte/index.js +12 -3
- package/dist/svelte/index.js.map +4 -4
- package/dist/svelte/server.js +12 -3
- package/dist/svelte/server.js.map +4 -4
- package/dist/types/jsonLd.d.ts +31 -2
- package/dist/types/sitemap.d.ts +5 -0
- package/dist/vue/index.js +12 -3
- package/dist/vue/index.js.map +4 -4
- package/dist/vue/server.js +12 -3
- package/dist/vue/server.js.map +4 -4
- package/package.json +1 -1
package/dist/types/jsonLd.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ export type ContactPoint = {
|
|
|
22
22
|
telephone?: string;
|
|
23
23
|
contactType?: string;
|
|
24
24
|
availableLanguage?: string | string[];
|
|
25
|
+
email?: string;
|
|
26
|
+
url?: string;
|
|
27
|
+
areaServed?: string | string[];
|
|
25
28
|
};
|
|
26
29
|
export type Offer = {
|
|
27
30
|
'@type': 'Offer';
|
|
@@ -30,6 +33,9 @@ export type Offer = {
|
|
|
30
33
|
availability?: string;
|
|
31
34
|
url?: string;
|
|
32
35
|
validFrom?: string;
|
|
36
|
+
category?: string;
|
|
37
|
+
itemCondition?: string;
|
|
38
|
+
sku?: string;
|
|
33
39
|
};
|
|
34
40
|
export type AggregateRating = {
|
|
35
41
|
'@type': 'AggregateRating';
|
|
@@ -82,7 +88,20 @@ export type OrganizationSchema = {
|
|
|
82
88
|
email?: string;
|
|
83
89
|
telephone?: string;
|
|
84
90
|
sameAs?: string[];
|
|
85
|
-
contactPoint?: ContactPoint;
|
|
91
|
+
contactPoint?: ContactPoint | ContactPoint[];
|
|
92
|
+
legalName?: string;
|
|
93
|
+
founder?: PersonSchema;
|
|
94
|
+
founders?: PersonSchema[];
|
|
95
|
+
slogan?: string;
|
|
96
|
+
numberOfEmployees?: string | number;
|
|
97
|
+
parentOrganization?: OrganizationSchema;
|
|
98
|
+
subOrganization?: OrganizationSchema | OrganizationSchema[];
|
|
99
|
+
brand?: OrganizationSchema | {
|
|
100
|
+
'@type': 'Brand';
|
|
101
|
+
name: string;
|
|
102
|
+
};
|
|
103
|
+
keywords?: string | string[];
|
|
104
|
+
knowsAbout?: string | string[];
|
|
86
105
|
};
|
|
87
106
|
export type WebSiteSchema = {
|
|
88
107
|
'@type': 'WebSite';
|
|
@@ -243,8 +262,18 @@ export type SoftwareApplicationSchema = {
|
|
|
243
262
|
image?: string;
|
|
244
263
|
operatingSystem?: string;
|
|
245
264
|
applicationCategory?: string;
|
|
246
|
-
offers?: Offer;
|
|
265
|
+
offers?: Offer | Offer[];
|
|
247
266
|
aggregateRating?: AggregateRating;
|
|
267
|
+
url?: string;
|
|
268
|
+
featureList?: string | string[];
|
|
269
|
+
screenshot?: string | ImageObject | (string | ImageObject)[];
|
|
270
|
+
softwareVersion?: string;
|
|
271
|
+
applicationSubCategory?: string;
|
|
272
|
+
downloadUrl?: string;
|
|
273
|
+
installUrl?: string;
|
|
274
|
+
releaseNotes?: string;
|
|
275
|
+
softwareRequirements?: string;
|
|
276
|
+
permissions?: string;
|
|
248
277
|
};
|
|
249
278
|
export type JobPostingSchema = {
|
|
250
279
|
'@type': 'JobPosting';
|
package/dist/types/sitemap.d.ts
CHANGED
|
@@ -4,6 +4,11 @@ export type SitemapRouteOverride = {
|
|
|
4
4
|
priority?: number;
|
|
5
5
|
lastmod?: string;
|
|
6
6
|
};
|
|
7
|
+
/** Per-route sitemap metadata, accepted as an optional `sitemap` field
|
|
8
|
+
* on every framework page-handler input (`handleAngularPageRequest`,
|
|
9
|
+
* `handleReactPageRequest`, etc.). Statically read off the handler
|
|
10
|
+
* source at registration time. */
|
|
11
|
+
export type PageHandlerSitemapMetadata = SitemapRouteOverride;
|
|
7
12
|
export type SitemapConfig = {
|
|
8
13
|
baseUrl?: string;
|
|
9
14
|
exclude?: (string | RegExp)[];
|
package/dist/vue/index.js
CHANGED
|
@@ -102,6 +102,7 @@ var exports_devRouteRegistrationCallsite = {};
|
|
|
102
102
|
__export(exports_devRouteRegistrationCallsite, {
|
|
103
103
|
patchElysiaRouteRegistrationCallsites: () => patchElysiaRouteRegistrationCallsites,
|
|
104
104
|
isPageHandler: () => isPageHandler,
|
|
105
|
+
getOriginalPageHandlerSource: () => getOriginalPageHandlerSource,
|
|
105
106
|
getCurrentRouteRegistrationCallsite: () => getCurrentRouteRegistrationCallsite
|
|
106
107
|
});
|
|
107
108
|
import { AsyncLocalStorage } from "async_hooks";
|
|
@@ -116,6 +117,12 @@ var ROUTE_CALLSITE_STORAGE_KEY, ROUTE_CALLSITE_PATCHED_KEY, ROUTE_METHOD_NAMES,
|
|
|
116
117
|
if (pageHandlerWrappers.has(fn))
|
|
117
118
|
return true;
|
|
118
119
|
return handlerSourceMentionsPageHelper(fn);
|
|
120
|
+
}, getOriginalPageHandlerSource = (handler) => {
|
|
121
|
+
if (typeof handler !== "function")
|
|
122
|
+
return;
|
|
123
|
+
const fn = handler;
|
|
124
|
+
const info = pageHandlerWrappers.get(fn);
|
|
125
|
+
return (info?.originalHandler ?? fn).toString();
|
|
119
126
|
}, isObjectRecord4 = (value) => Boolean(value) && typeof value === "object", isAsyncLocalStorage2 = (value) => isObjectRecord4(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function", isRouteMethod = (value) => typeof value === "function", getRouteCallsiteStorage = () => {
|
|
120
127
|
const value = Reflect.get(globalThis, ROUTE_CALLSITE_STORAGE_KEY);
|
|
121
128
|
if (value === null || typeof value === "undefined") {
|
|
@@ -153,7 +160,9 @@ var ROUTE_CALLSITE_STORAGE_KEY, ROUTE_CALLSITE_PATCHED_KEY, ROUTE_METHOD_NAMES,
|
|
|
153
160
|
const callsite = captureRouteRegistrationCallsite();
|
|
154
161
|
const wrapped = wrapRouteHandlerWithCallsite(handler, callsite);
|
|
155
162
|
if (methodName === "get" && typeof handler === "function" && typeof wrapped === "function" && handlerSourceMentionsPageHelper(handler)) {
|
|
156
|
-
pageHandlerWrappers.
|
|
163
|
+
pageHandlerWrappers.set(wrapped, {
|
|
164
|
+
originalHandler: handler
|
|
165
|
+
});
|
|
157
166
|
}
|
|
158
167
|
return Reflect.apply(originalMethod, this, [path, wrapped, ...rest]);
|
|
159
168
|
}, getCurrentRouteRegistrationCallsite = () => getRouteCallsiteStorage()?.getStore()?.callsite, patchElysiaRouteRegistrationCallsites = () => {
|
|
@@ -191,7 +200,7 @@ var init_devRouteRegistrationCallsite = __esm(() => {
|
|
|
191
200
|
"handleHTMLPageRequest",
|
|
192
201
|
"handleHTMXPageRequest"
|
|
193
202
|
];
|
|
194
|
-
pageHandlerWrappers = new
|
|
203
|
+
pageHandlerWrappers = new WeakMap;
|
|
195
204
|
});
|
|
196
205
|
|
|
197
206
|
// src/client/streamSwap.ts
|
|
@@ -4657,5 +4666,5 @@ export {
|
|
|
4657
4666
|
Image
|
|
4658
4667
|
};
|
|
4659
4668
|
|
|
4660
|
-
//# debugId=
|
|
4669
|
+
//# debugId=A276D0D95D86FAE564756E2164756E21
|
|
4661
4670
|
//# sourceMappingURL=index.js.map
|