@toddledev/ssr
Advanced tools
Comparing version 0.0.1 to 0.0.2-alpha
@@ -1,2 +0,2 @@ | ||
import type { Component } from '@toddledev/core/src/component/component.types'; | ||
import type { Component } from '@toddledev/core/dist/component/component.types'; | ||
import type { ProjectFiles } from '@toddledev/ssr/src/ssr.types'; | ||
@@ -3,0 +3,0 @@ export declare function takeIncludedComponents({ root, projectComponents, packages, includeRoot, }: { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.takeIncludedComponents = takeIncludedComponents; | ||
const util_1 = require("@toddledev/core/src/utils/util"); | ||
const util_1 = require("@toddledev/core/dist/utils/util"); | ||
function takeIncludedComponents({ root, projectComponents, packages = {}, includeRoot = true, }) { | ||
@@ -6,0 +6,0 @@ const components = { |
@@ -1,3 +0,3 @@ | ||
import { PageRoute } from '@toddledev/core/src/component/component.types'; | ||
import { FormulaContext } from '@toddledev/core/src/formula/formula'; | ||
import { PageRoute } from '@toddledev/core/dist/component/component.types'; | ||
import { FormulaContext } from '@toddledev/core/dist/formula/formula'; | ||
export declare const getHtmlLanguage: ({ pageInfo, formulaContext, defaultLanguage, }: { | ||
@@ -4,0 +4,0 @@ pageInfo?: PageRoute["info"]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getHtmlLanguage = void 0; | ||
const formula_1 = require("@toddledev/core/src/formula/formula"); | ||
const formula_1 = require("@toddledev/core/dist/formula/formula"); | ||
const getHtmlLanguage = ({ pageInfo, formulaContext, defaultLanguage = 'en', }) => pageInfo?.language | ||
@@ -6,0 +6,0 @@ ? (0, formula_1.applyFormula)(pageInfo.language.formula, formulaContext) |
@@ -1,2 +0,2 @@ | ||
import { PageComponent } from '@toddledev/core/src/component/component.types'; | ||
import { PageComponent } from '@toddledev/core/dist/component/component.types'; | ||
import { ProjectFiles } from '@toddledev/ssr/src/ssr.types'; | ||
@@ -3,0 +3,0 @@ export declare const matchPageForUrl: ({ url, components, }: { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getPathSegments = exports.get404Page = exports.matchPageForUrl = void 0; | ||
const util_1 = require("@toddledev/core/src/utils/util"); | ||
const util_1 = require("@toddledev/core/dist/utils/util"); | ||
const matchPageForUrl = ({ url, components, }) => { | ||
@@ -6,0 +6,0 @@ const pathSegments = (0, exports.getPathSegments)(url); |
{ | ||
"name": "@toddledev/ssr", | ||
"version": "0.0.1", | ||
"version": "0.0.2-alpha", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/toddledev/toddle", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
29019