Skip to content

Commit 55a56ad

Browse files
committed
refactor(schema): flatten schemas directory structure
- Rename src/schemas/rpc.ts to src/schema.ts - Update import paths in rpc-client.ts to use new location - Remove schemas/ subdirectory This simplifies the module structure by moving schema definitions directly into the src root directory.
1 parent 8342a23 commit 55a56ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rpc-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import {
55
rpcActionRequestSchema,
66
rpcActionResponseSchema,
77
rpcClientConfigSchema,
8-
} from './schemas/rpc';
8+
} from './schema';
99
import { StackOneAPIError } from './utils/errors';
1010

1111
// Re-export types for consumers and to make types portable
12-
export type { RpcActionResponse } from './schemas/rpc';
12+
export type { RpcActionResponse } from './schema';
1313

1414
/**
1515
* Custom RPC client for StackOne API.
File renamed without changes.

0 commit comments

Comments
 (0)