pareto-core-shorthands 0.2.10 → 0.2.12

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,26 +5,26 @@ export type Raw_Or_Normal_Dictionary<T> = {
5
5
  export type Raw_Or_Normal_List<T> = T[] | _pi.List<T>;
6
6
  export type Raw_Optional<T> = null | undefined | T;
7
7
  export type Reference_To_Normal_Dictionary_Entry<G_Source, T_Dictionary_Entry> = {
8
- readonly 'key': string;
9
- readonly 'location': G_Source;
8
+ readonly 'l id': string;
9
+ readonly 'l location': G_Source;
10
10
  };
11
11
  export type Reference_To_Stacked_Dictionary_Entry<G_Source, T_Dictionary_Entry> = {
12
- readonly 'key': string;
13
- readonly 'location': G_Source;
12
+ readonly 'l id': string;
13
+ readonly 'l location': G_Source;
14
14
  };
15
15
  export type Dictionary<G_Source, T_D> = {
16
- readonly 'dictionary': _pi.Dictionary<{
17
- readonly 'entry': T_D;
18
- readonly 'location': G_Source;
16
+ readonly 'l dictionary': _pi.Dictionary<{
17
+ readonly 'l entry': T_D;
18
+ readonly 'l location': G_Source;
19
19
  }>;
20
- readonly 'location': G_Source;
20
+ readonly 'l location': G_Source;
21
21
  };
22
22
  export type List<G_Source, T_L> = {
23
- readonly 'list': _pi.List<{
24
- readonly 'element': T_L;
25
- readonly 'location': G_Source;
23
+ readonly 'l list': _pi.List<{
24
+ readonly 'l item': T_L;
25
+ readonly 'l location': G_Source;
26
26
  }>;
27
- readonly 'location': G_Source;
27
+ readonly 'l location': G_Source;
28
28
  };
29
29
  export declare namespace optional {
30
30
  const set: typeof import("pareto-core/dist/__internals/sync/expression/literals/optional").set;
@@ -58,19 +58,19 @@ const wrap_dictionary = ($) => {
58
58
  }
59
59
  if (is_normal($)) {
60
60
  return {
61
- 'location': location,
62
- 'dictionary': $.__d_map(($) => ({
63
- 'location': location,
64
- 'entry': $,
61
+ 'l location': location,
62
+ 'l dictionary': $.__d_map(($) => ({
63
+ 'l location': location,
64
+ 'l entry': $,
65
65
  }))
66
66
  };
67
67
  }
68
68
  else {
69
69
  return {
70
- 'location': location,
71
- 'dictionary': _pinternals.dictionary.literal($).__d_map(($) => ({
72
- 'location': location,
73
- 'entry': $,
70
+ 'l location': location,
71
+ 'l dictionary': _pinternals.dictionary.literal($).__d_map(($) => ({
72
+ 'l location': location,
73
+ 'l entry': $,
74
74
  }))
75
75
  };
76
76
  }
@@ -85,10 +85,10 @@ const wrap_list = ($) => {
85
85
  throw new Error("invalid input in 'wrap_list'");
86
86
  }
87
87
  return {
88
- 'location': location,
89
- 'list': decorated.__l_map(($) => ({
90
- 'location': location,
91
- 'element': $,
88
+ 'l location': location,
89
+ 'l list': decorated.__l_map(($) => ({
90
+ 'l location': location,
91
+ 'l item': $,
92
92
  }))
93
93
  };
94
94
  };
@@ -111,15 +111,15 @@ const wrap_optional = ($) => {
111
111
  exports.wrap_optional = wrap_optional;
112
112
  const wrap_reference = ($) => {
113
113
  return {
114
- 'location': (0, get_location_info_1.$$)(depth + 1),
115
- 'key': $,
114
+ 'l location': (0, get_location_info_1.$$)(depth + 1),
115
+ 'l id': $,
116
116
  };
117
117
  };
118
118
  exports.wrap_reference = wrap_reference;
119
119
  const wrap_stack_reference = (name) => {
120
120
  return {
121
- 'location': (0, get_location_info_1.$$)(depth + 1),
122
- 'key': name,
121
+ 'l location': (0, get_location_info_1.$$)(depth + 1),
122
+ 'l id': name,
123
123
  };
124
124
  };
125
125
  exports.wrap_stack_reference = wrap_stack_reference;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pareto-core-shorthands",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
4
4
  "license": "ISC",
5
5
  "description": "the pareto package used for building datasets",
6
6
  "author": "Corno",
@@ -23,6 +23,6 @@
23
23
  "url": "git+https://github.com/corno/pareto-core-shorthands.git"
24
24
  },
25
25
  "dependencies": {
26
- "pareto-core": "^0.1.9"
26
+ "pareto-core": "^0.1.16"
27
27
  }
28
28
  }