PathsOptions
katanakit-js / PathsOptions
Interface: PathsOptions<T, TParam, TProps>
Section titled “Interface: PathsOptions<T, TParam, TProps>”Defined in: types/adapters/astro.ts:15
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T |
- |
TParam extends string |
string |
TProps |
T |
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
param? |
TParam |
types/adapters/astro.ts:16 |
paramsFrom? |
(item) => Record<string, string> |
types/adapters/astro.ts:19 |
propsFrom? |
(item) => TProps |
types/adapters/astro.ts:18 |
valueFrom? |
(item) => string | number |
types/adapters/astro.ts:17 |