@executor-js/plugin-example 1.5.0 → 1.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@executor-js/plugin-example",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "homepage": "https://github.com/RhysSullivan/executor/tree/main/packages/plugins/example",
5
5
  "bugs": {
6
6
  "url": "https://github.com/RhysSullivan/executor/issues"
@@ -45,20 +45,20 @@
45
45
  "typecheck:slow": "tsc --noEmit"
46
46
  },
47
47
  "dependencies": {
48
- "@executor-js/sdk": "1.5.0"
48
+ "@executor-js/sdk": "1.5.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@effect/vitest": "4.0.0-beta.59",
52
- "@types/node": "^24.3.1",
53
- "@types/react": "^19.1.0",
54
- "bun-types": "^1.2.22",
55
- "react": "^19.1.0",
56
- "tsup": "^8.5.0",
57
- "typescript": "^5.9.3",
58
- "vitest": "^4.1.5"
51
+ "@effect/vitest": "catalog:",
52
+ "@types/node": "catalog:",
53
+ "@types/react": "catalog:",
54
+ "bun-types": "catalog:",
55
+ "react": "catalog:",
56
+ "tsup": "catalog:",
57
+ "typescript": "catalog:",
58
+ "vitest": "catalog:"
59
59
  },
60
60
  "peerDependencies": {
61
- "react": "^19.1.0"
61
+ "react": "catalog:"
62
62
  },
63
63
  "peerDependenciesMeta": {
64
64
  "react": {
package/dist/client.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare const _default: import("@executor-js/sdk/client").ClientPluginSpec<"example">;
2
- export default _default;
package/dist/server.d.ts DELETED
@@ -1,23 +0,0 @@
1
- import { Context, Effect } from "@executor-js/sdk/core";
2
- declare const ExampleExtensionService_base: Context.ServiceClass<ExampleExtensionService, "ExampleExtensionService", {
3
- greet: (name: string) => Effect.Effect<{
4
- message: string;
5
- count: number;
6
- }, never, never>;
7
- }>;
8
- export declare class ExampleExtensionService extends ExampleExtensionService_base {
9
- }
10
- export declare const examplePlugin: import("@executor-js/sdk/core").ConfiguredPlugin<"example", {
11
- greet: (name: string) => Effect.Effect<{
12
- message: string;
13
- count: number;
14
- }, never, never>;
15
- }, {
16
- count: number;
17
- }, {}, typeof ExampleExtensionService, import("effect/Layer").Layer<import("effect/unstable/httpapi/HttpApiGroup").ApiGroup<"example", "example">, never, import("effect/unstable/http/HttpRouter").Request<"Requires", ExampleExtensionService>>, import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"example", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"greet", "POST", "/greet", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
18
- readonly name: import("effect/Schema").String;
19
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
20
- readonly message: import("effect/Schema").String;
21
- readonly count: import("effect/Schema").Number;
22
- }>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, never, never>, false>>;
23
- export default examplePlugin;
package/dist/shared.d.ts DELETED
@@ -1,13 +0,0 @@
1
- import { Schema } from "effect";
2
- import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
3
- export declare const Greeting: Schema.Struct<{
4
- readonly message: Schema.String;
5
- readonly count: Schema.Number;
6
- }>;
7
- export type Greeting = typeof Greeting.Type;
8
- export declare const ExampleApi: HttpApiGroup.HttpApiGroup<"example", HttpApiEndpoint.HttpApiEndpoint<"greet", "POST", "/greet", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
9
- readonly name: Schema.String;
10
- }>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{
11
- readonly message: Schema.String;
12
- readonly count: Schema.Number;
13
- }>>, HttpApiEndpoint.Json<never>, never, never>, false>;