@de./types 1.0.0 → 1.0.1

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.
@@ -11,7 +11,7 @@ export declare const SharedTrackingSessionRVS: {
11
11
  reference: import("@sinclair/typebox").TString;
12
12
  }>;
13
13
  querystring: import("@sinclair/typebox").TObject<{
14
- role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"agent">, import("@sinclair/typebox").TLiteral<"customer">]>;
14
+ role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"agent">, import("@sinclair/typebox").TLiteral<"customer">, import("@sinclair/typebox").TLiteral<"vendor">]>;
15
15
  }>;
16
16
  response: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
17
17
  error: import("@sinclair/typebox").TBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"tracking.d.ts","sourceRoot":"","sources":["../../src/shared/tracking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,MAAM,mBAAmB,CAAA;AAOhD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;CAepC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC7C,OAAO,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACzD,MAAM,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,MAAM,CAAC,CAAC;IACvD,WAAW,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,WAAW,CAAC,CAAC;IACjE,QAAQ,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,QAAQ,CAAC,CAAA;CAC1D,CAAA"}
1
+ {"version":3,"file":"tracking.d.ts","sourceRoot":"","sources":["../../src/shared/tracking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAQ,MAAM,mBAAmB,CAAA;AAOhD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;CAgBpC,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC7C,OAAO,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACzD,MAAM,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,MAAM,CAAC,CAAC;IACvD,WAAW,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,WAAW,CAAC,CAAC;IACjE,QAAQ,EAAE,MAAM,CAAC,OAAO,wBAAwB,CAAC,QAAQ,CAAC,CAAA;CAC1D,CAAA"}
@@ -10,7 +10,8 @@ exports.SharedTrackingSessionRVS = {
10
10
  querystring: typebox_1.Type.Object({
11
11
  role: typebox_1.Type.Union([
12
12
  typebox_1.Type.Literal('agent'),
13
- typebox_1.Type.Literal('customer')
13
+ typebox_1.Type.Literal('customer'),
14
+ typebox_1.Type.Literal('vendor')
14
15
  ], { description: 'Must match the utype used at Socket.IO connect time' })
15
16
  }),
16
17
  response: (0, api_1.APIResponseDataSchemaFactory)({
@@ -1 +1 @@
1
- {"version":3,"file":"tracking.js","sourceRoot":"","sources":["../../src/shared/tracking.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,gCAGe;AACf,gCAAyC;AAE5B,QAAA,wBAAwB,GAAG;IACvC,OAAO,EAAE,sBAAgB;IACzB,MAAM,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IAC1E,WAAW,EAAE,cAAI,CAAC,MAAM,CAAC;QACxB,IAAI,EAAE,cAAI,CAAC,KAAK,CAAC;YAChB,cAAI,CAAC,OAAO,CAAC,OAAO,CAAC;YACrB,cAAI,CAAC,OAAO,CAAC,UAAU,CAAC;SACxB,EAAE,EAAE,WAAW,EAAE,qDAAqD,EAAE,CAAC;KAC1E,CAAC;IACF,QAAQ,EAAE,IAAA,kCAA4B,EAAC;QACtC,OAAO,EAAE,cAAI,CAA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AAI,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,+CAA+C,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC;KAC5G,CAAC;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@de./types",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Shared domain types for the De. platform — TypeBox schemas + TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -12,20 +12,76 @@
12
12
  "require": "./dist/index.js"
13
13
  },
14
14
  "./package.json": "./package.json",
15
- "./aux": { "types": "./dist/aux/index.d.ts", "import": "./dist/aux/index.js", "require": "./dist/aux/index.js" },
16
- "./csp": { "types": "./dist/csp/index.d.ts", "import": "./dist/csp/index.js", "require": "./dist/csp/index.js" },
17
- "./dev": { "types": "./dist/dev/index.d.ts", "import": "./dist/dev/index.js", "require": "./dist/dev/index.js" },
18
- "./iotsp": { "types": "./dist/iotsp/index.d.ts", "import": "./dist/iotsp/index.js", "require": "./dist/iotsp/index.js" },
19
- "./realm": { "types": "./dist/realm/index.d.ts", "import": "./dist/realm/index.js", "require": "./dist/realm/index.js" },
20
- "./shared": { "types": "./dist/shared/index.d.ts", "import": "./dist/shared/index.js", "require": "./dist/shared/index.js" },
21
- "./workspace": { "types": "./dist/workspace/index.d.ts", "import": "./dist/workspace/index.js", "require": "./dist/workspace/index.js" },
22
- "./lsp": { "types": "./dist/lsp/index.d.ts", "import": "./dist/lsp/index.js", "require": "./dist/lsp/index.js" },
23
- "./lsp/carrier": { "types": "./dist/lsp/carrier/index.d.ts", "import": "./dist/lsp/carrier/index.js", "require": "./dist/lsp/carrier/index.js" },
24
- "./lsp/fleet": { "types": "./dist/lsp/fleet/index.d.ts", "import": "./dist/lsp/fleet/index.js", "require": "./dist/lsp/fleet/index.js" },
25
- "./lsp/hub": { "types": "./dist/lsp/hub/index.d.ts", "import": "./dist/lsp/hub/index.js", "require": "./dist/lsp/hub/index.js" },
26
- "./lsp/pod": { "types": "./dist/lsp/pod/index.d.ts", "import": "./dist/lsp/pod/index.js", "require": "./dist/lsp/pod/index.js" },
27
- "./lsp/terminal": { "types": "./dist/lsp/terminal/index.d.ts", "import": "./dist/lsp/terminal/index.js", "require": "./dist/lsp/terminal/index.js" },
28
- "./lsp/warehouse": { "types": "./dist/lsp/warehouse/index.d.ts", "import": "./dist/lsp/warehouse/index.js", "require": "./dist/lsp/warehouse/index.js" },
15
+ "./aux": {
16
+ "types": "./dist/aux/index.d.ts",
17
+ "import": "./dist/aux/index.js",
18
+ "require": "./dist/aux/index.js"
19
+ },
20
+ "./csp": {
21
+ "types": "./dist/csp/index.d.ts",
22
+ "import": "./dist/csp/index.js",
23
+ "require": "./dist/csp/index.js"
24
+ },
25
+ "./dev": {
26
+ "types": "./dist/dev/index.d.ts",
27
+ "import": "./dist/dev/index.js",
28
+ "require": "./dist/dev/index.js"
29
+ },
30
+ "./iotsp": {
31
+ "types": "./dist/iotsp/index.d.ts",
32
+ "import": "./dist/iotsp/index.js",
33
+ "require": "./dist/iotsp/index.js"
34
+ },
35
+ "./realm": {
36
+ "types": "./dist/realm/index.d.ts",
37
+ "import": "./dist/realm/index.js",
38
+ "require": "./dist/realm/index.js"
39
+ },
40
+ "./shared": {
41
+ "types": "./dist/shared/index.d.ts",
42
+ "import": "./dist/shared/index.js",
43
+ "require": "./dist/shared/index.js"
44
+ },
45
+ "./workspace": {
46
+ "types": "./dist/workspace/index.d.ts",
47
+ "import": "./dist/workspace/index.js",
48
+ "require": "./dist/workspace/index.js"
49
+ },
50
+ "./lsp": {
51
+ "types": "./dist/lsp/index.d.ts",
52
+ "import": "./dist/lsp/index.js",
53
+ "require": "./dist/lsp/index.js"
54
+ },
55
+ "./lsp/carrier": {
56
+ "types": "./dist/lsp/carrier/index.d.ts",
57
+ "import": "./dist/lsp/carrier/index.js",
58
+ "require": "./dist/lsp/carrier/index.js"
59
+ },
60
+ "./lsp/fleet": {
61
+ "types": "./dist/lsp/fleet/index.d.ts",
62
+ "import": "./dist/lsp/fleet/index.js",
63
+ "require": "./dist/lsp/fleet/index.js"
64
+ },
65
+ "./lsp/hub": {
66
+ "types": "./dist/lsp/hub/index.d.ts",
67
+ "import": "./dist/lsp/hub/index.js",
68
+ "require": "./dist/lsp/hub/index.js"
69
+ },
70
+ "./lsp/pod": {
71
+ "types": "./dist/lsp/pod/index.d.ts",
72
+ "import": "./dist/lsp/pod/index.js",
73
+ "require": "./dist/lsp/pod/index.js"
74
+ },
75
+ "./lsp/terminal": {
76
+ "types": "./dist/lsp/terminal/index.d.ts",
77
+ "import": "./dist/lsp/terminal/index.js",
78
+ "require": "./dist/lsp/terminal/index.js"
79
+ },
80
+ "./lsp/warehouse": {
81
+ "types": "./dist/lsp/warehouse/index.d.ts",
82
+ "import": "./dist/lsp/warehouse/index.js",
83
+ "require": "./dist/lsp/warehouse/index.js"
84
+ },
29
85
  "./*": {
30
86
  "types": "./dist/*.d.ts",
31
87
  "import": "./dist/*.js",
@@ -34,7 +90,9 @@
34
90
  },
35
91
  "typesVersions": {
36
92
  "*": {
37
- "*": [ "./dist/*" ]
93
+ "*": [
94
+ "./dist/*"
95
+ ]
38
96
  }
39
97
  },
40
98
  "files": [
@@ -11,7 +11,8 @@ export const SharedTrackingSessionRVS = {
11
11
  querystring: Type.Object({
12
12
  role: Type.Union([
13
13
  Type.Literal('agent'),
14
- Type.Literal('customer')
14
+ Type.Literal('customer'),
15
+ Type.Literal('vendor')
15
16
  ], { description: 'Must match the utype used at Socket.IO connect time' })
16
17
  }),
17
18
  response: APIResponseDataSchemaFactory({