@effect-app/vue 4.0.0-beta.37 → 4.0.0-beta.39

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @effect-app/vue
2
2
 
3
+ ## 4.0.0-beta.39
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [10e90d5]
8
+ - effect-app@4.0.0-beta.39
9
+
10
+ ## 4.0.0-beta.38
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [0b3e00e]
15
+ - effect-app@4.0.0-beta.38
16
+
3
17
  ## 4.0.0-beta.37
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-app/vue",
3
- "version": "4.0.0-beta.37",
3
+ "version": "4.0.0-beta.39",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/effect-ts-app/libs/tree/main/packages/vue",
@@ -11,7 +11,7 @@
11
11
  "@vueuse/core": "^14.2.1",
12
12
  "change-case": "^5.4.4",
13
13
  "query-string": "^9.3.1",
14
- "effect-app": "4.0.0-beta.37"
14
+ "effect-app": "4.0.0-beta.39"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@effect/atom-vue": "^4.0.0-beta.40",
@@ -23,16 +23,12 @@ declare const RequestContextMap_base: (new () => {
23
23
  };
24
24
  export declare class RequestContextMap extends RequestContextMap_base {
25
25
  }
26
- export declare const Req: <_Self>() => {
26
+ export declare const Req: <Self>() => {
27
27
  <Tag extends string, Payload extends S.Struct.Fields, C extends {
28
28
  success: S.Top | S.Struct.Fields;
29
29
  error: S.Top | S.Struct.Fields;
30
- }>(tag: Tag, fields: Payload, config: RpcContextMap.GetContextConfig<{}> & C): S.TaggedStruct<Tag, Payload> & {
31
- new (...args: any[]): any;
30
+ }>(tag: Tag, fields: Payload, config: RpcContextMap.GetContextConfig<{}> & C): S.EnhancedClass<Self, S.TaggedStruct<Tag, Payload>, {}> & {
32
31
  readonly _tag: Tag;
33
- readonly fields: {
34
- readonly _tag: S.tag<Tag>;
35
- } & Payload;
36
32
  readonly success: C["success"] extends infer T ? T extends C["success"] ? T extends S.Top ? T : T extends S.Struct.Fields ? S.Struct<T> : S.Void : never : never;
37
33
  readonly error: C extends {
38
34
  error: infer E;
@@ -41,16 +37,15 @@ export declare const Req: <_Self>() => {
41
37
  readonly "~decodingServices": S.Codec.DecodingServices<C["success"] extends infer T_1 ? T_1 extends C["success"] ? T_1 extends S.Top ? T_1 : T_1 extends S.Struct.Fields ? S.Struct<T_1> : S.Void : never : never> | S.Codec.DecodingServices<C extends {
42
38
  error: infer E;
43
39
  } ? E extends S.Top ? E : E extends S.Struct.Fields ? S.Struct<E> : S.Void : never>;
40
+ readonly "~encodingServices": S.Codec.EncodingServices<C["success"] extends infer T_2 ? T_2 extends C["success"] ? T_2 extends S.Top ? T_2 : T_2 extends S.Struct.Fields ? S.Struct<T_2> : S.Void : never : never> | S.Codec.EncodingServices<C extends {
41
+ error: infer E;
42
+ } ? E extends S.Top ? E : E extends S.Struct.Fields ? S.Struct<E> : S.Void : never>;
44
43
  };
45
44
  <Tag extends string, Payload_1 extends S.Struct.Fields, C_1 extends Pick<{
46
45
  success: S.Top | S.Struct.Fields;
47
46
  error: S.Top | S.Struct.Fields;
48
- }, "success">>(tag: Tag, fields: Payload_1, config: RpcContextMap.GetContextConfig<{}> & C_1): S.TaggedStruct<Tag, Payload_1> & {
49
- new (...args: any[]): any;
47
+ }, "success">>(tag: Tag, fields: Payload_1, config: RpcContextMap.GetContextConfig<{}> & C_1): S.EnhancedClass<Self, S.TaggedStruct<Tag, Payload_1>, {}> & {
50
48
  readonly _tag: Tag;
51
- readonly fields: {
52
- readonly _tag: S.tag<Tag>;
53
- } & Payload_1;
54
49
  readonly success: C_1["success"] extends infer T ? T extends C_1["success"] ? T extends S.Top ? T : T extends S.Struct.Fields ? S.Struct<T> : S.Void : never : never;
55
50
  readonly error: C_1 extends {
56
51
  error: infer E;
@@ -59,16 +54,15 @@ export declare const Req: <_Self>() => {
59
54
  readonly "~decodingServices": S.Codec.DecodingServices<C_1["success"] extends infer T_1 ? T_1 extends C_1["success"] ? T_1 extends S.Top ? T_1 : T_1 extends S.Struct.Fields ? S.Struct<T_1> : S.Void : never : never> | S.Codec.DecodingServices<C_1 extends {
60
55
  error: infer E;
61
56
  } ? E extends S.Top ? E : E extends S.Struct.Fields ? S.Struct<E> : S.Void : never>;
57
+ readonly "~encodingServices": S.Codec.EncodingServices<C_1["success"] extends infer T_2 ? T_2 extends C_1["success"] ? T_2 extends S.Top ? T_2 : T_2 extends S.Struct.Fields ? S.Struct<T_2> : S.Void : never : never> | S.Codec.EncodingServices<C_1 extends {
58
+ error: infer E;
59
+ } ? E extends S.Top ? E : E extends S.Struct.Fields ? S.Struct<E> : S.Void : never>;
62
60
  };
63
61
  <Tag extends string, Payload_2 extends S.Struct.Fields, C_2 extends Pick<{
64
62
  success: S.Top | S.Struct.Fields;
65
63
  error: S.Top | S.Struct.Fields;
66
- }, "error">>(tag: Tag, fields: Payload_2, config: RpcContextMap.GetContextConfig<{}> & C_2): S.TaggedStruct<Tag, Payload_2> & {
67
- new (...args: any[]): any;
64
+ }, "error">>(tag: Tag, fields: Payload_2, config: RpcContextMap.GetContextConfig<{}> & C_2): S.EnhancedClass<Self, S.TaggedStruct<Tag, Payload_2>, {}> & {
68
65
  readonly _tag: Tag;
69
- readonly fields: {
70
- readonly _tag: S.tag<Tag>;
71
- } & Payload_2;
72
66
  readonly success: S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>;
73
67
  readonly error: C_2 extends {
74
68
  error: infer E;
@@ -77,13 +71,12 @@ export declare const Req: <_Self>() => {
77
71
  readonly "~decodingServices": S.Codec.DecodingServices<C_2 extends {
78
72
  error: infer E;
79
73
  } ? E extends S.Top ? E : E extends S.Struct.Fields ? S.Struct<E> : S.Void : never>;
74
+ readonly "~encodingServices": S.Codec.EncodingServices<C_2 extends {
75
+ error: infer E;
76
+ } ? E extends S.Top ? E : E extends S.Struct.Fields ? S.Struct<E> : S.Void : never>;
80
77
  };
81
- <Tag extends string, Payload_3 extends S.Struct.Fields, C_3 extends Record<string, any>>(tag: Tag, fields: Payload_3, config: C_3 & RpcContextMap.GetContextConfig<{}>): S.TaggedStruct<Tag, Payload_3> & {
82
- new (...args: any[]): any;
78
+ <Tag extends string, Payload_3 extends S.Struct.Fields, C_3 extends Record<string, any>>(tag: Tag, fields: Payload_3, config: C_3 & RpcContextMap.GetContextConfig<{}>): S.EnhancedClass<Self, S.TaggedStruct<Tag, Payload_3>, {}> & {
83
79
  readonly _tag: Tag;
84
- readonly fields: {
85
- readonly _tag: S.tag<Tag>;
86
- } & Payload_3;
87
80
  readonly success: S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>;
88
81
  readonly error: C_3 extends {
89
82
  error: infer E;
@@ -92,48 +85,37 @@ export declare const Req: <_Self>() => {
92
85
  readonly "~decodingServices": S.Codec.DecodingServices<C_3 extends {
93
86
  error: infer E;
94
87
  } ? E extends S.Top ? E : E extends S.Struct.Fields ? S.Struct<E> : S.Void : never>;
88
+ readonly "~encodingServices": S.Codec.EncodingServices<C_3 extends {
89
+ error: infer E;
90
+ } ? E extends S.Top ? E : E extends S.Struct.Fields ? S.Struct<E> : S.Void : never>;
95
91
  };
96
- <Tag extends string, Payload_4 extends S.Struct.Fields>(tag: Tag, fields: Payload_4): S.TaggedStruct<Tag, Payload_4> & {
97
- new (...args: any[]): any;
92
+ <Tag extends string, Payload_4 extends S.Struct.Fields>(tag: Tag, fields: Payload_4): S.EnhancedClass<Self, S.TaggedStruct<Tag, Payload_4>, {}> & {
98
93
  readonly _tag: Tag;
99
- readonly fields: {
100
- readonly _tag: S.tag<Tag>;
101
- } & Payload_4;
102
94
  readonly success: S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>;
103
95
  readonly error: never;
104
96
  readonly config: Record<string, never>;
105
97
  readonly "~decodingServices": never;
98
+ readonly "~encodingServices": never;
106
99
  };
107
100
  };
108
- declare const GetSomething2_base: S.TaggedStruct<"GetSomething2", {
101
+ declare const GetSomething2_base: S.EnhancedClass<GetSomething2, S.TaggedStruct<"GetSomething2", {
109
102
  id: S.String;
110
- }> & {
111
- new (...args: any[]): any;
103
+ }>, {}> & {
112
104
  readonly _tag: "GetSomething2";
113
- readonly fields: {
114
- readonly _tag: S.tag<"GetSomething2">;
115
- } & {
116
- id: S.String;
117
- };
118
105
  readonly success: S.FiniteFromString;
119
106
  readonly error: never;
120
107
  readonly config: Omit<{
121
108
  success: S.FiniteFromString;
122
109
  }, "success" | "error">;
123
110
  readonly "~decodingServices": never;
111
+ readonly "~encodingServices": never;
124
112
  };
125
113
  export declare class GetSomething2 extends GetSomething2_base {
126
114
  }
127
- declare const GetSomething2WithDependencies_base: S.TaggedStruct<"GetSomething2", {
115
+ declare const GetSomething2WithDependencies_base: S.EnhancedClass<GetSomething2WithDependencies, S.TaggedStruct<"GetSomething2", {
128
116
  id: S.String;
129
- }> & {
130
- new (...args: any[]): any;
117
+ }>, {}> & {
131
118
  readonly _tag: "GetSomething2";
132
- readonly fields: {
133
- readonly _tag: S.tag<"GetSomething2">;
134
- } & {
135
- id: S.String;
136
- };
137
119
  readonly success: S.Codec<number, string, "dep-a", never>;
138
120
  readonly error: S.String;
139
121
  readonly config: Omit<{
@@ -141,6 +123,7 @@ declare const GetSomething2WithDependencies_base: S.TaggedStruct<"GetSomething2"
141
123
  error: S.String;
142
124
  }, "success" | "error">;
143
125
  readonly "~decodingServices": "dep-a";
126
+ readonly "~encodingServices": never;
144
127
  };
145
128
  export declare class GetSomething2WithDependencies extends GetSomething2WithDependencies_base {
146
129
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stubs.d.ts","sourceRoot":"","sources":["../stubs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,oCAAoC,CAAA;AAE9E,OAAO,EAAU,KA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