@shakerquiz/utilities 0.3.28 → 0.3.30

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@shakerquiz/utilities",
3
- "version": "0.3.28",
3
+ "version": "0.3.30",
4
4
  "author": "yurkimus <yurkimus@gmail.com>",
5
5
  "license": "ISC",
6
6
  "scripts": {
7
- "type": "tsc ./source/dir/file.js --allowjs --emitdeclarationonly --declaration"
7
+ "type": "tsc --emitdeclarationonly --declaration --allowjs"
8
8
  },
9
9
  "exports": {
10
10
  ".": {
@@ -0,0 +1,4 @@
1
+ export namespace Affilations {
2
+ let Branch: "Branch";
3
+ let Franchise: "Franchise";
4
+ }
@@ -0,0 +1,4 @@
1
+ export var Affilations = /** @type {const} */ ({
2
+ Branch: 'Branch',
3
+ Franchise: 'Franchise',
4
+ })
@@ -1,5 +1,6 @@
1
1
  export const Features: {
2
2
  Checkin: "Checkin";
3
+ Mailing: "Mailing";
3
4
  '404': "404";
4
5
  Exception: "Exception";
5
6
  Home: "Home";
@@ -71,6 +71,7 @@ export var PageServiceDefaults = {
71
71
  */
72
72
  export var ProcedureServiceDefaults = {
73
73
  [Procedures.Checkin]: Backends.Users,
74
+ [Procedures.Mailing]: Backends.Games,
74
75
  }
75
76
 
76
77
  /**
@@ -1,5 +1,6 @@
1
1
  export namespace Procedures {
2
2
  let Checkin: "Checkin";
3
+ let Mailing: "Mailing";
3
4
  }
4
5
  /**
5
6
  * @type {Record<Procedure, Icon>}
@@ -5,6 +5,7 @@ import { Requirements } from './requirements.js'
5
5
 
6
6
  export var Procedures = /** @type {const} */ ({
7
7
  Checkin: 'Checkin',
8
+ Mailing: 'Mailing',
8
9
  })
9
10
 
10
11
  /**
@@ -12,6 +13,7 @@ export var Procedures = /** @type {const} */ ({
12
13
  */
13
14
  export var ProcedureIcons = {
14
15
  [Procedures.Checkin]: Icons['arrow-right-end-on-rectangle'],
16
+ [Procedures.Mailing]: Icons['envelope'],
15
17
  }
16
18
 
17
19
  /**
@@ -20,7 +22,12 @@ export var ProcedureIcons = {
20
22
  export var ProcedureKindPathnames = {
21
23
  [Procedures.Checkin]: {
22
24
  [Kinds.Unit]: '/checkin',
23
- [Kinds.Set]: '/checkin',
25
+ [Kinds.Set]: '/checkins',
26
+ },
27
+
28
+ [Procedures.Mailing]: {
29
+ [Kinds.Unit]: '/mailing',
30
+ [Kinds.Set]: '/mailings',
24
31
  },
25
32
  }
26
33
 
@@ -36,4 +43,13 @@ export var ProcedureMethodRequirements = {
36
43
  [Methods.POST]: new Set([Requirements.Body]),
37
44
  [Methods.PUT]: new Set([]),
38
45
  },
46
+
47
+ [Procedures.Mailing]: {
48
+ [Methods.DELETE]: new Set([]),
49
+ [Methods.GET]: new Set([]),
50
+ [Methods.OPTIONS]: new Set([]),
51
+ [Methods.PATCH]: new Set([]),
52
+ [Methods.POST]: new Set([Requirements.Body]),
53
+ [Methods.PUT]: new Set([Requirements.Body]),
54
+ },
39
55
  }
package/source/index.d.ts CHANGED
@@ -9,6 +9,7 @@
9
9
  /// <reference path='./user.d.ts' />
10
10
  /// <reference path='./venue.d.ts' />
11
11
 
12
+ export * from './enumerations/affilations.js'
12
13
  export * from './enumerations/backends.js'
13
14
  export * from './enumerations/constants.js'
14
15
  export * from './enumerations/cookies.js'
package/source/index.js CHANGED
@@ -9,6 +9,7 @@
9
9
  /// <reference path='./user.d.ts' />
10
10
  /// <reference path='./venue.d.ts' />
11
11
 
12
+ export * from './enumerations/affilations.js'
12
13
  export * from './enumerations/backends.js'
13
14
  export * from './enumerations/constants.js'
14
15
  export * from './enumerations/cookies.js'