@teleporthq/teleport-shared
Advanced tools
Comparing version
@@ -1,3 +0,3 @@ | ||
import { ComponentUIDL, UIDLStyleDefinitions, UIDLConditionalNode, UIDLElement, UIDLNode, UIDLStaticValue, UIDLAttributeValue, UIDLDynamicReference, UIDLRepeatContent, UIDLRepeatMeta, UIDLElementNode, UIDLDependency, UIDLStyleValue, UIDLStyleSheetContent, UIDLComponentStyleReference } from '@teleporthq/teleport-types'; | ||
export declare const extractRoutes: (rootComponent: ComponentUIDL) => UIDLConditionalNode[]; | ||
import { ComponentUIDL, UIDLStyleDefinitions, UIDLConditionalNode, UIDLElement, UIDLNode, UIDLStaticValue, UIDLAttributeValue, UIDLDynamicReference, UIDLRepeatContent, UIDLRepeatMeta, UIDLElementNode, UIDLDependency, UIDLStyleValue, UIDLStyleSheetContent, UIDLComponentStyleReference, UIDLRootComponent } from '@teleporthq/teleport-types'; | ||
export declare const extractRoutes: (rootComponent: UIDLRootComponent) => UIDLConditionalNode[]; | ||
export declare const createWebComponentFriendlyName: (componentName: string) => string; | ||
@@ -4,0 +4,0 @@ export declare const setFriendlyOutputOptions: (uidl: ComponentUIDL) => void; |
@@ -1,3 +0,3 @@ | ||
import { ComponentUIDL, UIDLStyleDefinitions, UIDLConditionalNode, UIDLElement, UIDLNode, UIDLStaticValue, UIDLAttributeValue, UIDLDynamicReference, UIDLRepeatContent, UIDLRepeatMeta, UIDLElementNode, UIDLDependency, UIDLStyleValue, UIDLStyleSheetContent, UIDLComponentStyleReference } from '@teleporthq/teleport-types'; | ||
export declare const extractRoutes: (rootComponent: ComponentUIDL) => UIDLConditionalNode[]; | ||
import { ComponentUIDL, UIDLStyleDefinitions, UIDLConditionalNode, UIDLElement, UIDLNode, UIDLStaticValue, UIDLAttributeValue, UIDLDynamicReference, UIDLRepeatContent, UIDLRepeatMeta, UIDLElementNode, UIDLDependency, UIDLStyleValue, UIDLStyleSheetContent, UIDLComponentStyleReference, UIDLRootComponent } from '@teleporthq/teleport-types'; | ||
export declare const extractRoutes: (rootComponent: UIDLRootComponent) => UIDLConditionalNode[]; | ||
export declare const createWebComponentFriendlyName: (componentName: string) => string; | ||
@@ -4,0 +4,0 @@ export declare const setFriendlyOutputOptions: (uidl: ComponentUIDL) => void; |
{ | ||
"name": "@teleporthq/teleport-shared", | ||
"version": "0.21.7", | ||
"version": "0.22.0", | ||
"description": "A utility belt for the entire teleportHQ ecosystem", | ||
@@ -28,7 +28,7 @@ "author": "teleportHQ", | ||
"@babel/types": "^7.5.5", | ||
"@teleporthq/teleport-types": "^0.21.7", | ||
"@teleporthq/teleport-types": "^0.22.0", | ||
"jss": "^10.0.0", | ||
"jss-preset-default": "^10.0.0" | ||
}, | ||
"gitHead": "48be43d762946d091c2c2b21759658ad48d3c02e" | ||
"gitHead": "d89d91377a8a2bd5e2771d12b713567cba5a04c1" | ||
} |
@@ -23,5 +23,6 @@ import { ASSETS_IDENTIFIER } from '../constants' | ||
UIDLComponentStyleReference, | ||
UIDLRootComponent, | ||
} from '@teleporthq/teleport-types' | ||
export const extractRoutes = (rootComponent: ComponentUIDL) => { | ||
export const extractRoutes = (rootComponent: UIDLRootComponent) => { | ||
// Assuming root element starts with a UIDLElementNode | ||
@@ -28,0 +29,0 @@ const rootElement = rootComponent.node.content as UIDLElement |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
166499
0.23%2389
0.04%+ Added
- Removed