@twotaps/site-utils
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -1,2 +0,2 @@ | ||
import { TTSchemaFieldType } from "src/__generated__/globalTypes"; | ||
import { TTSchemaFieldType } from "../../__generated__/globalTypes"; | ||
export interface Page_page_publishedRevision_schema_properties { | ||
@@ -6,4 +6,8 @@ __typename: "PageRevisionSchemaProperties"; | ||
name: string; | ||
value: string[]; | ||
value: any; | ||
} | ||
export interface Page_page_publishedRevision_schema_ttschema_fields_typeTTSchema { | ||
__typename: "TTSchemaEntityDto"; | ||
id: number; | ||
} | ||
export interface Page_page_publishedRevision_schema_ttschema_fields { | ||
@@ -15,6 +19,24 @@ __typename: "TTSchemaFieldEntityDto"; | ||
hasMultipleValues: boolean; | ||
typeTTSchema: { | ||
id: number; | ||
}; | ||
typeTTSchema: Page_page_publishedRevision_schema_ttschema_fields_typeTTSchema | null; | ||
} | ||
export interface Page_page_publishedRevision_schema_ttschema_subSchemas_fields_typeTTSchema { | ||
__typename: "TTSchemaEntityDto"; | ||
id: number; | ||
} | ||
export interface Page_page_publishedRevision_schema_ttschema_subSchemas_fields { | ||
__typename: "TTSchemaFieldEntityDto"; | ||
id: number; | ||
name: string; | ||
type: TTSchemaFieldType; | ||
hasMultipleValues: boolean; | ||
typeTTSchema: Page_page_publishedRevision_schema_ttschema_subSchemas_fields_typeTTSchema | null; | ||
} | ||
export interface Page_page_publishedRevision_schema_ttschema_subSchemas { | ||
__typename: "TTSchemaEntityDto"; | ||
id: number; | ||
name: string; | ||
titlePlural: string; | ||
titleSingular: string; | ||
fields: Page_page_publishedRevision_schema_ttschema_subSchemas_fields[]; | ||
} | ||
export interface Page_page_publishedRevision_schema_ttschema { | ||
@@ -27,3 +49,3 @@ __typename: "TTSchemaEntityDto"; | ||
fields: Page_page_publishedRevision_schema_ttschema_fields[]; | ||
subSchemas: Page_page_publishedRevision_schema_ttschema[]; | ||
subSchemas: Page_page_publishedRevision_schema_ttschema_subSchemas[]; | ||
} | ||
@@ -47,2 +69,3 @@ export interface Page_page_publishedRevision_schema { | ||
urlSegment: string; | ||
metaDescription: string; | ||
publishedRevision: Page_page_publishedRevision | null; | ||
@@ -49,0 +72,0 @@ } |
import { TTSchemaProperties } from "./page.dto"; | ||
import { PageDto } from "./page.dto"; | ||
import { Page_page, Page_page_publishedRevision_schema_ttschema, Page_page_publishedRevision_schema_ttschema_fields } from "./__generated__/Page"; | ||
import { Page_page, Page_page_publishedRevision_schema_ttschema_fields, Page_page_publishedRevision_schema_ttschema_subSchemas } from "./__generated__/Page"; | ||
export declare function getComponentsDictFromModules(modules: any[]): {}; | ||
export declare function propertyMapping(properties: TTSchemaProperties[], fields: Page_page_publishedRevision_schema_ttschema_fields[], schemas: Page_page_publishedRevision_schema_ttschema[]): {}; | ||
export declare function propertyMapping(properties: TTSchemaProperties[], fields: Page_page_publishedRevision_schema_ttschema_fields[], schemas: Page_page_publishedRevision_schema_ttschema_subSchemas[]): {}; | ||
export declare class PageService { | ||
@@ -7,0 +7,0 @@ private readonly apolloClient; |
{ | ||
"name": "@twotaps/site-utils", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "This package provides helper code for building twotaps public sites", | ||
@@ -12,6 +12,8 @@ "prepare": "yarn build", | ||
"license": "MIT", | ||
"bin": "./bin", | ||
"bin": { | ||
"site-utils": "bin" | ||
}, | ||
"scripts": { | ||
"pre:build": "yarn generate-schema", | ||
"clean": "yarn rimraf dist", | ||
"clean": "rm -rf dist", | ||
"build": "yarn tsc --build tsconfig.json", | ||
@@ -40,3 +42,11 @@ "build-watch": "yarn clean && yarn build --watch", | ||
"path": "^0.12.7" | ||
} | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/ltnetwork/twotaps-duo.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/ltnetwork/twotaps-duo/issues" | ||
}, | ||
"homepage": "https://github.com/ltnetwork/twotaps-duo#readme" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
19778
23
350
0