@intlayer/types
Advanced tools
@@ -34,2 +34,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
| exports.PLUGIN_NODE_TYPES = require_nodeType.PLUGIN_NODE_TYPES; | ||
| exports.PLURAL = require_nodeType.PLURAL; | ||
| exports.PREACT_NODE = require_nodeType.PREACT_NODE; | ||
@@ -36,0 +37,0 @@ exports.REACT_NODE = require_nodeType.REACT_NODE; |
@@ -6,2 +6,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
| const ENUMERATION = "enumeration"; | ||
| const PLURAL = "plural"; | ||
| const CONDITION = "condition"; | ||
@@ -31,2 +32,3 @@ const INSERTION = "insertion"; | ||
| ENUMERATION, | ||
| PLURAL, | ||
| CONDITION, | ||
@@ -64,2 +66,3 @@ INSERTION, | ||
| exports.PLUGIN_NODE_TYPES = PLUGIN_NODE_TYPES; | ||
| exports.PLURAL = PLURAL; | ||
| exports.PREACT_NODE = PREACT_NODE; | ||
@@ -66,0 +69,0 @@ exports.REACT_NODE = REACT_NODE; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"nodeType.cjs","names":[],"sources":["../../src/nodeType.ts"],"sourcesContent":["export const TRANSLATION = 'translation' as const;\nexport const ENUMERATION = 'enumeration' as const;\nexport const CONDITION = 'condition' as const;\nexport const INSERTION = 'insertion' as const;\nexport const FILE = 'file' as const;\nexport const OBJECT = 'object' as const;\nexport const ARRAY = 'array' as const;\nexport const NESTED = 'nested' as const;\nexport const REACT_NODE = 'reactNode' as const;\nexport const PREACT_NODE = 'preactNode' as const;\nexport const SOLID_NODE = 'solidNode' as const;\nexport const MARKDOWN = 'markdown' as const;\nexport const HTML = 'html' as const;\nexport const TEXT = 'text' as const;\nexport const NUMBER = 'number' as const;\nexport const BOOLEAN = 'boolean' as const;\nexport const GENDER = 'gender' as const;\nexport const NULL = 'null' as const;\nexport const UNKNOWN = 'unknown' as const;\n\n/**\n * NodeType strings that correspond to plugins that can be conditionally\n * removed from the bundle when unused.\n */\nexport const PLUGIN_NODE_TYPES: readonly [\n typeof TRANSLATION,\n typeof ENUMERATION,\n typeof CONDITION,\n typeof INSERTION,\n typeof GENDER,\n typeof NESTED,\n typeof FILE,\n typeof MARKDOWN,\n typeof HTML,\n typeof REACT_NODE,\n typeof PREACT_NODE,\n typeof SOLID_NODE,\n] = [\n TRANSLATION,\n ENUMERATION,\n CONDITION,\n INSERTION,\n GENDER,\n NESTED,\n FILE,\n MARKDOWN,\n HTML,\n REACT_NODE,\n PREACT_NODE,\n SOLID_NODE,\n] as const;\n\nexport type NodeType =\n | typeof TRANSLATION\n | typeof ENUMERATION\n | typeof CONDITION\n | typeof INSERTION\n | typeof FILE\n | typeof OBJECT\n | typeof ARRAY\n | typeof NESTED\n | typeof REACT_NODE\n | typeof PREACT_NODE\n | typeof SOLID_NODE\n | typeof MARKDOWN\n | typeof HTML\n | typeof TEXT\n | typeof NUMBER\n | typeof BOOLEAN\n | typeof GENDER\n | typeof NULL\n | typeof UNKNOWN;\n\ntype AdditionalAttributesType = {\n [key: string]: unknown;\n};\n\nexport type TypedNodeModel<\n T extends NodeType,\n Content,\n AdditionalAttributes extends AdditionalAttributesType = {},\n> = {\n nodeType: T;\n} & {\n [K in T]: Content;\n} & AdditionalAttributes;\n\nexport const formatNodeType = <\n T extends NodeType,\n Content = unknown,\n AdditionalAttributes extends AdditionalAttributesType = {},\n>(\n nodeType: T,\n content: Content,\n additionalAttributes?: { [key: string]: unknown }\n) =>\n ({\n ...additionalAttributes,\n nodeType,\n [nodeType]: content,\n }) as TypedNodeModel<T, Content, AdditionalAttributes>;\n"],"mappings":";;;AAAA,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,YAAY;AACzB,MAAa,YAAY;AACzB,MAAa,OAAO;AACpB,MAAa,SAAS;AACtB,MAAa,QAAQ;AACrB,MAAa,SAAS;AACtB,MAAa,aAAa;AAC1B,MAAa,cAAc;AAC3B,MAAa,aAAa;AAC1B,MAAa,WAAW;AACxB,MAAa,OAAO;AACpB,MAAa,OAAO;AACpB,MAAa,SAAS;AACtB,MAAa,UAAU;AACvB,MAAa,SAAS;AACtB,MAAa,OAAO;AACpB,MAAa,UAAU;;;;;AAMvB,MAAa,oBAaT;CACF;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAqCD,MAAa,kBAKX,UACA,SACA,0BAEC;CACC,GAAG;CACH;EACC,WAAW;CACb"} | ||
| {"version":3,"file":"nodeType.cjs","names":[],"sources":["../../src/nodeType.ts"],"sourcesContent":["export const TRANSLATION = 'translation' as const;\nexport const ENUMERATION = 'enumeration' as const;\nexport const PLURAL = 'plural' as const;\nexport const CONDITION = 'condition' as const;\nexport const INSERTION = 'insertion' as const;\nexport const FILE = 'file' as const;\nexport const OBJECT = 'object' as const;\nexport const ARRAY = 'array' as const;\nexport const NESTED = 'nested' as const;\nexport const REACT_NODE = 'reactNode' as const;\nexport const PREACT_NODE = 'preactNode' as const;\nexport const SOLID_NODE = 'solidNode' as const;\nexport const MARKDOWN = 'markdown' as const;\nexport const HTML = 'html' as const;\nexport const TEXT = 'text' as const;\nexport const NUMBER = 'number' as const;\nexport const BOOLEAN = 'boolean' as const;\nexport const GENDER = 'gender' as const;\nexport const NULL = 'null' as const;\nexport const UNKNOWN = 'unknown' as const;\n\n/**\n * NodeType strings that correspond to plugins that can be conditionally\n * removed from the bundle when unused.\n */\nexport const PLUGIN_NODE_TYPES: readonly [\n typeof TRANSLATION,\n typeof ENUMERATION,\n typeof PLURAL,\n typeof CONDITION,\n typeof INSERTION,\n typeof GENDER,\n typeof NESTED,\n typeof FILE,\n typeof MARKDOWN,\n typeof HTML,\n typeof REACT_NODE,\n typeof PREACT_NODE,\n typeof SOLID_NODE,\n] = [\n TRANSLATION,\n ENUMERATION,\n PLURAL,\n CONDITION,\n INSERTION,\n GENDER,\n NESTED,\n FILE,\n MARKDOWN,\n HTML,\n REACT_NODE,\n PREACT_NODE,\n SOLID_NODE,\n] as const;\n\nexport type NodeType =\n | typeof TRANSLATION\n | typeof ENUMERATION\n | typeof PLURAL\n | typeof CONDITION\n | typeof INSERTION\n | typeof FILE\n | typeof OBJECT\n | typeof ARRAY\n | typeof NESTED\n | typeof REACT_NODE\n | typeof PREACT_NODE\n | typeof SOLID_NODE\n | typeof MARKDOWN\n | typeof HTML\n | typeof TEXT\n | typeof NUMBER\n | typeof BOOLEAN\n | typeof GENDER\n | typeof NULL\n | typeof UNKNOWN;\n\ntype AdditionalAttributesType = {\n [key: string]: unknown;\n};\n\nexport type TypedNodeModel<\n T extends NodeType,\n Content,\n AdditionalAttributes extends AdditionalAttributesType = {},\n> = {\n nodeType: T;\n} & {\n [K in T]: Content;\n} & AdditionalAttributes;\n\nexport const formatNodeType = <\n T extends NodeType,\n Content = unknown,\n AdditionalAttributes extends AdditionalAttributesType = {},\n>(\n nodeType: T,\n content: Content,\n additionalAttributes?: { [key: string]: unknown }\n) =>\n ({\n ...additionalAttributes,\n nodeType,\n [nodeType]: content,\n }) as TypedNodeModel<T, Content, AdditionalAttributes>;\n"],"mappings":";;;AAAA,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,SAAS;AACtB,MAAa,YAAY;AACzB,MAAa,YAAY;AACzB,MAAa,OAAO;AACpB,MAAa,SAAS;AACtB,MAAa,QAAQ;AACrB,MAAa,SAAS;AACtB,MAAa,aAAa;AAC1B,MAAa,cAAc;AAC3B,MAAa,aAAa;AAC1B,MAAa,WAAW;AACxB,MAAa,OAAO;AACpB,MAAa,OAAO;AACpB,MAAa,SAAS;AACtB,MAAa,UAAU;AACvB,MAAa,SAAS;AACtB,MAAa,OAAO;AACpB,MAAa,UAAU;;;;;AAMvB,MAAa,oBAcT;CACF;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAsCD,MAAa,kBAKX,UACA,SACA,0BAEC;CACC,GAAG;CACH;EACC,WAAW;CACb"} |
@@ -1,2 +0,2 @@ | ||
| import { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, OBJECT, PLUGIN_NODE_TYPES, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, UNKNOWN, formatNodeType } from "./nodeType.mjs"; | ||
| import { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, OBJECT, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, UNKNOWN, formatNodeType } from "./nodeType.mjs"; | ||
| import "./dictionary.mjs"; | ||
@@ -11,2 +11,2 @@ import * as locales_exports from "./locales.mjs"; | ||
| export { ALL_LOCALES, ARRAY, AiProviders, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, locales_exports as Locales, MARKDOWN, NESTED, NULL, NUMBER, OBJECT, PLUGIN_NODE_TYPES, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, UNKNOWN, formatNodeType }; | ||
| export { ALL_LOCALES, ARRAY, AiProviders, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, locales_exports as Locales, MARKDOWN, NESTED, NULL, NUMBER, OBJECT, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, UNKNOWN, formatNodeType }; |
| //#region src/nodeType.ts | ||
| const TRANSLATION = "translation"; | ||
| const ENUMERATION = "enumeration"; | ||
| const PLURAL = "plural"; | ||
| const CONDITION = "condition"; | ||
@@ -28,2 +29,3 @@ const INSERTION = "insertion"; | ||
| ENUMERATION, | ||
| PLURAL, | ||
| CONDITION, | ||
@@ -47,3 +49,3 @@ INSERTION, | ||
| //#endregion | ||
| export { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, OBJECT, PLUGIN_NODE_TYPES, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, UNKNOWN, formatNodeType }; | ||
| export { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, OBJECT, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, UNKNOWN, formatNodeType }; | ||
| //# sourceMappingURL=nodeType.mjs.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"nodeType.mjs","names":[],"sources":["../../src/nodeType.ts"],"sourcesContent":["export const TRANSLATION = 'translation' as const;\nexport const ENUMERATION = 'enumeration' as const;\nexport const CONDITION = 'condition' as const;\nexport const INSERTION = 'insertion' as const;\nexport const FILE = 'file' as const;\nexport const OBJECT = 'object' as const;\nexport const ARRAY = 'array' as const;\nexport const NESTED = 'nested' as const;\nexport const REACT_NODE = 'reactNode' as const;\nexport const PREACT_NODE = 'preactNode' as const;\nexport const SOLID_NODE = 'solidNode' as const;\nexport const MARKDOWN = 'markdown' as const;\nexport const HTML = 'html' as const;\nexport const TEXT = 'text' as const;\nexport const NUMBER = 'number' as const;\nexport const BOOLEAN = 'boolean' as const;\nexport const GENDER = 'gender' as const;\nexport const NULL = 'null' as const;\nexport const UNKNOWN = 'unknown' as const;\n\n/**\n * NodeType strings that correspond to plugins that can be conditionally\n * removed from the bundle when unused.\n */\nexport const PLUGIN_NODE_TYPES: readonly [\n typeof TRANSLATION,\n typeof ENUMERATION,\n typeof CONDITION,\n typeof INSERTION,\n typeof GENDER,\n typeof NESTED,\n typeof FILE,\n typeof MARKDOWN,\n typeof HTML,\n typeof REACT_NODE,\n typeof PREACT_NODE,\n typeof SOLID_NODE,\n] = [\n TRANSLATION,\n ENUMERATION,\n CONDITION,\n INSERTION,\n GENDER,\n NESTED,\n FILE,\n MARKDOWN,\n HTML,\n REACT_NODE,\n PREACT_NODE,\n SOLID_NODE,\n] as const;\n\nexport type NodeType =\n | typeof TRANSLATION\n | typeof ENUMERATION\n | typeof CONDITION\n | typeof INSERTION\n | typeof FILE\n | typeof OBJECT\n | typeof ARRAY\n | typeof NESTED\n | typeof REACT_NODE\n | typeof PREACT_NODE\n | typeof SOLID_NODE\n | typeof MARKDOWN\n | typeof HTML\n | typeof TEXT\n | typeof NUMBER\n | typeof BOOLEAN\n | typeof GENDER\n | typeof NULL\n | typeof UNKNOWN;\n\ntype AdditionalAttributesType = {\n [key: string]: unknown;\n};\n\nexport type TypedNodeModel<\n T extends NodeType,\n Content,\n AdditionalAttributes extends AdditionalAttributesType = {},\n> = {\n nodeType: T;\n} & {\n [K in T]: Content;\n} & AdditionalAttributes;\n\nexport const formatNodeType = <\n T extends NodeType,\n Content = unknown,\n AdditionalAttributes extends AdditionalAttributesType = {},\n>(\n nodeType: T,\n content: Content,\n additionalAttributes?: { [key: string]: unknown }\n) =>\n ({\n ...additionalAttributes,\n nodeType,\n [nodeType]: content,\n }) as TypedNodeModel<T, Content, AdditionalAttributes>;\n"],"mappings":";AAAA,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,YAAY;AACzB,MAAa,YAAY;AACzB,MAAa,OAAO;AACpB,MAAa,SAAS;AACtB,MAAa,QAAQ;AACrB,MAAa,SAAS;AACtB,MAAa,aAAa;AAC1B,MAAa,cAAc;AAC3B,MAAa,aAAa;AAC1B,MAAa,WAAW;AACxB,MAAa,OAAO;AACpB,MAAa,OAAO;AACpB,MAAa,SAAS;AACtB,MAAa,UAAU;AACvB,MAAa,SAAS;AACtB,MAAa,OAAO;AACpB,MAAa,UAAU;;;;;AAMvB,MAAa,oBAaT;CACF;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAqCD,MAAa,kBAKX,UACA,SACA,0BAEC;CACC,GAAG;CACH;EACC,WAAW;CACb"} | ||
| {"version":3,"file":"nodeType.mjs","names":[],"sources":["../../src/nodeType.ts"],"sourcesContent":["export const TRANSLATION = 'translation' as const;\nexport const ENUMERATION = 'enumeration' as const;\nexport const PLURAL = 'plural' as const;\nexport const CONDITION = 'condition' as const;\nexport const INSERTION = 'insertion' as const;\nexport const FILE = 'file' as const;\nexport const OBJECT = 'object' as const;\nexport const ARRAY = 'array' as const;\nexport const NESTED = 'nested' as const;\nexport const REACT_NODE = 'reactNode' as const;\nexport const PREACT_NODE = 'preactNode' as const;\nexport const SOLID_NODE = 'solidNode' as const;\nexport const MARKDOWN = 'markdown' as const;\nexport const HTML = 'html' as const;\nexport const TEXT = 'text' as const;\nexport const NUMBER = 'number' as const;\nexport const BOOLEAN = 'boolean' as const;\nexport const GENDER = 'gender' as const;\nexport const NULL = 'null' as const;\nexport const UNKNOWN = 'unknown' as const;\n\n/**\n * NodeType strings that correspond to plugins that can be conditionally\n * removed from the bundle when unused.\n */\nexport const PLUGIN_NODE_TYPES: readonly [\n typeof TRANSLATION,\n typeof ENUMERATION,\n typeof PLURAL,\n typeof CONDITION,\n typeof INSERTION,\n typeof GENDER,\n typeof NESTED,\n typeof FILE,\n typeof MARKDOWN,\n typeof HTML,\n typeof REACT_NODE,\n typeof PREACT_NODE,\n typeof SOLID_NODE,\n] = [\n TRANSLATION,\n ENUMERATION,\n PLURAL,\n CONDITION,\n INSERTION,\n GENDER,\n NESTED,\n FILE,\n MARKDOWN,\n HTML,\n REACT_NODE,\n PREACT_NODE,\n SOLID_NODE,\n] as const;\n\nexport type NodeType =\n | typeof TRANSLATION\n | typeof ENUMERATION\n | typeof PLURAL\n | typeof CONDITION\n | typeof INSERTION\n | typeof FILE\n | typeof OBJECT\n | typeof ARRAY\n | typeof NESTED\n | typeof REACT_NODE\n | typeof PREACT_NODE\n | typeof SOLID_NODE\n | typeof MARKDOWN\n | typeof HTML\n | typeof TEXT\n | typeof NUMBER\n | typeof BOOLEAN\n | typeof GENDER\n | typeof NULL\n | typeof UNKNOWN;\n\ntype AdditionalAttributesType = {\n [key: string]: unknown;\n};\n\nexport type TypedNodeModel<\n T extends NodeType,\n Content,\n AdditionalAttributes extends AdditionalAttributesType = {},\n> = {\n nodeType: T;\n} & {\n [K in T]: Content;\n} & AdditionalAttributes;\n\nexport const formatNodeType = <\n T extends NodeType,\n Content = unknown,\n AdditionalAttributes extends AdditionalAttributesType = {},\n>(\n nodeType: T,\n content: Content,\n additionalAttributes?: { [key: string]: unknown }\n) =>\n ({\n ...additionalAttributes,\n nodeType,\n [nodeType]: content,\n }) as TypedNodeModel<T, Content, AdditionalAttributes>;\n"],"mappings":";AAAA,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,SAAS;AACtB,MAAa,YAAY;AACzB,MAAa,YAAY;AACzB,MAAa,OAAO;AACpB,MAAa,SAAS;AACtB,MAAa,QAAQ;AACrB,MAAa,SAAS;AACtB,MAAa,aAAa;AAC1B,MAAa,cAAc;AAC3B,MAAa,aAAa;AAC1B,MAAa,WAAW;AACxB,MAAa,OAAO;AACpB,MAAa,OAAO;AACpB,MAAa,SAAS;AACtB,MAAa,UAAU;AACvB,MAAa,SAAS;AACtB,MAAa,OAAO;AACpB,MAAa,UAAU;;;;;AAMvB,MAAa,oBAcT;CACF;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAsCD,MAAa,kBAKX,UACA,SACA,0BAEC;CACC,GAAG;CACH;EACC,WAAW;CACb"} |
@@ -5,7 +5,7 @@ import { locales_d_exports } from "./locales.js"; | ||
| import { FilePathPattern, FilePathPatternContext, FilePathPatternFunction } from "./filePathPattern.js"; | ||
| import { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, NodeType, OBJECT, PLUGIN_NODE_TYPES, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, TypedNodeModel, UNKNOWN, formatNodeType } from "./nodeType.js"; | ||
| import { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, NodeType, OBJECT, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, TypedNodeModel, UNKNOWN, formatNodeType } from "./nodeType.js"; | ||
| import { ContentAutoTransformation, ContentNode, Dictionary, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryLocation, Fill, GetSubPath, ImportMode, LocalDictionaryId, TypedNode } from "./dictionary.js"; | ||
| import { MergedDictionaryOutput, MergedDictionaryResult, Plugin, UnmergedDictionaryOutput, UnmergedDictionaryResult } from "./plugin.js"; | ||
| import { AiConfig, AiProviderConfigMap, AiProviders, BuildConfig, CommonAiConfig, CompilerConfig, ConfigSchema, ContentConfig, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DictionaryConfig, EditorConfig, InternationalizationConfig, IntlayerConfig, LogConfig, LogFunctions, ProcessedStorageAttributes, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, StorageAttributes, StrictMode, SystemConfig, URLType } from "./config.js"; | ||
| import { ArrayNode, ConditionNode, EnumerationNode, FileNode, GenderNode, HTMLNode, InsertionNode, KeyPath, MarkdownNode, NestedNode, ObjectNode, ReactNode, TranslationNode } from "./keyPath.js"; | ||
| export { ALL_LOCALES, ARRAY, AiConfig, AiProviderConfigMap, AiProviders, ArrayNode, BOOLEAN, BuildConfig, CONDITION, CommonAiConfig, CompilerConfig, ConditionNode, ConfigSchema, ContentAutoTransformation, ContentConfig, ContentNode, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DeclaredLocales, Dictionary, DictionaryConfig, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryKeys, DictionaryLocation, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, ENUMERATION, EditorConfig, EnumerationNode, FILE, FileNode, FilePathPattern, FilePathPatternContext, FilePathPatternFunction, Fill, GENDER, GenderNode, GetSubPath, HTML, HTMLNode, INSERTION, ImportMode, InsertionNode, InternationalizationConfig, IntlayerConfig, KeyPath, LocalDictionaryId, Locale, locales_d_exports as Locales, LocalesValues, LogConfig, LogFunctions, MARKDOWN, MarkdownNode, MergedDictionaryOutput, MergedDictionaryResult, NESTED, NULL, NUMBER, NestedNode, NodeType, OBJECT, ObjectNode, PLUGIN_NODE_TYPES, PREACT_NODE, Plugin, ProcessedStorageAttributes, REACT_NODE, ReactNode, RequiredLocales, ResolvedEditor, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, SOLID_NODE, Schema, SchemaKeys, StorageAttributes, StrictMode, StrictModeLocaleMap, SystemConfig, TEXT, TRANSLATION, TranslationNode, TypedNode, TypedNodeModel, UNKNOWN, URLType, UnmergedDictionaryOutput, UnmergedDictionaryResult, formatNodeType }; | ||
| import { ArrayNode, ConditionNode, EnumerationNode, FileNode, GenderNode, HTMLNode, InsertionNode, KeyPath, MarkdownNode, NestedNode, ObjectNode, PluralNode, ReactNode, TranslationNode } from "./keyPath.js"; | ||
| export { ALL_LOCALES, ARRAY, AiConfig, AiProviderConfigMap, AiProviders, ArrayNode, BOOLEAN, BuildConfig, CONDITION, CommonAiConfig, CompilerConfig, ConditionNode, ConfigSchema, ContentAutoTransformation, ContentConfig, ContentNode, CookiesAttributes, CustomIntlayerConfig, CustomRoutingConfig, DeclaredLocales, Dictionary, DictionaryConfig, DictionaryFormat, DictionaryId, DictionaryKey, DictionaryKeys, DictionaryLocation, DictionaryRegistry, DictionaryRegistryContent, DictionaryRegistryElement, ENUMERATION, EditorConfig, EnumerationNode, FILE, FileNode, FilePathPattern, FilePathPatternContext, FilePathPatternFunction, Fill, GENDER, GenderNode, GetSubPath, HTML, HTMLNode, INSERTION, ImportMode, InsertionNode, InternationalizationConfig, IntlayerConfig, KeyPath, LocalDictionaryId, Locale, locales_d_exports as Locales, LocalesValues, LogConfig, LogFunctions, MARKDOWN, MarkdownNode, MergedDictionaryOutput, MergedDictionaryResult, NESTED, NULL, NUMBER, NestedNode, NodeType, OBJECT, ObjectNode, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, Plugin, PluralNode, ProcessedStorageAttributes, REACT_NODE, ReactNode, RequiredLocales, ResolvedEditor, RewriteObject, RewriteRule, RewriteRules, RoutingConfig, RoutingStorageInput, SOLID_NODE, Schema, SchemaKeys, StorageAttributes, StrictMode, StrictModeLocaleMap, SystemConfig, TEXT, TRANSLATION, TranslationNode, TypedNode, TypedNodeModel, UNKNOWN, URLType, UnmergedDictionaryOutput, UnmergedDictionaryResult, formatNodeType }; |
@@ -1,2 +0,2 @@ | ||
| import { ARRAY, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, OBJECT, REACT_NODE, TRANSLATION } from "./nodeType.js"; | ||
| import { ARRAY, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, OBJECT, PLURAL, REACT_NODE, TRANSLATION } from "./nodeType.js"; | ||
@@ -16,2 +16,6 @@ //#region src/keyPath.d.ts | ||
| }; | ||
| type PluralNode = { | ||
| type: typeof PLURAL; | ||
| key: string; | ||
| }; | ||
| type TranslationNode = { | ||
@@ -53,5 +57,5 @@ type: typeof TRANSLATION; | ||
| }; | ||
| type KeyPath = ObjectNode | ArrayNode | TranslationNode | EnumerationNode | InsertionNode | GenderNode | MarkdownNode | ReactNode | ConditionNode | NestedNode | FileNode | HTMLNode; | ||
| type KeyPath = ObjectNode | ArrayNode | TranslationNode | EnumerationNode | PluralNode | InsertionNode | GenderNode | MarkdownNode | ReactNode | ConditionNode | NestedNode | FileNode | HTMLNode; | ||
| //#endregion | ||
| export { ArrayNode, ConditionNode, EnumerationNode, FileNode, GenderNode, HTMLNode, InsertionNode, KeyPath, MarkdownNode, NestedNode, ObjectNode, ReactNode, TranslationNode }; | ||
| export { ArrayNode, ConditionNode, EnumerationNode, FileNode, GenderNode, HTMLNode, InsertionNode, KeyPath, MarkdownNode, NestedNode, ObjectNode, PluralNode, ReactNode, TranslationNode }; | ||
| //# sourceMappingURL=keyPath.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"keyPath.d.ts","names":[],"sources":["../../src/keyPath.ts"],"mappings":";;;KAEY,UAAA;EACV,IAAA,SAAa,MAAA;EACb,GAAA;AAAA;AAAA,KAGU,SAAA;EACV,IAAA,SAAa,KAAA;EACb,GAAA;AAAA;AAAA,KAGU,eAAA;EACV,IAAA,SAAa,WAAA;EACb,GAAA;AAAA;AAAA,KAGU,eAAA;EACV,IAAA,SAAa,WAAA;EACb,GAAA;AAAA;AAAA,KAGU,aAAA;EACV,IAAA,SAAa,SAAA;EACb,GAAA;AAAA;AAAA,KAGU,UAAA;EACV,IAAA,SAAa,MAAA;EACb,GAAA;AAAA;AAAA,KAGU,aAAA;EACV,IAAA,SAAa,SAAA;EACb,GAAA;AAAA;AAAA,KAGU,YAAA;EACV,IAAA,SAAa,QAAA;EACb,GAAA;AAAA;AAAA,KAGU,SAAA;EACV,IAAA,SAAa,UAAA;EACb,GAAA;AAAA;AAAA,KAGU,UAAA;EACV,IAAA,SAAa,MAAA;EACb,GAAA;AAAA;AAAA,KAGU,QAAA;EACV,IAAA,SAAa,IAAA;EACb,GAAA;AAAA;AAAA,KAGU,QAAA;EACV,IAAA,SAAa,IAAA;EACb,GAAA;AAAA;AAAA,KAGU,OAAA,GACR,UAAA,GACA,SAAA,GACA,eAAA,GACA,eAAA,GACA,aAAA,GACA,UAAA,GACA,YAAA,GACA,SAAA,GACA,aAAA,GACA,UAAA,GACA,QAAA,GACA,QAAA"} | ||
| {"version":3,"file":"keyPath.d.ts","names":[],"sources":["../../src/keyPath.ts"],"mappings":";;;KAEY,UAAA;EACV,IAAA,SAAa,MAAA;EACb,GAAA;AAAA;AAAA,KAGU,SAAA;EACV,IAAA,SAAa,KAAA;EACb,GAAA;AAAA;AAAA,KAGU,eAAA;EACV,IAAA,SAAa,WAAA;EACb,GAAA;AAAA;AAAA,KAGU,UAAA;EACV,IAAA,SAAa,MAAA;EACb,GAAA;AAAA;AAAA,KAGU,eAAA;EACV,IAAA,SAAa,WAAA;EACb,GAAA;AAAA;AAAA,KAGU,aAAA;EACV,IAAA,SAAa,SAAA;EACb,GAAA;AAAA;AAAA,KAGU,UAAA;EACV,IAAA,SAAa,MAAA;EACb,GAAA;AAAA;AAAA,KAGU,aAAA;EACV,IAAA,SAAa,SAAA;EACb,GAAA;AAAA;AAAA,KAGU,YAAA;EACV,IAAA,SAAa,QAAA;EACb,GAAA;AAAA;AAAA,KAGU,SAAA;EACV,IAAA,SAAa,UAAA;EACb,GAAA;AAAA;AAAA,KAGU,UAAA;EACV,IAAA,SAAa,MAAA;EACb,GAAA;AAAA;AAAA,KAGU,QAAA;EACV,IAAA,SAAa,IAAA;EACb,GAAA;AAAA;AAAA,KAGU,QAAA;EACV,IAAA,SAAa,IAAA;EACb,GAAA;AAAA;AAAA,KAGU,OAAA,GACR,UAAA,GACA,SAAA,GACA,eAAA,GACA,eAAA,GACA,UAAA,GACA,aAAA,GACA,UAAA,GACA,YAAA,GACA,SAAA,GACA,aAAA,GACA,UAAA,GACA,QAAA,GACA,QAAA"} |
| //#region src/nodeType.d.ts | ||
| declare const TRANSLATION: "translation"; | ||
| declare const ENUMERATION: "enumeration"; | ||
| declare const PLURAL: "plural"; | ||
| declare const CONDITION: "condition"; | ||
@@ -25,4 +26,4 @@ declare const INSERTION: "insertion"; | ||
| */ | ||
| declare const PLUGIN_NODE_TYPES: readonly [typeof TRANSLATION, typeof ENUMERATION, typeof CONDITION, typeof INSERTION, typeof GENDER, typeof NESTED, typeof FILE, typeof MARKDOWN, typeof HTML, typeof REACT_NODE, typeof PREACT_NODE, typeof SOLID_NODE]; | ||
| type NodeType = typeof TRANSLATION | typeof ENUMERATION | typeof CONDITION | typeof INSERTION | typeof FILE | typeof OBJECT | typeof ARRAY | typeof NESTED | typeof REACT_NODE | typeof PREACT_NODE | typeof SOLID_NODE | typeof MARKDOWN | typeof HTML | typeof TEXT | typeof NUMBER | typeof BOOLEAN | typeof GENDER | typeof NULL | typeof UNKNOWN; | ||
| declare const PLUGIN_NODE_TYPES: readonly [typeof TRANSLATION, typeof ENUMERATION, typeof PLURAL, typeof CONDITION, typeof INSERTION, typeof GENDER, typeof NESTED, typeof FILE, typeof MARKDOWN, typeof HTML, typeof REACT_NODE, typeof PREACT_NODE, typeof SOLID_NODE]; | ||
| type NodeType = typeof TRANSLATION | typeof ENUMERATION | typeof PLURAL | typeof CONDITION | typeof INSERTION | typeof FILE | typeof OBJECT | typeof ARRAY | typeof NESTED | typeof REACT_NODE | typeof PREACT_NODE | typeof SOLID_NODE | typeof MARKDOWN | typeof HTML | typeof TEXT | typeof NUMBER | typeof BOOLEAN | typeof GENDER | typeof NULL | typeof UNKNOWN; | ||
| type AdditionalAttributesType = { | ||
@@ -38,3 +39,3 @@ [key: string]: unknown; | ||
| //#endregion | ||
| export { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, NodeType, OBJECT, PLUGIN_NODE_TYPES, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, TypedNodeModel, UNKNOWN, formatNodeType }; | ||
| export { ARRAY, BOOLEAN, CONDITION, ENUMERATION, FILE, GENDER, HTML, INSERTION, MARKDOWN, NESTED, NULL, NUMBER, NodeType, OBJECT, PLUGIN_NODE_TYPES, PLURAL, PREACT_NODE, REACT_NODE, SOLID_NODE, TEXT, TRANSLATION, TypedNodeModel, UNKNOWN, formatNodeType }; | ||
| //# sourceMappingURL=nodeType.d.ts.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"nodeType.d.ts","names":[],"sources":["../../src/nodeType.ts"],"mappings":";cAAa,WAAA;AAAA,cACA,WAAA;AAAA,cACA,SAAA;AAAA,cACA,SAAA;AAAA,cACA,IAAA;AAAA,cACA,MAAA;AAAA,cACA,KAAA;AAAA,cACA,MAAA;AAAA,cACA,UAAA;AAAA,cACA,WAAA;AAAA,cACA,UAAA;AAAA,cACA,QAAA;AAAA,cACA,IAAA;AAAA,cACA,IAAA;AAAA,cACA,MAAA;AAAA,cACA,OAAA;AAAA,cACA,MAAA;AAAA,cACA,IAAA;AAAA,cACA,OAAA;;;AAdb;;cAoBa,iBAAA,mBACJ,WAAA,SACA,WAAA,SACA,SAAA,SACA,SAAA,SACA,MAAA,SACA,MAAA,SACA,IAAA,SACA,QAAA,SACA,IAAA,SACA,UAAA,SACA,WAAA,SACA,UAAA;AAAA,KAgBG,QAAA,UACD,WAAA,UACA,WAAA,UACA,SAAA,UACA,SAAA,UACA,IAAA,UACA,MAAA,UACA,KAAA,UACA,MAAA,UACA,UAAA,UACA,WAAA,UACA,UAAA,UACA,QAAA,UACA,IAAA,UACA,IAAA,UACA,MAAA,UACA,OAAA,UACA,MAAA,UACA,IAAA,UACA,OAAA;AAAA,KAEN,wBAAA;EAAA,CAAA,GAAA;AAAA;AAAA,KAIO,cAAA,WACA,QAAA,wCAEmB,wBAAA;EAE7B,QAAA,EAAU,CAAA;AAAA,YAEJ,CAAA,GAAI,OAAA,KACR,oBAAA;AAAA,cAES,cAAA,aACD,QAAA,kDAEmB,wBAAA,OAE7B,QAAA,EAAU,CAAA,EACV,OAAA,EAAS,OAAA,EACT,oBAAA;EAAA;MAMM,cAAA,CAAe,CAAA,EAAG,OAAA,EAAS,oBAAA"} | ||
| {"version":3,"file":"nodeType.d.ts","names":[],"sources":["../../src/nodeType.ts"],"mappings":";cAAa,WAAA;AAAA,cACA,WAAA;AAAA,cACA,MAAA;AAAA,cACA,SAAA;AAAA,cACA,SAAA;AAAA,cACA,IAAA;AAAA,cACA,MAAA;AAAA,cACA,KAAA;AAAA,cACA,MAAA;AAAA,cACA,UAAA;AAAA,cACA,WAAA;AAAA,cACA,UAAA;AAAA,cACA,QAAA;AAAA,cACA,IAAA;AAAA,cACA,IAAA;AAAA,cACA,MAAA;AAAA,cACA,OAAA;AAAA,cACA,MAAA;AAAA,cACA,IAAA;AAAA,cACA,OAAA;;AAfb;;;cAqBa,iBAAA,mBACJ,WAAA,SACA,WAAA,SACA,MAAA,SACA,SAAA,SACA,SAAA,SACA,MAAA,SACA,MAAA,SACA,IAAA,SACA,QAAA,SACA,IAAA,SACA,UAAA,SACA,WAAA,SACA,UAAA;AAAA,KAiBG,QAAA,UACD,WAAA,UACA,WAAA,UACA,MAAA,UACA,SAAA,UACA,SAAA,UACA,IAAA,UACA,MAAA,UACA,KAAA,UACA,MAAA,UACA,UAAA,UACA,WAAA,UACA,UAAA,UACA,QAAA,UACA,IAAA,UACA,IAAA,UACA,MAAA,UACA,OAAA,UACA,MAAA,UACA,IAAA,UACA,OAAA;AAAA,KAEN,wBAAA;EAAA,CAAA,GAAA;AAAA;AAAA,KAIO,cAAA,WACA,QAAA,wCAEmB,wBAAA;EAE7B,QAAA,EAAU,CAAA;AAAA,YAEJ,CAAA,GAAI,OAAA,KACR,oBAAA;AAAA,cAES,cAAA,aACD,QAAA,kDAEmB,wBAAA,OAE7B,QAAA,EAAU,CAAA,EACV,OAAA,EAAS,OAAA,EACT,oBAAA;EAAA;MAMM,cAAA,CAAe,CAAA,EAAG,OAAA,EAAS,oBAAA"} |
+1
-1
| { | ||
| "name": "@intlayer/types", | ||
| "version": "8.7.14", | ||
| "version": "8.8.0", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "description": "Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
380922
0.18%4578
0.24%