@fluixi/head 0.1.0-alpha.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.
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/index.d.ts","../../reactive/dist/lib/observable/types.d.ts","../../reactive/dist/lib/observable/subscription.d.ts","../../reactive/dist/lib/observable/observable.d.ts","../../reactive/dist/lib/signal/graph/detect.d.ts","../../reactive/dist/lib/signal/graph/derived.d.ts","../../reactive/dist/lib/signal/graph/runtime.d.ts","../../reactive/dist/lib/signal/graph/compat.d.ts","../../reactive/dist/lib/signal/graph/children.d.ts","../../reactive/dist/lib/signal/graph/ssr-hooks.d.ts","../../reactive/dist/lib/signal/signal.d.ts","../../reactive/dist/lib/signal/list.d.ts","../../reactive/dist/lib/signal/graph/resource.d.ts","../../reactive/dist/lib/signal/graph/suspense.d.ts","../../reactive/dist/lib/signal/graph/error-boundary.d.ts","../../reactive/dist/lib/signal/graph/core.d.ts","../../reactive/dist/lib/signal/graph/index.d.ts","../../reactive/dist/lib/signal/graph/signal-next.d.ts","../../reactive/dist/lib/signal/index.d.ts","../src/types.ts","../src/core.ts","../src/components.ts","../src/serialize.ts","../src/transport.ts","../src/reconcile.ts","../src/jsonld.ts","../src/sitemap.ts","../src/index.ts"],"fileIdsList":[[53],[54,73,74],[54,72,73],[54,73,74,75,76,77,78,79,80],[54],[54,72,73,74,76],[54,76],[54,72],[56],[55],[61],[60],[64],[69],[58,59,60,61,62,63,64,65,66,67,68,70],[71],[57,58,59,62,63]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"b8f34dd1757f68e03262b1ca3ddfa668a855b872f8bdd5224d6f993a7b37dc2c","impliedFormat":99},{"version":"e592cf1b998ce8043e72ca38e2f40c5631e65e937e3102223f7086140bf979a3","impliedFormat":99},{"version":"0ceea501c52cdf869e3562ea96fca2785a3394a9e1e446afb5e11092ad2dc7fc","impliedFormat":99},{"version":"ebe92631232ee90bd0cd2668b349a8ecf869a42f94aa5a80505aaf7833be6819","impliedFormat":99},{"version":"892323d83df6c419a9f961e7156e70184b4a27638de72f7b92931ab3c165298e","impliedFormat":99},{"version":"ed51ea7ddcddfe0523b5a8d3112c55f8494f3f419ad6b830a1aac7dfe499a8ab","impliedFormat":99},{"version":"f930ceeb25ec3a15c78ff12771c202a67164e232a5b588635c89603c6c961928","impliedFormat":99},{"version":"96e415a91946f00ac400e74dfeb26b575aade405169df35621a822e6b4d5abf0","impliedFormat":99},{"version":"e8be3e24c3b98c301590ee0fefc462accc9a0f1fa674f62a3b63be9786ef9a99","impliedFormat":99},{"version":"e08f70018aeffb92654e466522e4b194b712da2091b20bdb0922c8441f2a43b7","impliedFormat":99},{"version":"97b4ab5a8db570e67a3a764a456486d97b8808b658e0e0a3eb9e38b63270d086","impliedFormat":99},{"version":"1f33d92b487c119aee6f7cf04ac95c0dab317c228b388fead9d7d87540f8adf7","impliedFormat":99},{"version":"e972de4985925f07d08dfb7eb73a400506f75b3596cac60591fab948eade26b7","impliedFormat":99},{"version":"c03135439ad665f4a011a75586bf96098f6fe0b0716e78afc8cdf651bcc8f879","impliedFormat":99},{"version":"290111961dc134d534be036cd591c09a0e65ceed2fcf9aa9666ae2bcdac7034f","impliedFormat":99},{"version":"ac292cffbb31f9c76b09f7b0c630cfc2b9c7e5070dfc4472cfc60023ec447bd2","impliedFormat":99},{"version":"ac23329299d15c989ebe7e62bb1858a58de39aa3cd4fb1265e93ddc6d9631b07","impliedFormat":99},{"version":"16b49126ba492eb0b4abc93a518addf8ca7e850bed2fc56c111ffa768d23113e","impliedFormat":99},{"version":"1122b4ca26147813c76ac7a2f38911854cb2bd5cf0af003f578175f3db1c3aee","impliedFormat":99},{"version":"f750b799cdc512c83058dc8e283df3042fb06e6055a401fa08848b63ddb6151d","signature":"24f1729f5f6ac5f7ffa0af00cda41d8829a669dba666ae844640d85bbd1ccf31","impliedFormat":99},{"version":"d4cac26dc6a9f531ebe82bcd408caa994c9c22ba4bb7c5e5543efdb69d0ed6ff","signature":"c754353736627d493d87b015e9a1644b1017192184bef4a872df9f588264302b","impliedFormat":99},{"version":"443eec365a25060f41e198c154dd440e5a3c0be93e3b2e36c65de0b16b90543a","signature":"880db5da134fcf5169e7f4ad553ab850c2eba41892bd9f4f8ebd68f554459051","impliedFormat":99},{"version":"aafbd4e2863168f7e3afc0edc42154322778de38c2fc6f16b9e123540c81ab53","signature":"2932ca1163434a0518e079bc06ea83f012a9275094967cf9351bd321b4d498fe","impliedFormat":99},{"version":"3de1dd5de7138a39f0cb2c5fcc73a2ac2cf1506de6b965e873488d2ed40bdd62","signature":"a6750496dd5b35c94c23fb93b8b526bfe4553ba72ae9c682696f2e8d40516020","impliedFormat":99},{"version":"5cb4fe438597cdd24a8ffc9a2ee90500d641709bd2d9f0b677d938a2cbf4f98a","signature":"f0ccb7165e12cdc7a8e9456aad79d5d875fbf5cf342809b33f315c133f09c2fa","impliedFormat":99},{"version":"6cc8b13a1d250c61f28d8b4d9db6f1e1a75637afa213ee8de5b16e348af55269","signature":"411e31a03a0069f6ef923d114cefc6e614bdf037662428576d5f8c5451108c2b","impliedFormat":99},{"version":"901106d91b5d2a09c1afb7b96cf9364b5c2557c50334784f85149dda66502750","signature":"61438cfd151f86ee0ce8133fd1f4707cdd09a924852dae7e3875046bf83cef1e","impliedFormat":99},{"version":"b9a9b4b5cb4b3c055f64c07505f29a9e25e65ed7ebdd4200dee0649f2a5fb659","signature":"fa2aae455473d171334f3d5ab16547787cca9cde77ccea46bf14db600d5947e3","impliedFormat":99}],"root":[[73,81]],"options":{"composite":true,"declarationMap":true,"emitDeclarationOnly":false,"importHelpers":true,"module":199,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.lib.tsbuildinfo"},"referencedMap":[[54,1],[75,2],[74,3],[81,4],[79,5],[78,6],[76,2],[80,5],[77,7],[73,8],[57,9],[56,10],[55,9],[62,11],[61,12],[59,13],[58,13],[68,12],[70,14],[71,15],[67,12],[72,16],[65,11],[64,17]],"latestChangedDtsFile":"./index.d.ts","version":"5.8.3"}
@@ -0,0 +1,205 @@
1
+ import type { Accessor } from '@fluixi/reactive/signal';
2
+ /** A value that may be static or a reactive accessor (signal/memo). */
3
+ export type Reactive<T> = T | Accessor<T>;
4
+ export interface OGImage {
5
+ url: string;
6
+ secureUrl?: string;
7
+ type?: string;
8
+ width?: number;
9
+ height?: number;
10
+ alt?: string;
11
+ }
12
+ export interface OpenGraph {
13
+ title?: string;
14
+ description?: string;
15
+ type?: string;
16
+ url?: string;
17
+ siteName?: string;
18
+ locale?: string;
19
+ localeAlternate?: string[];
20
+ image?: string | OGImage | Array<string | OGImage>;
21
+ video?: string | {
22
+ url: string;
23
+ type?: string;
24
+ width?: number;
25
+ height?: number;
26
+ };
27
+ audio?: string | {
28
+ url: string;
29
+ type?: string;
30
+ };
31
+ /** og:article:* */
32
+ article?: {
33
+ publishedTime?: string;
34
+ modifiedTime?: string;
35
+ expirationTime?: string;
36
+ author?: string | string[];
37
+ section?: string;
38
+ tag?: string | string[];
39
+ };
40
+ /** og:book:* */
41
+ book?: {
42
+ author?: string | string[];
43
+ isbn?: string;
44
+ releaseDate?: string;
45
+ tag?: string | string[];
46
+ };
47
+ /** og:profile:* */
48
+ profile?: {
49
+ firstName?: string;
50
+ lastName?: string;
51
+ username?: string;
52
+ gender?: string;
53
+ };
54
+ }
55
+ export interface TwitterCard {
56
+ card?: 'summary' | 'summary_large_image' | 'player' | 'app';
57
+ site?: string;
58
+ creator?: string;
59
+ title?: string;
60
+ description?: string;
61
+ image?: string;
62
+ imageAlt?: string;
63
+ player?: string;
64
+ playerWidth?: number;
65
+ playerHeight?: number;
66
+ app?: {
67
+ name?: string;
68
+ idIphone?: string;
69
+ idIpad?: string;
70
+ idGooglePlay?: string;
71
+ };
72
+ }
73
+ export interface RobotsMeta {
74
+ index?: boolean;
75
+ follow?: boolean;
76
+ noarchive?: boolean;
77
+ nosnippet?: boolean;
78
+ noimageindex?: boolean;
79
+ maxSnippet?: number;
80
+ maxImagePreview?: 'none' | 'standard' | 'large';
81
+ maxVideoPreview?: number;
82
+ }
83
+ export interface AlternateLink {
84
+ hreflang: string;
85
+ href: string;
86
+ }
87
+ export interface IconInput {
88
+ /** favicon(s) — rel="icon" */
89
+ icon?: string | Array<{
90
+ url: string;
91
+ type?: string;
92
+ sizes?: string;
93
+ }>;
94
+ /** apple-touch-icon */
95
+ apple?: string | Array<{
96
+ url: string;
97
+ sizes?: string;
98
+ }>;
99
+ /** mask-icon (Safari pinned tab) */
100
+ mask?: {
101
+ url: string;
102
+ color?: string;
103
+ };
104
+ /** rel="shortcut icon" */
105
+ shortcut?: string;
106
+ /** msapplication-TileImage / TileColor */
107
+ msTileImage?: string;
108
+ msTileColor?: string;
109
+ }
110
+ export interface MetaTag {
111
+ name?: string;
112
+ property?: string;
113
+ httpEquiv?: string;
114
+ charset?: string;
115
+ content?: string;
116
+ [attr: string]: string | undefined;
117
+ }
118
+ export interface LinkTag {
119
+ rel?: string;
120
+ href?: string;
121
+ [attr: string]: string | undefined;
122
+ }
123
+ export interface ScriptTag {
124
+ src?: string;
125
+ type?: string;
126
+ /** inline body */
127
+ children?: string;
128
+ [attr: string]: string | undefined;
129
+ }
130
+ /** The full, typed head/SEO input. Every field accepts a reactive accessor where it makes sense. */
131
+ export interface HeadInput {
132
+ title?: Reactive<string>;
133
+ /** e.g. "%s · Fluixi". Inherited from layouts; applied to the most specific title. */
134
+ titleTemplate?: string | ((title: string) => string);
135
+ description?: Reactive<string>;
136
+ keywords?: Reactive<string | string[]>;
137
+ author?: string;
138
+ robots?: string | RobotsMeta;
139
+ canonical?: Reactive<string>;
140
+ /** <html lang> */
141
+ lang?: Reactive<string>;
142
+ themeColor?: Reactive<string>;
143
+ viewport?: string;
144
+ charset?: string;
145
+ generator?: string;
146
+ applicationName?: string;
147
+ referrer?: string;
148
+ colorScheme?: string;
149
+ manifest?: string;
150
+ og?: OpenGraph;
151
+ twitter?: TwitterCard;
152
+ /** Structured data — one object or many. Emitted as <script type="application/ld+json">. */
153
+ jsonLd?: Reactive<object | object[]>;
154
+ /** hreflang alternates. */
155
+ alternates?: AlternateLink[];
156
+ /** RSS/Atom feeds → <link rel="alternate" type="application/rss+xml">. */
157
+ feeds?: Array<{
158
+ href: string;
159
+ title?: string;
160
+ type?: string;
161
+ }>;
162
+ icons?: IconInput;
163
+ verification?: {
164
+ google?: string;
165
+ bing?: string;
166
+ yandex?: string;
167
+ pinterest?: string;
168
+ [k: string]: string | undefined;
169
+ };
170
+ base?: string;
171
+ /** Escape hatches — anything not first-classed above. */
172
+ meta?: MetaTag[];
173
+ link?: LinkTag[];
174
+ script?: ScriptTag[];
175
+ }
176
+ /** A normalized, deduplicated head tag (the resolver's output). */
177
+ export type HeadTag = {
178
+ tag: 'title';
179
+ key: 'title';
180
+ children: string;
181
+ } | {
182
+ tag: 'meta';
183
+ key: string;
184
+ attrs: Record<string, string>;
185
+ } | {
186
+ tag: 'link';
187
+ key: string;
188
+ attrs: Record<string, string>;
189
+ } | {
190
+ tag: 'base';
191
+ key: 'base';
192
+ attrs: Record<string, string>;
193
+ } | {
194
+ tag: 'script';
195
+ key: string;
196
+ attrs: Record<string, string>;
197
+ children?: string;
198
+ } | {
199
+ tag: 'htmlAttr';
200
+ key: string;
201
+ name: string;
202
+ value: string;
203
+ };
204
+ export type HeadSource = HeadInput | (() => HeadInput);
205
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","s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AAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAC3D;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAC3D;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAChF;IAAE,GAAG,EAAE,UAAU,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAElE,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,CAAC,MAAM,SAAS,CAAC,CAAC"}
package/dist/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@fluixi/head",
3
+ "version": "0.1.0-alpha.20",
4
+ "description": "Built-in reactive, SSR-first SEO & document-head management for Fluixi — title, meta, Open Graph, Twitter, JSON-LD, canonical, hreflang, sitemap & robots.",
5
+ "type": "module",
6
+ "exports": {
7
+ "./package.json": "./package.json",
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js",
11
+ "default": "./dist/index.js"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "README.md"
17
+ ],
18
+ "publishConfig": {
19
+ "registry": "https://registry.npmjs.org/",
20
+ "access": "public"
21
+ },
22
+ "peerDependencies": {
23
+ "@fluixi/reactive": "1.0.0-alpha.53"
24
+ },
25
+ "devDependencies": {
26
+ "@fluixi/reactive": "1.0.0-alpha.53"
27
+ },
28
+ "scripts": {
29
+ "build": "tsc -p tsconfig.lib.json",
30
+ "test": "vitest run"
31
+ }
32
+ }