@plasmicapp/loader-gatsby 1.0.320 → 1.0.321
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/dist/gatsby-node.d.ts +16 -7
- package/dist/gatsby-ssr.d.ts +11 -1
- package/dist/index.d.ts +86 -5
- package/package.json +5 -5
- package/dist/loader.d.ts +0 -2
- package/dist/server-require.d.ts +0 -1
package/dist/gatsby-node.d.ts
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { GatsbyNode } from 'gatsby';
|
|
2
|
+
import { InitOptions } from '@plasmicapp/loader-react';
|
|
3
|
+
import { PluginOptions } from 'gatsby';
|
|
4
|
+
|
|
5
|
+
export declare const createPages: GatsbyNode["createPages"];
|
|
6
|
+
|
|
7
|
+
export declare const createResolvers: GatsbyNode["createResolvers"];
|
|
8
|
+
|
|
9
|
+
export declare const createSchemaCustomization: GatsbyNode["createSchemaCustomization"];
|
|
10
|
+
|
|
11
|
+
export declare type GatsbyPluginOptions = PluginOptions & InitOptions & {
|
|
5
12
|
defaultPlasmicPage?: string;
|
|
6
13
|
ignorePaths?: string[];
|
|
7
14
|
};
|
|
15
|
+
|
|
16
|
+
export declare const onPreInit: GatsbyNode["onPreInit"];
|
|
17
|
+
|
|
8
18
|
export declare const sourceNodes: GatsbyNode["sourceNodes"];
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
export declare const createPages: GatsbyNode["createPages"];
|
|
19
|
+
|
|
20
|
+
export { }
|
package/dist/gatsby-ssr.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { InitOptions } from '@plasmicapp/loader-react';
|
|
2
|
+
import { PluginOptions } from 'gatsby';
|
|
3
|
+
|
|
2
4
|
export declare function fetchServerFiles(opts: GatsbyPluginOptions): Promise<void>;
|
|
5
|
+
|
|
6
|
+
declare type GatsbyPluginOptions = PluginOptions & InitOptions & {
|
|
7
|
+
defaultPlasmicPage?: string;
|
|
8
|
+
ignorePaths?: string[];
|
|
9
|
+
};
|
|
10
|
+
|
|
3
11
|
export declare const replaceRenderer: ({ bodyComponent, replaceBodyHTMLString }: any, opts: GatsbyPluginOptions) => Promise<void>;
|
|
12
|
+
|
|
13
|
+
export { }
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { CodeComponentMeta } from '@plasmicapp/loader-react';
|
|
2
|
+
import { ComponentMeta } from '@plasmicapp/loader-react';
|
|
3
|
+
import { ComponentRenderData } from '@plasmicapp/loader-react';
|
|
4
|
+
import { DataCtxReader } from '@plasmicapp/loader-react';
|
|
5
|
+
import { DataProvider } from '@plasmicapp/loader-react';
|
|
6
|
+
import { GatsbyNode } from 'gatsby';
|
|
7
|
+
import { InitOptions } from '@plasmicapp/loader-react';
|
|
8
|
+
import { PageMeta } from '@plasmicapp/loader-react';
|
|
9
|
+
import { PageMetadata } from '@plasmicapp/loader-react';
|
|
10
|
+
import { PageParamsProvider } from '@plasmicapp/loader-react';
|
|
11
|
+
import { PlasmicCanvasContext } from '@plasmicapp/loader-react';
|
|
12
|
+
import { PlasmicCanvasHost } from '@plasmicapp/loader-react';
|
|
13
|
+
import { PlasmicComponent } from '@plasmicapp/loader-react';
|
|
14
|
+
import { PlasmicComponentLoader } from '@plasmicapp/loader-react';
|
|
15
|
+
import { PlasmicRootProvider } from '@plasmicapp/loader-react';
|
|
16
|
+
import { PlasmicTranslator } from '@plasmicapp/loader-react';
|
|
17
|
+
import { PluginOptions } from 'gatsby';
|
|
18
|
+
import { PropType } from '@plasmicapp/loader-react';
|
|
19
|
+
import { repeatedElement } from '@plasmicapp/loader-react';
|
|
20
|
+
import { TokenRegistration } from '@plasmicapp/loader-react';
|
|
21
|
+
import { useDataEnv } from '@plasmicapp/loader-react';
|
|
22
|
+
import { usePlasmicCanvasContext } from '@plasmicapp/loader-react';
|
|
23
|
+
import { usePlasmicComponent } from '@plasmicapp/loader-react';
|
|
24
|
+
import { useSelector } from '@plasmicapp/loader-react';
|
|
25
|
+
import { useSelectors } from '@plasmicapp/loader-react';
|
|
26
|
+
|
|
27
|
+
export { CodeComponentMeta }
|
|
28
|
+
|
|
29
|
+
export { ComponentMeta }
|
|
30
|
+
|
|
31
|
+
export { ComponentRenderData }
|
|
32
|
+
|
|
33
|
+
export declare const createPages: GatsbyNode["createPages"];
|
|
34
|
+
|
|
35
|
+
export declare const createResolvers: GatsbyNode["createResolvers"];
|
|
36
|
+
|
|
37
|
+
export { DataCtxReader }
|
|
38
|
+
|
|
39
|
+
export { DataProvider }
|
|
40
|
+
|
|
41
|
+
declare type GatsbyPluginOptions = PluginOptions & InitOptions & {
|
|
42
|
+
defaultPlasmicPage?: string;
|
|
43
|
+
ignorePaths?: string[];
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export { InitOptions }
|
|
47
|
+
|
|
48
|
+
export declare function initPlasmicLoader(opts: InitOptions): PlasmicComponentLoader;
|
|
49
|
+
|
|
50
|
+
export { PageMeta }
|
|
51
|
+
|
|
52
|
+
export { PageMetadata }
|
|
53
|
+
|
|
54
|
+
export { PageParamsProvider }
|
|
55
|
+
|
|
56
|
+
export { PlasmicCanvasContext }
|
|
57
|
+
|
|
58
|
+
export { PlasmicCanvasHost }
|
|
59
|
+
|
|
60
|
+
export { PlasmicComponent }
|
|
61
|
+
|
|
62
|
+
export { PlasmicRootProvider }
|
|
63
|
+
|
|
64
|
+
export { PlasmicTranslator }
|
|
65
|
+
|
|
66
|
+
export { PropType }
|
|
67
|
+
|
|
68
|
+
export { repeatedElement }
|
|
69
|
+
|
|
70
|
+
export declare const replaceRenderer: ({ bodyComponent, replaceBodyHTMLString }: any, opts: GatsbyPluginOptions) => Promise<void>;
|
|
71
|
+
|
|
72
|
+
export declare const sourceNodes: GatsbyNode["sourceNodes"];
|
|
73
|
+
|
|
74
|
+
export { TokenRegistration }
|
|
75
|
+
|
|
76
|
+
export { useDataEnv }
|
|
77
|
+
|
|
78
|
+
export { usePlasmicCanvasContext }
|
|
79
|
+
|
|
80
|
+
export { usePlasmicComponent }
|
|
81
|
+
|
|
82
|
+
export { useSelector }
|
|
83
|
+
|
|
84
|
+
export { useSelectors }
|
|
85
|
+
|
|
86
|
+
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/loader-gatsby",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.321",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"gatsby": "^5.11.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@plasmicapp/loader-core": "1.0.
|
|
66
|
-
"@plasmicapp/loader-react": "1.0.
|
|
67
|
-
"@plasmicapp/watcher": "1.0.
|
|
65
|
+
"@plasmicapp/loader-core": "1.0.120",
|
|
66
|
+
"@plasmicapp/loader-react": "1.0.318",
|
|
67
|
+
"@plasmicapp/watcher": "1.0.80",
|
|
68
68
|
"lodash": "^4.17.21"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "48a2877c3dc093d101508fcdde2fd213055fdab9"
|
|
71
71
|
}
|
package/dist/loader.d.ts
DELETED
package/dist/server-require.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function serverRequire(module: string): any;
|