@rpcbase/vite 0.160.0 → 0.161.0

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.
@@ -16,23 +16,7 @@ export declare const UserSchema: mongoose.Schema<any, mongoose.Model<any, any, a
16
16
  __v: number;
17
17
  }, "id"> & {
18
18
  id: string;
19
- }, {
20
- [path: string]: mongoose.SchemaDefinitionProperty<undefined, any, any>;
21
- } | {
22
- [x: string]: mongoose.SchemaDefinitionProperty<any, any, mongoose.Document<unknown, {}, {
23
- email?: string | null | undefined;
24
- }, {
25
- id: string;
26
- }, mongoose.DefaultSchemaOptions> & Omit<{
27
- email?: string | null | undefined;
28
- } & {
29
- _id: mongoose.Types.ObjectId;
30
- } & {
31
- __v: number;
32
- }, "id"> & {
33
- id: string;
34
- }> | undefined;
35
- }, {
19
+ }, unknown, {
36
20
  email?: string | null | undefined;
37
21
  } & {
38
22
  _id: mongoose.Types.ObjectId;
@@ -69,23 +53,7 @@ export declare const UserModel: mongoose.Model<{
69
53
  __v: number;
70
54
  }, "id"> & {
71
55
  id: string;
72
- }, {
73
- [path: string]: mongoose.SchemaDefinitionProperty<undefined, any, any>;
74
- } | {
75
- [x: string]: mongoose.SchemaDefinitionProperty<any, any, mongoose.Document<unknown, {}, {
76
- email?: string | null | undefined;
77
- }, {
78
- id: string;
79
- }, mongoose.DefaultSchemaOptions> & Omit<{
80
- email?: string | null | undefined;
81
- } & {
82
- _id: mongoose.Types.ObjectId;
83
- } & {
84
- __v: number;
85
- }, "id"> & {
86
- id: string;
87
- }> | undefined;
88
- }, {
56
+ }, unknown, {
89
57
  email?: string | null | undefined;
90
58
  } & {
91
59
  _id: mongoose.Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"chained-bindings.input.d.ts","sourceRoot":"","sources":["../../../../src/plugins/prune-models-for-client/fixtures/chained-bindings.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,QAAQ,EAAwB,MAAM,aAAa,CAAA;AAG/D,eAAO,MAAM,KAAK;;gCAA0C,CAAA;AAI5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAS,CAAA;AAEhC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA"}
1
+ {"version":3,"file":"chained-bindings.input.d.ts","sourceRoot":"","sources":["../../../../src/plugins/prune-models-for-client/fixtures/chained-bindings.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,QAAQ,EAAwB,MAAM,aAAa,CAAA;AAG/D,eAAO,MAAM,KAAK;;gCAA0C,CAAA;AAI5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;EAAS,CAAA;AAEhC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA"}
@@ -91,9 +91,9 @@ export declare const ContactSchema: import('mongoose').Schema<any, import('mongo
91
91
  avatarUrl?: string | null | undefined;
92
92
  } & import('mongoose').DefaultTimestampProps, {
93
93
  id: string;
94
- }, import('mongoose').MergeType<import('mongoose').DefaultSchemaOptions, {
94
+ }, Omit<import('mongoose').DefaultSchemaOptions, "timestamps"> & {
95
95
  timestamps: true;
96
- }>> & Omit<{
96
+ }> & Omit<{
97
97
  _id: string;
98
98
  displayName: string;
99
99
  workspaceId: string;
@@ -128,79 +128,7 @@ export declare const ContactSchema: import('mongoose').Schema<any, import('mongo
128
128
  __v: number;
129
129
  }, "id"> & {
130
130
  id: string;
131
- }, {
132
- [path: string]: import('mongoose').SchemaDefinitionProperty<undefined, any, any>;
133
- } | {
134
- [x: string]: import('mongoose').SchemaDefinitionProperty<any, any, import('mongoose').Document<unknown, {}, {
135
- _id: string;
136
- displayName: string;
137
- workspaceId: string;
138
- emails: import("mongoose").Types.DocumentArray<{
139
- value: string;
140
- normalized: string;
141
- }, import("mongoose").Types.Subdocument<import('bson').ObjectId, unknown, {
142
- value: string;
143
- normalized: string;
144
- }, {}, {}> & {
145
- value: string;
146
- normalized: string;
147
- }>;
148
- phones: import("mongoose").Types.DocumentArray<{
149
- value: string;
150
- normalizedE164: string;
151
- }, import("mongoose").Types.Subdocument<import('bson').ObjectId, unknown, {
152
- value: string;
153
- normalizedE164: string;
154
- }, {}, {}> & {
155
- value: string;
156
- normalizedE164: string;
157
- }>;
158
- relatedContactIds: string[];
159
- unreliablyMatchesOtherContacts: string[];
160
- address?: string | null | undefined;
161
- notes?: string | null | undefined;
162
- avatarUrl?: string | null | undefined;
163
- } & import('mongoose').DefaultTimestampProps, {
164
- id: string;
165
- }, import('mongoose').MergeType<import('mongoose').DefaultSchemaOptions, {
166
- timestamps: true;
167
- }>> & Omit<{
168
- _id: string;
169
- displayName: string;
170
- workspaceId: string;
171
- emails: import("mongoose").Types.DocumentArray<{
172
- value: string;
173
- normalized: string;
174
- }, import("mongoose").Types.Subdocument<import('bson').ObjectId, unknown, {
175
- value: string;
176
- normalized: string;
177
- }, {}, {}> & {
178
- value: string;
179
- normalized: string;
180
- }>;
181
- phones: import("mongoose").Types.DocumentArray<{
182
- value: string;
183
- normalizedE164: string;
184
- }, import("mongoose").Types.Subdocument<import('bson').ObjectId, unknown, {
185
- value: string;
186
- normalizedE164: string;
187
- }, {}, {}> & {
188
- value: string;
189
- normalizedE164: string;
190
- }>;
191
- relatedContactIds: string[];
192
- unreliablyMatchesOtherContacts: string[];
193
- address?: string | null | undefined;
194
- notes?: string | null | undefined;
195
- avatarUrl?: string | null | undefined;
196
- } & import('mongoose').DefaultTimestampProps & Required<{
197
- _id: string;
198
- }> & {
199
- __v: number;
200
- }, "id"> & {
201
- id: string;
202
- }> | undefined;
203
- }, {
131
+ }, unknown, {
204
132
  _id: string;
205
133
  displayName: string;
206
134
  workspaceId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"contact-model.input.d.ts","sourceRoot":"","sources":["../../../../src/plugins/prune-models-for-client/fixtures/contact-model.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAU,MAAM,aAAa,CAAA;AAGvC,eAAO,MAAM,eAAe,yBAAuD,CAAA;AAEnF,eAAO,MAAM,kBAAkB;;;gCAG7B,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;gCAG7B,CAAA;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;gCAanB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAA;AAqE/C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAS,CAAA"}
1
+ {"version":3,"file":"contact-model.input.d.ts","sourceRoot":"","sources":["../../../../src/plugins/prune-models-for-client/fixtures/contact-model.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAU,MAAM,aAAa,CAAA;AAGvC,eAAO,MAAM,eAAe,yBAAuD,CAAA;AAEnF,eAAO,MAAM,kBAAkB;;;gCAG7B,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;gCAG7B,CAAA;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;gCAanB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAA;AAqE/C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAS,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/vite",
3
- "version": "0.160.0",
3
+ "version": "0.161.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -78,7 +78,7 @@
78
78
  "libphonenumber-js": "1.12.38",
79
79
  "lucide-react": "0.575.0",
80
80
  "magic-string": "0.30.21",
81
- "mongoose": "9.2.2",
81
+ "mongoose": "9.4.1",
82
82
  "posthog-js": "1.354.4",
83
83
  "posthog-node": "5.26.0",
84
84
  "react": "19.2.4",