@walkeros/explorer 2.1.5 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -260,6 +260,8 @@ interface IntelliSenseContext {
|
|
|
260
260
|
entity: string;
|
|
261
261
|
actions: string[];
|
|
262
262
|
}>;
|
|
263
|
+
/** Raw contract object for $contract completions and mapping hints */
|
|
264
|
+
contractRaw?: Record<string, unknown>;
|
|
263
265
|
/** Available packages for autocomplete */
|
|
264
266
|
packages?: PackageInfo[];
|
|
265
267
|
/** Current platform context (web or server) */
|
|
@@ -1185,12 +1187,12 @@ declare function enrichSchema(baseSchema: Record<string, unknown>, enrichments:
|
|
|
1185
1187
|
|
|
1186
1188
|
type AnySchema$2 = Record<string, any>;
|
|
1187
1189
|
/**
|
|
1188
|
-
* Takes the base Flow.
|
|
1190
|
+
* Takes the base Flow.Config JSON Schema (from @walkeros/core z.toJSONSchema())
|
|
1189
1191
|
* and returns an enriched version with Monaco-specific extensions.
|
|
1190
1192
|
*
|
|
1191
1193
|
* The actual schema uses anyOf[0] at the top level.
|
|
1192
1194
|
*/
|
|
1193
|
-
declare function
|
|
1195
|
+
declare function enrichFlowConfigSchema(baseSchema: AnySchema$2): AnySchema$2;
|
|
1194
1196
|
|
|
1195
1197
|
type AnySchema$1 = Record<string, any>;
|
|
1196
1198
|
/**
|
|
@@ -1261,9 +1263,9 @@ interface ValidationIssue {
|
|
|
1261
1263
|
declare function validateWalkerOSReferences(text: string, context: Partial<IntelliSenseContext>): ValidationIssue[];
|
|
1262
1264
|
|
|
1263
1265
|
/**
|
|
1264
|
-
* Extract IntelliSense context from a Flow.
|
|
1266
|
+
* Extract IntelliSense context from a Flow.Config JSON string.
|
|
1265
1267
|
*
|
|
1266
|
-
* Parses the JSON, walks
|
|
1268
|
+
* Parses the JSON, walks config → settings → steps, and collects
|
|
1267
1269
|
* all discoverable variables, definitions, step names, packages,
|
|
1268
1270
|
* platform, and contract entities.
|
|
1269
1271
|
*
|
|
@@ -1333,4 +1335,4 @@ declare function createRawCapture(destinationEnv: unknown): {
|
|
|
1333
1335
|
}[];
|
|
1334
1336
|
};
|
|
1335
1337
|
|
|
1336
|
-
export { ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, type FlowStageConfig, Footer, type FooterProps, Grid, type GridProps, Header, type HeaderProps, type IntelliSenseContext, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MDXCode, MDXProvider, type MonacoSchemaExtension, type PackageInfo, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, REFERENCE_PATTERNS, Spinner, type SpinnerProps, type UseDropdownReturn, applyWalkerOSDecorations, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, disposeWalkerOSProviders,
|
|
1338
|
+
export { ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, type FlowStageConfig, Footer, type FooterProps, Grid, type GridProps, Header, type HeaderProps, type IntelliSenseContext, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MDXCode, MDXProvider, type MonacoSchemaExtension, type PackageInfo, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, REFERENCE_PATTERNS, Spinner, type SpinnerProps, type UseDropdownReturn, applyWalkerOSDecorations, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, disposeWalkerOSProviders, enrichFlowConfigSchema, enrichSchema, extractFlowIntelliSenseContext, findWalkerOSReferences, formatCapturedCalls, generateModelPath, getEnrichedContractSchema, getVariablesSchema, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerJsonSchema, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSDecorationStyles, registerWalkerOSProviders, registerWalkerOSTypes, removeIntelliSenseContext, setIntelliSenseContext, unregisterJsonSchema, useDropdown, validateWalkerOSReferences };
|
package/dist/index.d.ts
CHANGED
|
@@ -260,6 +260,8 @@ interface IntelliSenseContext {
|
|
|
260
260
|
entity: string;
|
|
261
261
|
actions: string[];
|
|
262
262
|
}>;
|
|
263
|
+
/** Raw contract object for $contract completions and mapping hints */
|
|
264
|
+
contractRaw?: Record<string, unknown>;
|
|
263
265
|
/** Available packages for autocomplete */
|
|
264
266
|
packages?: PackageInfo[];
|
|
265
267
|
/** Current platform context (web or server) */
|
|
@@ -1185,12 +1187,12 @@ declare function enrichSchema(baseSchema: Record<string, unknown>, enrichments:
|
|
|
1185
1187
|
|
|
1186
1188
|
type AnySchema$2 = Record<string, any>;
|
|
1187
1189
|
/**
|
|
1188
|
-
* Takes the base Flow.
|
|
1190
|
+
* Takes the base Flow.Config JSON Schema (from @walkeros/core z.toJSONSchema())
|
|
1189
1191
|
* and returns an enriched version with Monaco-specific extensions.
|
|
1190
1192
|
*
|
|
1191
1193
|
* The actual schema uses anyOf[0] at the top level.
|
|
1192
1194
|
*/
|
|
1193
|
-
declare function
|
|
1195
|
+
declare function enrichFlowConfigSchema(baseSchema: AnySchema$2): AnySchema$2;
|
|
1194
1196
|
|
|
1195
1197
|
type AnySchema$1 = Record<string, any>;
|
|
1196
1198
|
/**
|
|
@@ -1261,9 +1263,9 @@ interface ValidationIssue {
|
|
|
1261
1263
|
declare function validateWalkerOSReferences(text: string, context: Partial<IntelliSenseContext>): ValidationIssue[];
|
|
1262
1264
|
|
|
1263
1265
|
/**
|
|
1264
|
-
* Extract IntelliSense context from a Flow.
|
|
1266
|
+
* Extract IntelliSense context from a Flow.Config JSON string.
|
|
1265
1267
|
*
|
|
1266
|
-
* Parses the JSON, walks
|
|
1268
|
+
* Parses the JSON, walks config → settings → steps, and collects
|
|
1267
1269
|
* all discoverable variables, definitions, step names, packages,
|
|
1268
1270
|
* platform, and contract entities.
|
|
1269
1271
|
*
|
|
@@ -1333,4 +1335,4 @@ declare function createRawCapture(destinationEnv: unknown): {
|
|
|
1333
1335
|
}[];
|
|
1334
1336
|
};
|
|
1335
1337
|
|
|
1336
|
-
export { ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, type FlowStageConfig, Footer, type FooterProps, Grid, type GridProps, Header, type HeaderProps, type IntelliSenseContext, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MDXCode, MDXProvider, type MonacoSchemaExtension, type PackageInfo, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, REFERENCE_PATTERNS, Spinner, type SpinnerProps, type UseDropdownReturn, applyWalkerOSDecorations, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, disposeWalkerOSProviders,
|
|
1338
|
+
export { ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, type FlowStageConfig, Footer, type FooterProps, Grid, type GridProps, Header, type HeaderProps, type IntelliSenseContext, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MDXCode, MDXProvider, type MonacoSchemaExtension, type PackageInfo, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, REFERENCE_PATTERNS, Spinner, type SpinnerProps, type UseDropdownReturn, applyWalkerOSDecorations, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, disposeWalkerOSProviders, enrichFlowConfigSchema, enrichSchema, extractFlowIntelliSenseContext, findWalkerOSReferences, formatCapturedCalls, generateModelPath, getEnrichedContractSchema, getVariablesSchema, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerJsonSchema, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSDecorationStyles, registerWalkerOSProviders, registerWalkerOSTypes, removeIntelliSenseContext, setIntelliSenseContext, unregisterJsonSchema, useDropdown, validateWalkerOSReferences };
|