@stephenchenorg/astro-graphql 10.0.0 → 10.0.1
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,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql0 from "graphql";
|
|
2
2
|
|
|
3
3
|
//#region src/company-setting/fragments.d.ts
|
|
4
|
-
declare const companySettingFields:
|
|
4
|
+
declare const companySettingFields: graphql0.DocumentNode;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { companySettingFields };
|
package/dist/page/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql3 from "graphql";
|
|
2
2
|
import { PageMeta } from "@stephenchenorg/astro/page";
|
|
3
3
|
|
|
4
4
|
//#region src/page/field/fragments.d.ts
|
|
@@ -6,7 +6,7 @@ import { PageMeta } from "@stephenchenorg/astro/page";
|
|
|
6
6
|
* Page fields fragment requires explicit import image
|
|
7
7
|
* fields fragment `imageFields` from Image module.
|
|
8
8
|
*/
|
|
9
|
-
declare const pageFields:
|
|
9
|
+
declare const pageFields: graphql3.DocumentNode;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/page/types.d.ts
|
|
12
12
|
interface DataPage {
|
|
@@ -76,6 +76,6 @@ declare function pageTextField(fields: PageField[], key: string): string | null;
|
|
|
76
76
|
declare function pageImageFieldForBackground(fields: PageField[], key: string): string;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/page/seo-meta/fragments.d.ts
|
|
79
|
-
declare const seoMetaFields: (dummyClass: string) =>
|
|
79
|
+
declare const seoMetaFields: (dummyClass: string) => graphql3.DocumentNode;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { DataPage, Page, PageContentField, PageField, PageImageField, PagePlainTextField, PagePlainTextareaField, isContentField, isImageField, isPlainTextField, isPlainTextareaField, pageFields, pageImageFieldForBackground, pageTextField, seoMetaFields };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stephenchenorg/astro-graphql",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "10.0.
|
|
4
|
+
"version": "10.0.1",
|
|
5
5
|
"description": "Stephenchenorg Astro 前端 GraphQL 整合串接套件",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://stephenchenorg-astro.netlify.app",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"api"
|
|
17
17
|
],
|
|
18
18
|
"exports": {
|
|
19
|
+
"./package.json": "./package.json",
|
|
19
20
|
"./api": {
|
|
20
21
|
"types": "./dist/api/index.d.ts",
|
|
21
22
|
"import": "./dist/api/index.js"
|
|
@@ -68,8 +69,8 @@
|
|
|
68
69
|
},
|
|
69
70
|
"devDependencies": {
|
|
70
71
|
"@astrojs/check": "^0.9.6",
|
|
71
|
-
"astro": "^5.16.
|
|
72
|
-
"tsdown": "^0.
|
|
72
|
+
"astro": "^5.16.11",
|
|
73
|
+
"tsdown": "^0.19.0",
|
|
73
74
|
"typescript": "^5.9.3"
|
|
74
75
|
}
|
|
75
76
|
}
|