@zerotal/inertia 1.7.4 → 1.7.5
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/api-surface.md +0 -18
- package/package.json +2 -2
package/api-surface.md
CHANGED
|
@@ -188,16 +188,10 @@ const inertiaStream = PageRenderer
|
|
|
188
188
|
|
|
189
189
|
const route = RouteBuilder
|
|
190
190
|
|
|
191
|
-
function _getHtmlTemplate = () => string
|
|
192
|
-
|
|
193
|
-
function _setHtmlTemplate = (html: string) => void
|
|
194
|
-
|
|
195
191
|
function always = { <T>(value: PropFactory<T>): AlwaysProp<T>; <T>(value: T): AlwaysProp<T>;}
|
|
196
192
|
|
|
197
193
|
function assetVersion = () => string
|
|
198
194
|
|
|
199
|
-
function buildPageObject = (component: string, props: Record<string, unknown>) => Promise<PageObject>
|
|
200
|
-
|
|
201
195
|
function clearHistory = () => void
|
|
202
196
|
|
|
203
197
|
function deepMerge = { <T>(value: PropFactory<T>): MergeProp<T>; <T>(value: T): MergeProp<T>;}
|
|
@@ -206,14 +200,10 @@ function defer = <T>(callback: PropFactory<T>, group?: string, options?: { re
|
|
|
206
200
|
|
|
207
201
|
function defineRoutes = (table: RouteTable) => void
|
|
208
202
|
|
|
209
|
-
function detectVuePlugin = (cwd: string) => Promise<BunPlugin[]>
|
|
210
|
-
|
|
211
203
|
function devtoolsEnabled = () => boolean
|
|
212
204
|
|
|
213
205
|
function encryptHistory = (on?: boolean) => void
|
|
214
206
|
|
|
215
|
-
function generatePageRegistry = (cwd?: string, pagesDir?: string) => Promise<void>
|
|
216
|
-
|
|
217
207
|
function hasRoute = (name: string) => boolean
|
|
218
208
|
|
|
219
209
|
function InertiaConfig = (options?: Partial<InertiaConfigShape>) => InertiaConfigShape
|
|
@@ -230,18 +220,10 @@ function optional = <T>(callback: PropFactory<T>) => OptionalProp<T>
|
|
|
230
220
|
|
|
231
221
|
function resetRoutes = () => void
|
|
232
222
|
|
|
233
|
-
function resolveProps = (raw: Record<string, unknown>, headers: Headers, component: string) => Promise<ResolvedPage>
|
|
234
|
-
|
|
235
223
|
function scroll = (value: PaginatorLike | PropFactory, options?: { pageName?: string; dataPath?: string;}) => InfiniteScrollProp
|
|
236
224
|
|
|
237
|
-
function setAssetVersion = (v: string) => void
|
|
238
|
-
|
|
239
|
-
function setHistoryEncryptionDefault = (on: boolean) => void
|
|
240
|
-
|
|
241
225
|
function share = { (key: string, value: unknown): void; (values: Record<string, unknown>): void;}
|
|
242
226
|
|
|
243
|
-
function sharedProps = () => Record<string, unknown>
|
|
244
|
-
|
|
245
227
|
interface DevtoolsEntry = {
|
|
246
228
|
__meta: { id: string; method: string; url: string; status: number; requestType: DevtoolsRequestType; component: string | null; timestamp: string; utime: number; tabUuid: string | null; batchId: string | null; serverTimingMs: number | null; redirectLocation?: string | null; visitId?: string | null;}
|
|
247
229
|
componentPath: string | null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zerotal/inertia",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"maturity": "stable",
|
|
6
6
|
"private": false,
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typecheck": "tsc --noEmit"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@zerotal/core": "1.7.
|
|
36
|
+
"@zerotal/core": "1.7.5"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "^18 || ^19",
|