@devalon.dev/credits 1.0.0 → 1.0.2
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/LICENSE +21 -0
- package/README.md +26 -2
- package/dist/chunk-IJASKDEW.mjs +1 -0
- package/dist/chunk-PYZQVHOF.mjs +16 -0
- package/dist/chunk-RZ4S6JFB.mjs +11 -0
- package/dist/core/backlink.d.ts +21 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/next/index.d.ts +4 -0
- package/dist/next/index.js +9 -9
- package/dist/next/index.mjs +1 -1
- package/dist/next/source.d.ts +12 -0
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.js +19 -19
- package/dist/react/index.mjs +1 -1
- package/dist/signals/component.d.ts +16 -0
- package/dist/signals/config.d.ts +9 -0
- package/dist/signals/detect.d.ts +24 -0
- package/dist/signals/event.d.ts +13 -0
- package/dist/signals/index.d.ts +7 -0
- package/dist/signals/index.js +17 -0
- package/dist/signals/index.mjs +17 -0
- package/dist/signals/meta/index.d.ts +3 -0
- package/dist/signals/meta/pixel.d.ts +18 -0
- package/dist/signals/meta/types.d.ts +21 -0
- package/dist/signals/signal.d.ts +9 -0
- package/dist/signals/types.d.ts +26 -0
- package/dist/vite/index.js +23 -23
- package/dist/vite/index.mjs +4 -4
- package/dist/vite/plugin.d.ts +1 -1
- package/docs/nextjs/05-performance-checklist.md +1 -1
- package/docs/nextjs/06-backlink-component.md +50 -27
- package/docs/react/02-csr-vite.md +6 -0
- package/docs/react/03-i18n.md +8 -8
- package/docs/react/05-backlink-component.md +15 -10
- package/docs/react/08-validator.md +1 -1
- package/docs/signals/01-meta-pixel.md +203 -0
- package/package.json +11 -4
- package/scripts/backlink.test.mjs +178 -0
- package/scripts/signals.test.mjs +459 -0
- package/dist/chunk-QU6SEFG7.mjs +0 -16
- package/dist/chunk-YF7SVQTC.mjs +0 -11
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Devalon
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @devalon.dev/credits
|
|
2
2
|
|
|
3
|
-
Add Devalon technology-partner attribution to a Next.js, React or Vite site. JSON-LD by default, with an optional visible credit link, server headers and generated `llms.txt` / `humans.txt`. No client-side JavaScript, no hydration cost.
|
|
3
|
+
Add Devalon technology-partner attribution to a Next.js, React or Vite site. JSON-LD by default, with an optional visible credit link, server headers and generated `llms.txt` / `humans.txt`. No client-side JavaScript, no hydration cost. The optional `/signals` entry is a separate client-side tracker loader for the tracking tools Devalon delivers.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -20,6 +20,7 @@ yarn add @devalon.dev/credits
|
|
|
20
20
|
| `@devalon.dev/credits/next` | Next.js Server Components + `Metadata` helper |
|
|
21
21
|
| `@devalon.dev/credits/react` | React components, server HTML helpers, headers, agent files |
|
|
22
22
|
| `@devalon.dev/credits/vite` | Build-time injection for CSR apps |
|
|
23
|
+
| `@devalon.dev/credits/signals` | Client-side tracker loader (Meta Pixel first, CAPI dedup) |
|
|
23
24
|
|
|
24
25
|
Maintainers: the release guide lives in the repository at `docs/publishing.md` (not included in the npm tarball). Put `NPM_TOKEN=npm_xxx...` in `./.env` (gitignored), then `make` builds, dry-runs, publishes and verifies in one step (`make release` is an alias).
|
|
25
26
|
|
|
@@ -65,7 +66,7 @@ import { DevalonBacklink } from "@devalon.dev/credits/next";
|
|
|
65
66
|
</footer>
|
|
66
67
|
```
|
|
67
68
|
|
|
68
|
-
It renders a plain `<a target="_blank" rel="noopener" referrerPolicy="origin">` inside a short localized sentence — no JS, no image, no hydration. `locale` accepts all 7 supported languages. UTM is
|
|
69
|
+
It renders a plain `<a target="_blank" rel="noopener" referrerPolicy="origin">` inside a short localized sentence — no JS, no image, no hydration. `locale` accepts all 7 supported languages. UTM attribution is on by default: the client hostname is detected from the environment (`NEXT_PUBLIC_SITE_URL` for Next.js, build-time env for Vite), and the link stays clean when no source is available. See [06 — Backlink component](docs/nextjs/06-backlink-component.md).
|
|
69
70
|
|
|
70
71
|
Before deploying a credit, check that the client site is live and indexable:
|
|
71
72
|
|
|
@@ -136,7 +137,30 @@ The rule is the same as for Next.js: **the credit must be in the HTML the server
|
|
|
136
137
|
|
|
137
138
|
Both guide sets cover how to use the package in Next.js or React/Vite. They do not explain the internal Schema.org graph, the service catalog, or the library architecture.
|
|
138
139
|
|
|
140
|
+
## Signals (tracking loaders)
|
|
141
|
+
|
|
142
|
+
The credit metadata above is server-rendered and JavaScript-free. **Signals is
|
|
143
|
+
the deliberate exception**: it loads the tracking tools Devalon installs.
|
|
144
|
+
Meta Pixel is the first one available.
|
|
145
|
+
|
|
146
|
+
```tsx
|
|
147
|
+
import { DevalonSignal, signal } from "@devalon.dev/credits/signals";
|
|
148
|
+
|
|
149
|
+
// Load the pixel once, in your layout:
|
|
150
|
+
<DevalonSignal pixelId="1683475309995701" />
|
|
151
|
+
|
|
152
|
+
// Track any action:
|
|
153
|
+
signal("HeroCtaClick", { button_id: "hero" }, { debug: true });
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Setup for Next.js, React, Vite, event names, debug logs, CAPI deduplication and
|
|
157
|
+
tips are all in one guide: [Signals — Meta Pixel usage](docs/signals/01-meta-pixel.md).
|
|
158
|
+
|
|
139
159
|
## Two rules that matter most
|
|
140
160
|
|
|
141
161
|
1. `site_url` is the canonical site root and stays the same for every language. `page_url` is the localized page URL.
|
|
142
162
|
2. Render the component **once per URL**. Do not render it both in a layout and in a page for the same `page_url`.
|
|
163
|
+
|
|
164
|
+
## License
|
|
165
|
+
|
|
166
|
+
MIT — see [LICENSE](LICENSE).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}export{r as a};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import{a as d,b as g,e as h,i as v,j as f,m as y,r as k}from"./chunk-SHIXBOQB.mjs";import{a as E}from"./chunk-IJASKDEW.mjs";function u(e){let n;try{n=new URL(e)}catch{throw new TypeError("site_url must be an absolute HTTP(S) URL.")}if(n.protocol!=="https:"&&n.protocol!=="http:")throw new TypeError("site_url must be an absolute HTTP(S) URL.");return n.hash="",n.search="",n.pathname=n.pathname.replace(/\/+$/,"")||"/",n.toString().replace(/\/$/,"")}var L="<!-- devalon:start -->",w="<!-- devalon:end -->",x="/* devalon:start */",m="/* devalon:end */";function T(e){return new Response(e,{headers:{"Content-Type":"text/plain; charset=utf-8"}})}function N(e){let n=f,t=new Set;for(let r of e){let o=n[r]??r,i=v[o];if(!i)throw new TypeError(`Unknown Devalon service: ${String(r)}`);t.add(i.name)}return[...t]}function b(e){let n=N(e.services??[]),t=[L,"## Credits","",`Built and maintained by [Devalon](${d}), an AI & software development studio.`];return n.length>0&&t.push(`Services: ${n.join(", ")}.`),t.push(w),t.join(`
|
|
2
|
+
`)}function R(e){let n=e.site_name.trim();if(!n)throw new TypeError("site_name must not be empty.");let t=e.description?.trim()??`Official website of ${n}.`;return[`# ${n}`,"",`> ${t}`,"",`- Canonical: ${u(e.site_url)}`,"",b(e),""].join(`
|
|
3
|
+
`)}function I(e,n,t,r){let o=e.indexOf(n),i=e.indexOf(t);if(o!==-1&&i!==-1&&i>o)return e.slice(0,o)+r+e.slice(i+t.length);let s=e.trimEnd();return s?`${s}
|
|
4
|
+
|
|
5
|
+
${r}
|
|
6
|
+
`:`${r}
|
|
7
|
+
`}function D(e,n){return I(e,L,w,b(n))}function Q(e){return T(e.source?.trim()?D(e.source,e):R(e))}function S(e){return[x,"Developer: Devalon",`URL: ${d}`,m].join(`
|
|
8
|
+
`)}function A(e){let n=e.site_name.trim();if(!n)throw new TypeError("site_name must not be empty.");return["/* TEAM */",S(e),"","/* SITE */",`Name: ${n}`,`URL: ${u(e.site_url)}`,""].join(`
|
|
9
|
+
`)}function H(e,n){let t=S(n),r=e.indexOf(x),o=e.indexOf(m);if(r!==-1&&o!==-1&&o>r)return e.slice(0,r)+t+e.slice(o+m.length);let i="/* TEAM */",s=e.indexOf(i);if(s!==-1){let l=s+i.length,a=e.indexOf("/*",l),_=a===-1?e.length:a,p=e.slice(0,_).trimEnd(),O=e.slice(_);return`${p}
|
|
10
|
+
${t}
|
|
11
|
+
|
|
12
|
+
${O.trimStart()}`}let c=e.trimEnd();return c?`${c}
|
|
13
|
+
|
|
14
|
+
${t}
|
|
15
|
+
`:`${t}
|
|
16
|
+
`}function W(e){return T(e.source?.trim()?H(e.source,e):A(e))}function Z(e){return{"llms.txt":e.source?.trim()?D(e.source,e):R(e),"humans.txt":A(e)}}var $={en:"Designed and built by",ro:"Proiectat \u0219i realizat de",ru:"\u0414\u0438\u0437\u0430\u0439\u043D \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u043E\u0442",de:"Entworfen und entwickelt von",da:"Designet og udviklet af",fr:"Con\xE7u et d\xE9velopp\xE9 par",es:"Dise\xF1ado y desarrollado por"},V="Devalon",j=["NEXT_PUBLIC_SITE_URL","SITE_URL","VITE_SITE_URL","VERCEL_PROJECT_PRODUCTION_URL","CF_PAGES_URL","VERCEL_URL"];function P(){return globalThis.process?.env??{}}function z(e){if(!e)return;let n=e.trim();if(!n)return;let t=/^[a-z][a-z\d+.-]*:\/\//i.test(n)?n:`https://${n}`;try{let r=new URL(t);return r.protocol!=="https:"&&r.protocol!=="http:"||!r.hostname?void 0:`${r.protocol}//${r.hostname}`}catch{return}}function X(e){for(let n of j){let t=z(e[n]);if(t)return t}}function B(e){let n;try{n=new URL(e)}catch{throw new TypeError("site_url must be an absolute HTTP(S) URL.")}if(n.protocol!=="https:"&&n.protocol!=="http:")throw new TypeError("site_url must be an absolute HTTP(S) URL.");return n.hostname.replace(/^www\./,"")}function C(e){let{site_url:n,locale:t="en",sentence:r,anchor:o=V,utm:i=!0}=e;if(!(t in $))throw new TypeError(`Unsupported Devalon backlink locale: ${String(t)}`);let s=(r??$[t]).trim(),c=o.trim();if(!s)throw new TypeError("sentence must not be empty.");if(!c)throw new TypeError("anchor must not be empty.");let l=d;if(i&&n){let a=B(n);l=`${d}/?utm_source=${encodeURIComponent(a)}&utm_medium=credit&utm_campaign=devalon-credits`}return{text:s,link_text:c,href:l}}function te(e,n=P()){if(e.site_url)return C(e);let t=X(n);return C(t?{...e,site_url:t}:e)}function M(e){let t=f[e]??e;if(!(t in v))throw new TypeError(`Unknown Devalon service: ${String(e)}`);return t}function G(e){let n=new Set;for(let t of e){let r=y[t];if(!r)throw new TypeError(`Unknown Devalon contribution: ${String(t)}`);n.add(r.relationship)}return[...n]}function U(e){let{site_url:n,services:t=[],contributions:r=["development","engineering"],locale:o}=e,i=u(n),s=[...new Set(t.map(M))],c=G(r);if(o!==void 0&&!h.includes(o))throw new TypeError(`Unsupported Devalon locale: ${String(o)}`);let l=[{key:"X-Devalon-Creator",value:"Devalon"},{key:"X-Devalon-Creator-Url",value:d},{key:"X-Devalon-Creator-Id",value:g},{key:"X-Devalon-Project",value:i},{key:"X-Built-By",value:`Devalon (${d})`},{key:"Link",value:`<${d}>; rel="author"`}];s.length>0&&l.push({key:"X-Devalon-Services",value:s.join(", ")});let a=[...new Set(r)];return a.length>0&&l.push({key:"X-Devalon-Contributions",value:a.join(", ")}),c.length>0&&l.push({key:"X-Devalon-Relationships",value:c.join(", ")}),o&&l.push({key:"X-Devalon-Locale",value:o}),l}function se(e){return(n,t,r)=>{let{localeFromPath:o,...i}=e,s=i.locale;if(!s&&o?.length){let a=(n.url?.split("?")[0]??"").split("/")[1];a&&o.includes(a)&&(s=a)}let c=U(s?{...i,locale:s}:i);for(let{key:l,value:a}of c){if(l.toLowerCase()==="link"){let _=t.getHeader("Link")??t.getHeader("link"),p=Array.isArray(_)?_.join(", "):typeof _=="string"?_:"";t.setHeader("Link",p?`${p.replace(/,\s*$/,"")}, ${a}`:a);continue}t.setHeader(l,a)}r()}}function ae(e,n){for(let{key:t,value:r}of U(n)){if(t.toLowerCase()==="link"){let o=e.headers.get("link");e.headers.set("link",o?`${o.replace(/,\s*$/,"")}, ${r}`:r);continue}e.headers.set(t,r)}return e}function F(e){let n=JSON.stringify(e);if(n===void 0)throw new TypeError("Devalon JSON-LD could not be serialized.");return n.replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function K(e){return F(k(e))}function _e(e){let{nonce:n,...t}=e;return`<script type="application/ld+json"${n?` nonce="${E(n)}"`:""}>${K(t)}</script>`}export{b as a,R as b,D as c,Q as d,S as e,A as f,H as g,W as h,Z as i,$ as j,V as k,P as l,X as m,C as n,te as o,U as p,se as q,ae as r,K as s,_e as t};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{l as f,o as k,t as p}from"./chunk-PYZQVHOF.mjs";import{q as d}from"./chunk-SHIXBOQB.mjs";import{a as l}from"./chunk-IJASKDEW.mjs";var i="<!-- devalon:head:start -->",s="<!-- devalon:head:end -->",c="<!-- devalon:backlink:start -->",_="<!-- devalon:backlink:end -->";function $(e){let{canonical:o,languages:a}=d(e),n=[`<link rel="canonical" href="${l(o)}" />`];for(let[t,r]of Object.entries(a))r&&n.push(`<link rel="alternate" hreflang="${l(t)}" href="${l(r)}" />`);return n.join(`
|
|
2
|
+
`)}function b(e){let{alternates:o,...a}=e,n=[p(a)];return o&&n.push($(o)),n.join(`
|
|
3
|
+
`)}function x(e){let{text:o,link_text:a,href:n}=k(e,f()),t=e.className?.trim();return`<span${t?` class="${l(t)}"`:""}>${l(o)} <a href="${l(n)}" target="_blank" rel="noopener" referrerpolicy="origin">${l(a)}</a></span>`}function g(e,o,a){let n=e.indexOf(o),t=e.indexOf(a);return n!==-1&&t!==-1&&t>n}function v(e,o,a,n){let t=e.indexOf(o),r=e.indexOf(a);return e.slice(0,t)+n+e.slice(r+a.length)}function H(e,o){let a=`${i}
|
|
4
|
+
${b(o)}
|
|
5
|
+
${s}`,n;if(g(e,i,s))n=v(e,i,s,a);else{let t=/<head\b[^>]*>/i.exec(e);if(t){let r=t.index+t[0].length;n=`${e.slice(0,r)}
|
|
6
|
+
${a}${e.slice(r)}`}else n=`${a}
|
|
7
|
+
${e}`}if(o.backlink){let t=`${c}
|
|
8
|
+
${x(o.backlink)}
|
|
9
|
+
${_}`;if(g(n,c,_))n=v(n,c,_,t);else{let r=/<\/body\s*>/i.exec(n);r?n=`${n.slice(0,r.index)}${t}
|
|
10
|
+
${n.slice(r.index)}`:n=`${n}
|
|
11
|
+
${t}`}}return n}export{i as a,s as b,c,_ as d,$ as e,b as f,x as g,H as h};
|
package/dist/core/backlink.d.ts
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import type { devalon_locale } from "../types";
|
|
2
2
|
export declare const BACKLINK_SENTENCES: Record<devalon_locale, string>;
|
|
3
3
|
export declare const DEFAULT_ANCHOR = "Devalon";
|
|
4
|
+
/** Env keys checked by detect_site_url, highest priority first. */
|
|
5
|
+
export declare const BACKLINK_SOURCE_ENV_KEYS: readonly string[];
|
|
6
|
+
/** Minimal env shape. Node's `process.env` and build-time env objects fit it. */
|
|
7
|
+
export type devalon_backlink_env = Record<string, string | undefined>;
|
|
4
8
|
export interface devalon_backlink_props {
|
|
5
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Absolute URL of the client site. Only its hostname is used, for
|
|
11
|
+
* `utm_source`. Auto-detected from the environment when omitted.
|
|
12
|
+
*/
|
|
6
13
|
site_url?: string;
|
|
7
14
|
/** Page language; selects the built-in sentence. Defaults to "en". */
|
|
8
15
|
locale?: devalon_locale;
|
|
@@ -10,7 +17,7 @@ export interface devalon_backlink_props {
|
|
|
10
17
|
sentence?: string;
|
|
11
18
|
/** Visible anchor text. Defaults to the Devalon brand name. */
|
|
12
19
|
anchor?: string;
|
|
13
|
-
/** Append UTM attribution parameters. Defaults to
|
|
20
|
+
/** Append UTM attribution parameters. Defaults to true. */
|
|
14
21
|
utm?: boolean;
|
|
15
22
|
/** Optional class name for the wrapper. The component ships no CSS. */
|
|
16
23
|
className?: string;
|
|
@@ -20,5 +27,17 @@ export interface devalon_backlink_resolved {
|
|
|
20
27
|
link_text: string;
|
|
21
28
|
href: string;
|
|
22
29
|
}
|
|
30
|
+
/** Reads `process.env` without requiring Node typings in the public bundle. */
|
|
31
|
+
export declare function runtime_env(): devalon_backlink_env;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the first usable absolute site URL in an env object. Accepts full
|
|
34
|
+
* URLs and bare hostnames; unusable values are skipped.
|
|
35
|
+
*/
|
|
36
|
+
export declare function detect_site_url(env: devalon_backlink_env): string | undefined;
|
|
23
37
|
/** Validates props and resolves the sentence, anchor and destination URL. */
|
|
24
38
|
export declare function resolve_backlink(props: devalon_backlink_props): devalon_backlink_resolved;
|
|
39
|
+
/**
|
|
40
|
+
* Resolves a backlink, filling in an auto-detected `site_url` when the caller
|
|
41
|
+
* did not provide one. With no detectable source the link stays clean.
|
|
42
|
+
*/
|
|
43
|
+
export declare function resolve_backlink_auto(props: devalon_backlink_props, env?: devalon_backlink_env): devalon_backlink_resolved;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export { devalonHeadersConfig, devalonHeadersMiddleware, withDevalonHeaders, } f
|
|
|
4
4
|
export type { devalon_headers_config, devalon_headers_middleware, devalon_headers_middleware_config, devalon_headers_request, devalon_headers_response, } from "./headers";
|
|
5
5
|
export { devalonAgentFiles, devalonHumansBlock, devalonHumansTxt, devalonHumansTxtResponse, devalonLlmsBlock, devalonLlmsTxt, devalonLlmsTxtResponse, mergeDevalonHumansTxt, mergeDevalonLlmsTxt, } from "./agent-files";
|
|
6
6
|
export type { devalon_agent_files, devalon_agent_files_config, } from "./agent-files";
|
|
7
|
-
export { BACKLINK_SENTENCES, DEFAULT_ANCHOR, resolve_backlink, } from "./backlink";
|
|
8
|
-
export type { devalon_backlink_props, devalon_backlink_resolved, } from "./backlink";
|
|
7
|
+
export { BACKLINK_SENTENCES, BACKLINK_SOURCE_ENV_KEYS, DEFAULT_ANCHOR, detect_site_url, resolve_backlink, resolve_backlink_auto, runtime_env, } from "./backlink";
|
|
8
|
+
export type { devalon_backlink_env, devalon_backlink_props, devalon_backlink_resolved, } from "./backlink";
|
|
9
9
|
export { devalonJsonLdScript, devalon_json_ld_script_content, serialize_json_ld, } from "./json-ld";
|
|
10
10
|
export type { devalon_json_ld_props } from "./json-ld";
|
|
11
11
|
export type { devalon_alternates_props } from "./alternates";
|
package/dist/next/index.d.ts
CHANGED
|
@@ -3,6 +3,10 @@ export type { devalon_agent_files_config } from "./agent-files";
|
|
|
3
3
|
export { build_devalon_alternates_metadata } from "./alternates";
|
|
4
4
|
export { DevalonBacklink } from "./backlink";
|
|
5
5
|
export type { devalon_backlink_props } from "./backlink";
|
|
6
|
+
export { BACKLINK_SENTENCES, DEFAULT_ANCHOR, detect_site_url, resolve_backlink, resolve_backlink_auto, runtime_env, } from "../core/backlink";
|
|
7
|
+
export type { devalon_backlink_env, devalon_backlink_resolved, } from "../core/backlink";
|
|
8
|
+
export { devalonBacklinkSiteUrlFromHeaders } from "./source";
|
|
9
|
+
export type { devalon_headers_like } from "./source";
|
|
6
10
|
export { devalonHeadersConfig, withDevalonHeaders, } from "./headers";
|
|
7
11
|
export type { devalon_headers_config } from "./headers";
|
|
8
12
|
export { DevalonJsonLd } from "./json-ld";
|