Socket
Socket
Sign inDemoInstall

noodl-types

Package Overview
Dependencies
0
Maintainers
6
Versions
240
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.258 to 1.0.260

2

dist/_internal/types.d.ts

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

export declare type OrArray<V = any> = V | V[];
export type OrArray<V = any> = V | V[];

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

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

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

}
export declare type PageComponentUrl<S extends string = string> = S extends `${string}@${string}#${string}` ? S : string;
export type PageComponentUrl<S extends string = string> = S extends `${string}@${string}#${string}` ? S : string;
import * as c from './constants';
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];
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];
import type { LiteralUnion } from 'type-fest';
import type { EmitObjectFold, IfObject } from './uncategorizedTypes';
import type { OrArray } from './_internal/types';
export declare type RootConfig = Record<DeviceType, RootConfigDeviceVersionObject> & {
export type RootConfig = Record<DeviceType, RootConfigDeviceVersionObject> & {
/**

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

*/
export declare type BuiltInEvalObject<S extends string = string> = Record<ReferenceString<`builtIn${S}`, '=.'>, Partial<Record<'dataIn' | 'dataOut', OrArray<DataIn | DataOut>>> | string>;
export 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 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> = {
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> = {
id?: string | null;

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

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

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

}
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 = '.' | '..' | '=' | '~/' | '@';
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 = '.' | '..' | '=' | '~/' | '@';
/**

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

*/
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>>;
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>>;
/**

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

*/
export declare type PolymorphicObject = ReferenceObject<string, OrArray<ReferenceObject<ReferenceString, ReferenceObject>>>;
export type PolymorphicObject = ReferenceObject<string, OrArray<ReferenceObject<ReferenceString, ReferenceObject>>>;

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

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

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

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

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

}
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';
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';
import type { ReferenceString } from './ecosTypes';
import type { ActionObject } from './actionTypes';
import type { StyleObject } from './styleTypes';
export declare type ActionChain = (ActionObject | EmitObjectFold | GotoObject | IfObject)[];
export type ActionChain = (ActionObject | EmitObjectFold | GotoObject | IfObject)[];
export interface EmitObject {

@@ -12,6 +12,6 @@ actions: any[];

}
export declare type EmitObjectFold<O extends Record<string, any> = Record<string, any>> = O & {
export type EmitObjectFold<O extends Record<string, any> = Record<string, any>> = O & {
emit: EmitObject;
};
export declare type GotoUrl = string;
export type GotoUrl = string;
export interface GotoObject<V = string> {

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

}
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 = ({
export type Path<V = any> = V extends string ? string : V extends EmitObjectFold ? EmitObjectFold : V extends IfObject ? IfObject : EmitObjectFold | IfObject | string;
export type TextBoardObject = ({
br?: '' | null;

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

}
export declare type Value = any[] | Record<string, any> | ReferenceString | boolean | number | string | '' | null;
export type Value = any[] | Record<string, any> | ReferenceString | boolean | number | string | '' | null;

@@ -33,3 +33,3 @@ {

"types": "dist/index.d.ts",
"version": "1.0.258"
"version": "1.0.260"
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc