@takeshape/ssg 11.59.0 → 11.60.0
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/generate/types.d.ts +1 -1
- package/dist/graphql/analyze.js +1 -1
- package/dist/graphql/index.d.ts +4 -4
- package/dist/graphql/index.js +4 -4
- package/dist/graphql/migrate.js +2 -2
- package/dist/graphql/pagination.js +1 -1
- package/dist/graphql/query.d.ts +1 -1
- package/dist/graphql/query.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/package.json +4 -4
package/dist/generate/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GraphQLSchema } from 'graphql';
|
|
2
2
|
import type { Config, FileLoader, PaginateConfig, RouteConfig, RoutesMap } from '../config.ts';
|
|
3
|
-
import type { Data, GraphQLConnector,
|
|
3
|
+
import type { Data, GraphQLConnector, RenderedPage, RenderTemplate, Stats } from '../types.ts';
|
|
4
4
|
export type GenerateResult = {
|
|
5
5
|
pages: RenderedPage[];
|
|
6
6
|
stats: Stats;
|
package/dist/graphql/analyze.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
2
|
import BbPromise from 'bluebird';
|
|
3
|
-
import {
|
|
3
|
+
import { getLocation, isListType, isObjectType, parse, Source, TypeInfo, visit, visitWithTypeInfo } from 'graphql';
|
|
4
4
|
import { getGraphQLQueries } from "../config.js";
|
|
5
5
|
import { getFields, getItemType } from "./query.js";
|
|
6
6
|
const startLocation = { line: 1, column: 1 };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { getQueryIterator } from './pagination.ts';
|
|
3
|
-
export { connectorWithMigrations } from './migrate.ts';
|
|
1
|
+
export { getFieldUsage, getTypeUsage, type TypeUsage } from './analyze.ts';
|
|
4
2
|
export { getClientSchema } from './client-schema.ts';
|
|
3
|
+
export { connectorWithMigrations } from './migrate.ts';
|
|
4
|
+
export { getQueryIterator } from './pagination.ts';
|
|
5
5
|
export { withQueryTransforms } from './query.ts';
|
|
6
|
-
export {
|
|
6
|
+
export { schemaConnectorFactory } from './schema-connector-factory.ts';
|
package/dist/graphql/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { getQueryIterator } from "./pagination.js";
|
|
3
|
-
export { connectorWithMigrations } from "./migrate.js";
|
|
1
|
+
export { getFieldUsage, getTypeUsage } from "./analyze.js";
|
|
4
2
|
export { getClientSchema } from "./client-schema.js";
|
|
3
|
+
export { connectorWithMigrations } from "./migrate.js";
|
|
4
|
+
export { getQueryIterator } from "./pagination.js";
|
|
5
5
|
export { withQueryTransforms } from "./query.js";
|
|
6
|
-
export {
|
|
6
|
+
export { schemaConnectorFactory } from "./schema-connector-factory.js";
|
package/dist/graphql/migrate.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { parse, Source } from 'graphql';
|
|
2
|
+
import { getLocation, Kind, print } from 'graphql/language';
|
|
3
3
|
import { updateQuery } from "./ast.js";
|
|
4
4
|
function wrapListQuerySelection(selectionSet) {
|
|
5
5
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { parse, print, TypeInfo, visit, visitWithTypeInfo } from 'graphql';
|
|
2
2
|
import get from 'lodash/get.js';
|
|
3
3
|
import keyBy from 'lodash/keyBy.js';
|
|
4
4
|
import GraphQLError from "../errors/graphql-error.js";
|
package/dist/graphql/query.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type DocumentNode, type GraphQLOutputType, type GraphQLSchema } from 'graphql';
|
|
2
1
|
import type { GraphQLFieldMap } from 'graphql';
|
|
2
|
+
import { type DocumentNode, type GraphQLOutputType, type GraphQLSchema } from 'graphql';
|
|
3
3
|
import type { GraphQLConnector } from '../types.ts';
|
|
4
4
|
export declare function getItemType(fieldType: GraphQLOutputType): GraphQLOutputType;
|
|
5
5
|
export declare function getFields(type: GraphQLOutputType): GraphQLFieldMap<any, any> | undefined;
|
package/dist/graphql/query.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Kind,
|
|
1
|
+
import { Kind, parse, print, TypeInfo, visit, visitWithTypeInfo } from 'graphql';
|
|
2
2
|
import { addQueryVariables, createArgument, createVariableDefinition, updateQuery, wrapQuery } from "./ast.js";
|
|
3
3
|
export function getItemType(fieldType) {
|
|
4
4
|
return 'ofType' in fieldType ? fieldType.ofType : fieldType;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as generate, generateRoute } from './generate/index.ts';
|
|
2
1
|
export * from './config.ts';
|
|
3
|
-
export * from './graphql/index.ts';
|
|
4
|
-
export * from './files.ts';
|
|
5
2
|
export * from './errors/index.ts';
|
|
3
|
+
export * from './files.ts';
|
|
4
|
+
export { default as generate, generateRoute } from './generate/index.ts';
|
|
5
|
+
export * from './graphql/index.ts';
|
|
6
6
|
export * from './types.ts';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as generate, generateRoute } from "./generate/index.js";
|
|
2
1
|
export * from "./config.js";
|
|
3
|
-
export * from "./graphql/index.js";
|
|
4
|
-
export * from "./files.js";
|
|
5
2
|
export * from "./errors/index.js";
|
|
3
|
+
export * from "./files.js";
|
|
4
|
+
export { default as generate, generateRoute } from "./generate/index.js";
|
|
5
|
+
export * from "./graphql/index.js";
|
|
6
6
|
export * from "./types.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/ssg",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.60.0",
|
|
4
4
|
"description": "Static Site Generator",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"prismjs": "^1.22.0",
|
|
44
44
|
"pumpify": "^2.0.1",
|
|
45
45
|
"resolve": "^1.19.0",
|
|
46
|
-
"@takeshape/routing": "11.
|
|
47
|
-
"@takeshape/
|
|
48
|
-
"@takeshape/
|
|
46
|
+
"@takeshape/routing": "11.60.0",
|
|
47
|
+
"@takeshape/streams": "11.60.0",
|
|
48
|
+
"@takeshape/util": "11.60.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/bluebird": "^3.5.33",
|