Socket
Socket
Sign inDemoInstall

noodl-types

Package Overview
Dependencies
0
Maintainers
7
Versions
240
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.274 to 1.0.275

0

dist/__tests__/identify.test.d.ts
export {};

@@ -0,0 +0,0 @@ "use strict";

export declare const componentTypes: readonly ["button", "chart", "divider", "footer", "header", "image", "label", "list", "listItem", "page", "plugin", "pluginHead", "pluginBodyTail", "popUp", "register", "select", "scrollView", "textField", "textView", "video", "view", "richtext"];
export declare const minimalStyleKeys: string[];
export declare const minimalBorderStyleKeys: string[];

@@ -0,0 +0,0 @@ "use strict";

export * from './utils';

@@ -0,0 +0,0 @@ "use strict";

2

dist/_internal/types.d.ts

@@ -1,1 +0,1 @@

export type OrArray<V = any> = V | V[];
export declare type OrArray<V = any> = V | V[];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map

@@ -0,0 +0,0 @@ import type { NameField, ReferenceString } from '../ecosTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { LiteralUnion } from 'type-fest';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=actionTypes.js.map

@@ -6,3 +6,3 @@ import type { ActionObject } from './actionTypes';

import type { ActionChain, EmitObject, EmitObjectFold, GotoObject, IfObject, Path, TextBoardObject } from './uncategorizedTypes';
export type UncommonComponentObjectProps = {
export declare type UncommonComponentObjectProps = {
[key in EventType]: ActionChain;

@@ -151,2 +151,2 @@ } & {

}
export type PageComponentUrl<S extends string = string> = S extends `${string}@${string}#${string}` ? S : string;
export declare type PageComponentUrl<S extends string = string> = S extends `${string}@${string}#${string}` ? S : string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=componentTypes.js.map

@@ -57,2 +57,2 @@ export declare const action: {

export declare const styleKeys: readonly ["FontSize", "axis", "background", "backgroundColor", "border", "borderColor", "borderRadius", "borderRaduis", "borderWidth", "boxShadow", "boxSizing", "color", "contentSize", "diaplay", "display", "filter", "float", "flex", "flexFlow", "fontColor", "fontFamily", "fontSize", "fontStyle", "fontWeight", "foontWeight", "height", "hieght", "isHidden", "justifyContent", "left", "letterSpacing", "lineHeight", "marginLeft", "marginTop", "onClick", "padding", "paddingBottom", "paddingLeft", "placeholder", "position", "required", "shadow", "text-align", "textAlign", "textDecoration", "textIndent", "top", "width", "zIndex"];
export declare const userEvent: readonly ["onBlur", "onClick", "onChange", "onFocus", "onHover", "onInput", "onMouseEnter", "onMouseLeave", "onMouseOut", "onMouseOver", "onLazyLoading", "onPull", "onContextmenu", "startRecord", "pauseRecord", "resumeRecord", "endRecord", "finishRecord", "errorRecord", "beforeFinish", "deleteCallBack", "imageClick", "onGenerateClick"];
export declare const userEvent: readonly ["onBlur", "onClick", "onChange", "onFocus", "onHover", "onInput", "onMouseEnter", "onMouseLeave", "onMouseOut", "onMouseOver", "onLazyLoading", "onPull", "onContextmenu", "startRecord", "pauseRecord", "resumeRecord", "endRecord", "finishRecord", "errorRecord", "beforeFinish", "deleteCallBack", "imageClick", "onGenerateClick", "onVoiceClick", "onTextClick"];

@@ -189,4 +189,6 @@ "use strict";

'imageClick',
'onGenerateClick'
'onGenerateClick',
'onVoiceClick',
'onTextClick'
];
//# sourceMappingURL=constants.js.map
import * as c from './constants';
export type ActionType = typeof c.actionTypes[number];
export type ComponentType = typeof c.componentTypes[number];
export type ContentType = typeof c.contentTypes[number];
export type EventType = typeof c.userEvent[number];
export declare type ActionType = typeof c.actionTypes[number];
export declare type ComponentType = typeof c.componentTypes[number];
export declare type ContentType = typeof c.contentTypes[number];
export declare type EventType = typeof c.userEvent[number];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=constantTypes.js.map
import type { LiteralUnion } from 'type-fest';
import type { EmitObjectFold, IfObject } from './uncategorizedTypes';
import type { OrArray } from './_internal/types';
export type RootConfig = Record<DeviceType, RootConfigDeviceVersionObject> & {
export declare type RootConfig = Record<DeviceType, RootConfigDeviceVersionObject> & {
/**

@@ -192,3 +192,3 @@ * @example

*/
export type BuiltInEvalObject<S extends string = string> = Record<ReferenceString<`builtIn${S}`, '=.'>, Partial<Record<'dataIn' | 'dataOut', OrArray<DataIn | DataOut>>> | string>;
export declare type BuiltInEvalObject<S extends string = string> = Record<ReferenceString<`builtIn${S}`, '=.'>, Partial<Record<'dataIn' | 'dataOut', OrArray<DataIn | DataOut>>> | string>;
/**

@@ -199,8 +199,8 @@ * Strings that represent data that may mutate a value depending on if it is referencing a path.

*/
export type BuiltInEvalReference<S extends string> = ReferenceString<`builtIn${S}`, '=.'>;
export type DataIn = OrArray<EmitObjectFold | IfObject | PolymorphicObject | string>;
export type DataOut = OrArray<EmitObjectFold | IfObject | PolymorphicObject | string>;
export type DeviceType = 'android' | 'ios' | 'web';
export type Env = 'stable' | 'test';
export type EcosDocument<NF extends NameField = NameField, MT extends MediaType = MediaType> = {
export declare type BuiltInEvalReference<S extends string> = ReferenceString<`builtIn${S}`, '=.'>;
export declare type DataIn = OrArray<EmitObjectFold | IfObject | PolymorphicObject | string>;
export declare type DataOut = OrArray<EmitObjectFold | IfObject | PolymorphicObject | string>;
export declare type DeviceType = 'android' | 'ios' | 'web';
export declare type Env = 'stable' | 'test';
export declare type EcosDocument<NF extends NameField = NameField, MT extends MediaType = MediaType> = {
id?: string | null;

@@ -252,3 +252,3 @@ ctime?: number | null;

}
export type Deat = DeatObject | number;
export declare type Deat = DeatObject | number;
export interface DeatObject {

@@ -260,14 +260,14 @@ url?: string;

}
export type MediaType = AudioMediaType | DocMediaType | FontMediaType | ImageMediaType | MessageMediaType | ModelMediaType | MultipartMediaType | OtherMediaType | TextMediaType | VideoMediaType;
export type OtherMediaType = 0;
export type DocMediaType = 1;
export type AudioMediaType = 2;
export type FontMediaType = 3;
export type ImageMediaType = 4;
export type MessageMediaType = 5;
export type ModelMediaType = 6;
export type MultipartMediaType = 7;
export type TextMediaType = 8;
export type VideoMediaType = 9;
export type ReferenceSymbol = '.' | '..' | '=' | '~/' | '@';
export declare type MediaType = AudioMediaType | DocMediaType | FontMediaType | ImageMediaType | MessageMediaType | ModelMediaType | MultipartMediaType | OtherMediaType | TextMediaType | VideoMediaType;
export declare type OtherMediaType = 0;
export declare type DocMediaType = 1;
export declare type AudioMediaType = 2;
export declare type FontMediaType = 3;
export declare type ImageMediaType = 4;
export declare type MessageMediaType = 5;
export declare type ModelMediaType = 6;
export declare type MultipartMediaType = 7;
export declare type TextMediaType = 8;
export declare type VideoMediaType = 9;
export declare type ReferenceSymbol = '.' | '..' | '=' | '~/' | '@';
/**

@@ -283,4 +283,4 @@ * Strings that behave like placeholders which in addition mutates the value at referenced path when updates occur.

*/
export type ReferenceString<K extends string = string, S extends ReferenceSymbol | '=..' | '=.' = ReferenceSymbol | '=..' | '=.'> = S extends '.' ? `.${K}` : S extends '..' ? `..${K}` : S extends '=.' ? `=${Extract<ReferenceSymbol, '.'> | never}${K}` : S extends '=..' ? `=${Extract<ReferenceSymbol, '..'> | never}${K}` : S extends '=' ? `=${Extract<ReferenceSymbol, '..' | '.'> | never}${K}` : S extends '~/' ? `~/${K}` : S extends '@' ? `${K}@` : `=..${K}` | `=.${K}` | `${Exclude<ReferenceSymbol, '@'>}${K}` | `${K}${Extract<ReferenceSymbol, '@'>}`;
export type ReferenceObject<K extends string = string, V = any> = Record<K extends ReferenceString ? ReferenceString : K, OrArray<V>>;
export declare type ReferenceString<K extends string = string, S extends ReferenceSymbol | '=..' | '=.' = ReferenceSymbol | '=..' | '=.'> = S extends '.' ? `.${K}` : S extends '..' ? `..${K}` : S extends '=.' ? `=${Extract<ReferenceSymbol, '.'> | never}${K}` : S extends '=..' ? `=${Extract<ReferenceSymbol, '..'> | never}${K}` : S extends '=' ? `=${Extract<ReferenceSymbol, '..' | '.'> | never}${K}` : S extends '~/' ? `~/${K}` : S extends '@' ? `${K}@` : `=..${K}` | `=.${K}` | `${Exclude<ReferenceSymbol, '@'>}${K}` | `${K}${Extract<ReferenceSymbol, '@'>}`;
export declare type ReferenceObject<K extends string = string, V = any> = Record<K extends ReferenceString ? ReferenceString : K, OrArray<V>>;
/**

@@ -292,2 +292,2 @@ * Polymorphic objects are object literals where keys are either plain strings

*/
export type PolymorphicObject = ReferenceObject<string, OrArray<ReferenceObject<ReferenceString, ReferenceObject>>>;
export declare type PolymorphicObject = ReferenceObject<string, OrArray<ReferenceObject<ReferenceString, ReferenceObject>>>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ecosTypes.js.map

@@ -0,0 +0,0 @@ import isAwaitReference from './utils/isAwaitReference';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './actionTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ComponentObject } from './componentTypes';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=pageTypes.js.map

@@ -287,4 +287,4 @@ export interface StyleObject {

}
export type StyleAlign = 'centerX' | 'centerY';
export type StyleAxis = 'horizontal' | 'vertical';
export declare type StyleAlign = 'centerX' | 'centerY';
export declare type StyleAxis = 'horizontal' | 'vertical';
export interface StyleBorderObject {

@@ -297,4 +297,4 @@ style?: '1' | '2' | '3' | '4' | '5' | '6' | '7' | 1 | 2 | 3 | 4 | 5 | 6 | 7;

}
export type StyleTextAlign = StyleAlign | StyleTextAlignObject | 'center' | 'left' | 'right';
export type StyleTextAlignDirection = 'left' | 'center' | 'right';
export declare type StyleTextAlign = StyleAlign | StyleTextAlignObject | 'center' | 'left' | 'right';
export declare type StyleTextAlignDirection = 'left' | 'center' | 'right';
export interface StyleTextAlignObject {

@@ -304,4 +304,4 @@ x?: 'center' | 'centerX' | 'left' | 'right';

}
export type VpUnit = 'vh' | 'vw';
export type VpValue = `${string}${VpUnit}`;
export type KnownStyleKeys = 'align' | 'axis' | 'background' | 'backgroundColor' | 'border' | 'borderColor' | 'borderRadius' | 'borderWidth' | 'boxShadow' | 'boxSizing' | 'color' | 'contentSize' | 'display' | 'flex' | 'flexFlow' | 'float' | 'fontColor' | 'fontFamily' | 'fontSize' | 'fontStyle' | 'fontWeight' | 'height' | 'isHidden' | 'justifyContent' | 'left' | 'letterSpacing' | 'lineHeight' | 'marginBottom' | 'marginLeft' | 'marginRight' | 'marginTop' | 'maxHeight' | 'maxWidth' | 'minHeight' | 'minWidth' | 'outline' | 'padding' | 'paddingBottom' | 'paddingLeft' | 'paddingRight' | 'paddingTop' | 'position' | 'required' | 'shadow' | 'textAlign' | 'textColor' | 'textDecoration' | 'textIndent' | 'top' | 'width' | 'zIndex';
export declare type VpUnit = 'vh' | 'vw';
export declare type VpValue = `${string}${VpUnit}`;
export declare type KnownStyleKeys = 'align' | 'axis' | 'background' | 'backgroundColor' | 'border' | 'borderColor' | 'borderRadius' | 'borderWidth' | 'boxShadow' | 'boxSizing' | 'color' | 'contentSize' | 'display' | 'flex' | 'flexFlow' | 'float' | 'fontColor' | 'fontFamily' | 'fontSize' | 'fontStyle' | 'fontWeight' | 'height' | 'isHidden' | 'justifyContent' | 'left' | 'letterSpacing' | 'lineHeight' | 'marginBottom' | 'marginLeft' | 'marginRight' | 'marginTop' | 'maxHeight' | 'maxWidth' | 'minHeight' | 'minWidth' | 'outline' | 'padding' | 'paddingBottom' | 'paddingLeft' | 'paddingRight' | 'paddingTop' | 'position' | 'required' | 'shadow' | 'textAlign' | 'textColor' | 'textDecoration' | 'textIndent' | 'top' | 'width' | 'zIndex';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=styleTypes.js.map

@@ -5,9 +5,9 @@ import type { LiteralUnion } from 'type-fest';

import type { StyleObject } from './styleTypes';
export type ActionChain = (ActionObject | EmitObjectFold | GotoObject | IfObject)[];
export type BuiltInDataInDataOutObject<S extends string = string> = Record<`=.builtIn${S}`, {
export declare type ActionChain = (ActionObject | EmitObjectFold | GotoObject | IfObject)[];
export declare type BuiltInDataInDataOutObject<S extends string = string> = Record<`=.builtIn${S}`, {
dataIn: any;
dataOut: string;
}>;
export type BuiltInEmptyObject<S extends string = string> = Record<`=.builtIn${S}`, '' | null | undefined>;
export type ConfigKey = LiteralUnion<'aitmed', string>;
export declare type BuiltInEmptyObject<S extends string = string> = Record<`=.builtIn${S}`, '' | null | undefined>;
export declare type ConfigKey = LiteralUnion<'aitmed', string>;
export interface DesignSuffix {

@@ -25,9 +25,9 @@ widthHeightRatioThreshold?: number;

}
export type EmitObjectFold<O extends Record<string, any> = Record<string, any>> = O & {
export declare type EmitObjectFold<O extends Record<string, any> = Record<string, any>> = O & {
emit: EmitObject;
};
export type Extension = LiteralUnion<'yml', string>;
export type FileSuffix = `.${string}`;
export type FileName = `${string}.${Extension}`;
export type GotoUrl = string;
export declare type Extension = LiteralUnion<'yml', string>;
export declare type FileSuffix = `.${string}`;
export declare type FileName = `${string}.${Extension}`;
export declare type GotoUrl = string;
export interface GotoObject<V = string> {

@@ -45,4 +45,4 @@ goto: V;

}
export type Path<V = any> = V extends string ? string : V extends EmitObjectFold ? EmitObjectFold : V extends IfObject ? IfObject : EmitObjectFold | IfObject | string;
export type TextBoardObject = ({
export declare type Path<V = any> = V extends string ? string : V extends EmitObjectFold ? EmitObjectFold : V extends IfObject ? IfObject : EmitObjectFold | IfObject | string;
export declare type TextBoardObject = ({
br?: '' | null;

@@ -57,2 +57,2 @@ } | {

}
export type Value = any[] | Record<string, any> | ReferenceString | boolean | number | string | '' | null;
export declare type Value = any[] | Record<string, any> | ReferenceString | boolean | number | string | '' | null;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=uncategorizedTypes.js.map

@@ -0,0 +0,0 @@ import type { ReferenceString } from '../ecosTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ReferenceString } from '../ecosTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ReferenceString } from '../ecosTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ReferenceString } from '../ecosTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ReferenceString } from '../ecosTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ReferenceString } from '../ecosTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import type { ReferenceString } from '../ecosTypes';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -34,3 +34,3 @@ {

"types": "dist/index.d.ts",
"version": "1.0.274"
"version": "1.0.275"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc