Skip to content

Commit 351faa3

Browse files
Copilothotlong
andcommitted
refactor: move marketplace protocol from kernel/ to cloud/
Marketplace is a cloud SaaS service, not part of the local kernel runtime. Moved marketplace.zod.ts and marketplace.test.ts to cloud/ directory, added Cloud namespace export to root index.ts. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 0bb1b9c commit 351faa3

File tree

5 files changed

+12
-1
lines changed

5 files changed

+12
-1
lines changed

packages/spec/src/cloud/index.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
2+
3+
/**
4+
* Cloud Protocol
5+
*
6+
* Cloud-specific protocols for the ObjectStack SaaS platform.
7+
* These schemas define the contract for cloud services like:
8+
* - Marketplace (listing, publishing, review, search, install)
9+
* - Future: Composer, Space, Hub Federation
10+
*/
11+
export * from './marketplace.zod';
File renamed without changes.
File renamed without changes.

packages/spec/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export * as Security from './security';
5050
export * as UI from './ui';
5151
export * as System from './system';
5252
export * as Kernel from './kernel';
53+
export * as Cloud from './cloud';
5354
export * as QA from './qa';
5455
export * as Identity from './identity';
5556
export * as Hub from './hub';

packages/spec/src/kernel/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export * from './dev-plugin.zod';
66
export * from './events.zod';
77
export * from './feature.zod';
88
export * from './manifest.zod';
9-
export * from './marketplace.zod';
109
export * from './metadata-customization.zod';
1110
export * from './metadata-loader.zod';
1211
export * from './package-registry.zod';

0 commit comments

Comments
 (0)