Skip to content

Commit 00cefe0

Browse files
removed legacy schema
1 parent 7ccde6b commit 00cefe0

File tree

6 files changed

+11
-161
lines changed

6 files changed

+11
-161
lines changed

apps/walkerjs/src/dev.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
export * as schemas from './schemas';
1+
import { schemas as coreSchemas, type JSONSchema } from '@walkeros/core/dev';
22

3-
export {
4-
settings,
5-
browserConfig,
6-
dataLayerConfig,
7-
collectorConfig,
8-
} from './schemas';
3+
export const schemas: { settings: JSONSchema } = {
4+
settings: coreSchemas.FlowSchemas.configJsonSchema,
5+
};

apps/walkerjs/src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ import { dataLayerDestination } from './destination';
1515
// Re-export types
1616
export * as Walkerjs from './types';
1717

18-
// Export schemas
19-
export * as schemas from './schemas';
20-
2118
export { getAllEvents, getEvents, getGlobals };
2219

2320
// Factory function to create walker.js instance

apps/walkerjs/src/schemas.ts

Lines changed: 0 additions & 109 deletions
This file was deleted.

packages/collector/src/dev.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
export * as schemas from './schemas';
1+
import { schemas as coreSchemas, type JSONSchema } from '@walkeros/core/dev';
2+
3+
export const schemas: { settings: JSONSchema } = {
4+
settings: coreSchemas.CollectorSchemas.initConfigJsonSchema,
5+
};

packages/collector/src/schemas.ts

Lines changed: 0 additions & 39 deletions
This file was deleted.

website/docs/collector/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ package: '@walkeros/collector'
66
sidebar_position: 2
77
---
88

9-
import { schemas } from '@walkeros/collector/dev';
9+
import { schemas } from '@walkeros/core/dev';
1010

11-
export const collectorSchema = schemas.settings;
11+
export const collectorSchema = schemas.CollectorSchemas.initConfigJsonSchema;
1212

1313
# Collector
1414

0 commit comments

Comments
 (0)