magicrealmsshared 0.4.6 → 0.4.7
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.
|
@@ -5,6 +5,7 @@ export declare const GeoJSONPointSchema: z.ZodObject<{
|
|
|
5
5
|
type: z.ZodLiteral<"Point">;
|
|
6
6
|
coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
7
7
|
}, z.core.$strict>;
|
|
8
|
+
export declare const AUTH_TOKEN_SCHEME: z.ZodString;
|
|
8
9
|
export declare const AUTH = "AUTH";
|
|
9
10
|
export declare const AUTH_ACK = "AUTH_ACK";
|
|
10
11
|
export declare const AUTH_INVALID = "AI";
|
package/dist/communication/ws.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ADMIN_WELL_DELETE_COMMAND = exports.ADMIN_WELL_CREATE_COMMAND = exports.POSUPDATE_SCHEME = exports.POSUPDATE_COMMAND = exports.DATA_UPDATE_COMMAND = exports.LOGIN_RESPONSE_CODE_SERVER_ERROR = exports.LOGIN_RESPONSE_CODE_PASSWORD_INVALID = exports.LOGIN_RESPONSE_CODE_EMAIL_INVALID = exports.LOGIN_RESPONSE_CODE_SUCCESS = exports.LOGIN_RESPONSE_COMMAND = exports.LOGIN_DATA_SCHEME = exports.LOGIN_COMMAND = exports.AUTH_INVALID = exports.AUTH_ACK = exports.AUTH = exports.GeoJSONPointSchema = void 0;
|
|
3
|
+
exports.ADMIN_WELL_DELETE_COMMAND = exports.ADMIN_WELL_CREATE_COMMAND = exports.POSUPDATE_SCHEME = exports.POSUPDATE_COMMAND = exports.DATA_UPDATE_COMMAND = exports.LOGIN_RESPONSE_CODE_SERVER_ERROR = exports.LOGIN_RESPONSE_CODE_PASSWORD_INVALID = exports.LOGIN_RESPONSE_CODE_EMAIL_INVALID = exports.LOGIN_RESPONSE_CODE_SUCCESS = exports.LOGIN_RESPONSE_COMMAND = exports.LOGIN_DATA_SCHEME = exports.LOGIN_COMMAND = exports.AUTH_INVALID = exports.AUTH_ACK = exports.AUTH = exports.AUTH_TOKEN_SCHEME = exports.GeoJSONPointSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.GeoJSONPointSchema = zod_1.z.strictObject({
|
|
6
6
|
type: zod_1.z.literal("Point"),
|
|
@@ -9,6 +9,7 @@ exports.GeoJSONPointSchema = zod_1.z.strictObject({
|
|
|
9
9
|
zod_1.z.number(), // latitude
|
|
10
10
|
]),
|
|
11
11
|
});
|
|
12
|
+
exports.AUTH_TOKEN_SCHEME = zod_1.z.string().length(64);
|
|
12
13
|
exports.AUTH = "AUTH";
|
|
13
14
|
exports.AUTH_ACK = "AUTH_ACK";
|
|
14
15
|
exports.AUTH_INVALID = "AI";
|