@getcronit/pylon 3.0.0-canary-20250303121751.7a1e28546f22cace7b91da6877508f76107e42aa → 3.0.0-canary-20250312165208.46197dc9c25d1dd116094865809ccb1f6dbab78e

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.
@@ -1,7 +0,0 @@
1
- export type PageRoute = {
2
- pagePath: string;
3
- slug: string;
4
- layouts: string[];
5
- };
6
- export declare function getPageRoutes(dir?: string): Promise<PageRoute[]>;
7
- export declare const generateAppFile: (pageRoutes: PageRoute[]) => string;
@@ -1,2 +0,0 @@
1
- import { Plugin } from '../../..';
2
- export declare const build: Plugin['build'];
@@ -1,2 +0,0 @@
1
- import { Plugin } from 'esbuild';
2
- export declare const imagePlugin: Plugin;
@@ -1,2 +0,0 @@
1
- import { Plugin } from 'esbuild';
2
- export declare const injectAppHydrationPlugin: Plugin;
@@ -1,2 +0,0 @@
1
- import { Plugin } from 'esbuild';
2
- export declare const postcssPlugin: Plugin;
@@ -1,4 +0,0 @@
1
- import { Plugin } from '../..';
2
- import { PageData, PageProps } from './setup';
3
- export { PageData, PageProps };
4
- export declare function usePages(): Plugin;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { PageProps } from '..';
3
- export declare const AppLoader: (props: {
4
- client: any;
5
- pylonData: {
6
- pageProps: Omit<PageProps, "data">;
7
- cacheSnapshot?: any;
8
- };
9
- App: React.FC<{
10
- pageProps: PageProps;
11
- }>;
12
- Router: React.FC<any>;
13
- routerProps: any;
14
- }) => any;
@@ -1,10 +0,0 @@
1
- import { type Plugin } from '../../../index';
2
- export interface PageData {
3
- }
4
- export type PageProps = {
5
- data: PageData;
6
- params: Record<string, string>;
7
- searchParams: Record<string, string>;
8
- path: string;
9
- };
10
- export declare const setup: Plugin['setup'];