volter 0.0.178 → 0.0.179
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/dist/std.js +1 -1
- package/package.json +1 -1
- package/types/std.d.ts +18 -12
package/dist/std.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var u=Object.create;var{getPrototypeOf:v,defineProperty:m,getOwnPropertyNames:w}=Object;var z=Object.prototype.hasOwnProperty;function B(b){return this[b]}var C,D,J=(b,g,i)=>{var p=b!=null&&typeof b==="object";if(p){var q=g?C??=new WeakMap:D??=new WeakMap,s=q.get(b);if(s)return s}i=b!=null?u(v(b)):{};let j=g||!b||!b.__esModule?m(i,"default",{value:b,enumerable:!0}):i;for(let k of w(b))if(!z.call(j,k))m(j,k,{get:B.bind(b,k),enumerable:!0});if(p)q.set(b,j);return j};var K=(b,g)=>()=>(g||b((g={exports:{}}).exports,g),g.exports);var E=(b)=>b;function F(b,g){this[b]=E.bind(null,g)}var L=(b,g)=>{for(var i in g)m(b,i,{get:g[i],enumerable:!0,configurable:!0,set:F.bind(g,i)})};var M=((b)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(b,{get:(g,i)=>(typeof require<"u"?require:g)[i]}):b)(function(b){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+b+'" is not supported')});var I;((i)=>{i[i.Male=0]="Male";i[i.Female=1]="Female"})(I||={});export{I as Gender};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "volter",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.179",
|
|
5
5
|
"description": "Secure, lightweight, and user-friendly modern JavaScript toolchain optimized for performance and minimalism.",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
package/types/std.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
+
export interface Connection {
|
|
2
|
+
hostname: string;
|
|
3
|
+
port: number;
|
|
4
|
+
auth: {
|
|
5
|
+
username: string;
|
|
6
|
+
password: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
1
9
|
export declare enum Gender {
|
|
2
10
|
Male = 0,
|
|
3
11
|
Female = 1
|
|
4
12
|
}
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
"A-" = 1,
|
|
8
|
-
"B+" = 2,
|
|
9
|
-
"B-" = 3,
|
|
10
|
-
"O+" = 4,
|
|
11
|
-
"O-" = 5,
|
|
12
|
-
"AB+" = 6,
|
|
13
|
-
"AB-" = 7
|
|
14
|
-
}
|
|
15
|
-
export interface Email {
|
|
13
|
+
export type BloodGroup = "A+" | "A-" | "B+" | "B-" | "O+" | "O-" | "AB+" | "AB-";
|
|
14
|
+
export interface EmailAddress {
|
|
16
15
|
displayname?: string;
|
|
17
16
|
address: string;
|
|
18
17
|
}
|
|
@@ -37,10 +36,17 @@ export interface Contact {
|
|
|
37
36
|
about?: string;
|
|
38
37
|
links: Link[];
|
|
39
38
|
phone: string[];
|
|
40
|
-
email:
|
|
39
|
+
email: EmailAddress[];
|
|
41
40
|
image?: string;
|
|
42
41
|
birthday?: Date;
|
|
43
42
|
gender?: Gender;
|
|
44
43
|
bloodgroup?: BloodGroup;
|
|
45
44
|
address: Address[];
|
|
46
45
|
}
|
|
46
|
+
export interface User {
|
|
47
|
+
id: string;
|
|
48
|
+
displayname?: string;
|
|
49
|
+
username: string;
|
|
50
|
+
created_at: Date;
|
|
51
|
+
updated_at: Date;
|
|
52
|
+
}
|