magicrealmsshared 0.6.40 → 0.6.41
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.
|
@@ -148,16 +148,19 @@ export declare const ADMIN_WELL_CREATE_SCHEME: z.ZodObject<{
|
|
|
148
148
|
type: "Point";
|
|
149
149
|
coordinates: number[];
|
|
150
150
|
}>;
|
|
151
|
+
name: z.ZodOptional<z.ZodString>;
|
|
151
152
|
}, "strict", z.ZodTypeAny, {
|
|
152
153
|
pos: {
|
|
153
154
|
type: "Point";
|
|
154
155
|
coordinates: number[];
|
|
155
156
|
};
|
|
157
|
+
name?: string | undefined;
|
|
156
158
|
}, {
|
|
157
159
|
pos: {
|
|
158
160
|
type: "Point";
|
|
159
161
|
coordinates: number[];
|
|
160
162
|
};
|
|
163
|
+
name?: string | undefined;
|
|
161
164
|
}>;
|
|
162
165
|
export type ADMIN_WELL_CREATE = z.infer<typeof ADMIN_WELL_CREATE_SCHEME>;
|
|
163
166
|
export declare const ADMIN_WELL_DELETE_COMMAND = "ADMIN_WELL_DELETE";
|
package/dist/communication/ws.js
CHANGED
|
@@ -70,6 +70,7 @@ exports.REQUEST_WITH_WELLID_SCHEME = zod_1.z.strictObject({
|
|
|
70
70
|
exports.ADMIN_WELL_CREATE_COMMAND = "ADMIN_WELL_CREATE";
|
|
71
71
|
exports.ADMIN_WELL_CREATE_SCHEME = zod_1.z.strictObject({
|
|
72
72
|
pos: exports.GeoJSONPointSchema,
|
|
73
|
+
name: zod_1.z.string().min(1).optional(),
|
|
73
74
|
});
|
|
74
75
|
exports.ADMIN_WELL_DELETE_COMMAND = "ADMIN_WELL_DELETE";
|
|
75
76
|
exports.ADMIN_WELL_DELETE_SCHEME = exports.REQUEST_WITH_WELLID_SCHEME;
|