@tolki/ts 0.2.0 → 1.0.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,4BAA4B,EAC5B,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,EACpB,MAAM,cAAc,CAAC;AAYtB,YAAY,EACR,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,4BAA4B,EAC5B,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,GACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,KAAK,CAC7C,QAAQ,SAAS,SAAS,MAAM,EAAE,EAClC,KAAK,SAAS,SAAS,YAAY,EAAE,EACrC,UAAU,SAAS,kBAAkB,GAAG,SAAS,EACjD,kBAAkB,EAClB,uBAAuB,EAEvB,KAAK,EAAE,iBAAiB,CACpB,QAAQ,EACR,KAAK,EACL,UAAU,EACV,kBAAkB,EAClB,uBAAuB,CAC1B,KACA,iBAAiB,CAClB,QAAQ,EACR,KAAK,EACL,UAAU,EACV,UAAU,EACV,uBAAuB,CAC1B,CA8BA;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,sBAAsB,CAAC,eAAe,KAAK,CACvD,QAAQ,SAAS,SAAS,MAAM,EAAE,EAClC,KAAK,SAAS,SAAS,YAAY,EAAE,EACrC,UAAU,SAAS,kBAAkB,GAAG,SAAS,EACjD,UAAU,EACV,uBAAuB,EAEvB,KAAK,EAAE,iBAAiB,CACpB,QAAQ,EACR,KAAK,EACL,UAAU,EACV,UAAU,EACV,uBAAuB,CAC1B,KACA,iBAAiB,CAClB,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CAEN;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC3B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GACjC,IAAI,CAMN;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAE5E;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAEzC;AA8YD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC3B,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,iBAAiB,GAC5B,iBAAiB,CAWnB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,WAAW,CACvB,KAAK,CAAC,QAAQ,SAAS,SAAS,MAAM,EAAE,EACxC,KAAK,CAAC,KAAK,SAAS,SAAS,YAAY,EAAE,GAAG,SAAS,EAAE,EACzD,KAAK,CAAC,UAAU,SAAS,kBAAkB,GAAG,SAAS,GAAG,SAAS,EAEnE,QAAQ,EAAE,aAAa,CAAC,QAAQ,EAAE,KAAK,EAAE,UAAU,CAAC,GACrD,iBAAiB,CAAC,QAAQ,EAAE,KAAK,EAAE,UAAU,CAAC,CAkGhD"}
package/dist/routes.js CHANGED
@@ -1,23 +1,23 @@
1
- import { isString as U, isFunction as D, isUndefined as $, isNull as j, isObject as a, isArray as q, isNumber as E, isBoolean as K } from "@tolki/utils";
2
- function I() {
1
+ import { isString as U, isFunction as E, isUndefined as $, isNull as j, isObject as g, isArray as q, isNumber as K, isBoolean as Q } from "@tolki/utils";
2
+ function F() {
3
3
  return function(e) {
4
4
  return e;
5
5
  };
6
6
  }
7
- function N() {
7
+ function I() {
8
8
  return function(e) {
9
9
  return e;
10
10
  };
11
11
  }
12
- const w = () => ({});
13
- let y = w;
12
+ const C = () => ({});
13
+ let y = C;
14
14
  function T(e) {
15
- y = D(e) ? e : () => ({ ...e });
15
+ y = E(e) ? e : () => ({ ...e });
16
16
  }
17
17
  function V(e, n) {
18
- const o = y;
18
+ const t = y;
19
19
  y = () => ({
20
- ...o(),
20
+ ...t(),
21
21
  [e]: n
22
22
  });
23
23
  }
@@ -25,20 +25,20 @@ function v() {
25
25
  return { ...y() };
26
26
  }
27
27
  function L() {
28
- y = w;
28
+ y = C;
29
29
  }
30
30
  function O(e, n) {
31
31
  if ($(e) || j(e))
32
32
  return "";
33
- if (a(e)) {
33
+ if (g(e)) {
34
34
  if (n?._routeKey) {
35
- const o = n._routeKey;
36
- if (o in e)
37
- return String(e[o]);
35
+ const t = n._routeKey;
36
+ if (t in e)
37
+ return String(e[t]);
38
38
  if ("id" in e)
39
39
  return String(e.id);
40
40
  throw new Error(
41
- `Route error: object passed as '${n.name}' parameter is missing route model binding key '${o}'.`
41
+ `Route error: object passed as '${n.name}' parameter is missing route model binding key '${t}'.`
42
42
  );
43
43
  }
44
44
  if (n?._enumValues) {
@@ -55,137 +55,137 @@ function O(e, n) {
55
55
  function S(e, n) {
56
56
  if (j(n) || $(n))
57
57
  return [];
58
- if (K(n))
58
+ if (Q(n))
59
59
  return [`${encodeURIComponent(e)}=${n ? "1" : "0"}`];
60
60
  if (q(n)) {
61
- const o = [];
61
+ const t = [];
62
62
  for (let r = 0; r < n.length; r++)
63
- o.push(
63
+ t.push(
64
64
  ...S(`${e}[${r}]`, n[r])
65
65
  );
66
- return o;
66
+ return t;
67
67
  }
68
- if (a(n)) {
69
- const o = [];
68
+ if (g(n)) {
69
+ const t = [];
70
70
  for (const [r, h] of Object.entries(n))
71
- o.push(
71
+ t.push(
72
72
  ...S(`${e}[${r}]`, h)
73
73
  );
74
- return o;
74
+ return t;
75
75
  }
76
76
  return [`${encodeURIComponent(e)}=${encodeURIComponent(String(n))}`];
77
77
  }
78
- function Q(e) {
78
+ function x(e) {
79
79
  const n = [];
80
- for (const [o, r] of Object.entries(e))
81
- n.push(...S(o, r));
80
+ for (const [t, r] of Object.entries(e))
81
+ n.push(...S(t, r));
82
82
  return n.length === 0 ? "" : `?${n.join("&")}`;
83
83
  }
84
84
  function R(e, n) {
85
85
  if (e.length === 0)
86
86
  return [{}, void 0];
87
- const o = n;
87
+ const t = n;
88
88
  let r;
89
- if (o.length === 0)
90
- return e.length === 1 && a(e[0]) ? [{}, e[0]] : [{}, void 0];
91
- const h = new Set(o.map((s) => s.name));
89
+ if (t.length === 0)
90
+ return e.length === 1 && g(e[0]) ? [{}, e[0]] : [{}, void 0];
91
+ const h = new Set(t.map((s) => s.name));
92
92
  if (e.length >= 2) {
93
93
  const s = e[e.length - 1];
94
- a(s) && !Object.keys(s).some(
95
- (t) => h.has(t)
96
- ) && e.length > o.length && (r = s, e = e.slice(0, -1));
94
+ g(s) && !Object.keys(s).some(
95
+ (c) => h.has(c)
96
+ ) && e.length > t.length && (r = s, e = e.slice(0, -1));
97
97
  }
98
98
  if (e.length === 1 && q(e[0])) {
99
99
  const s = e[0], m = {};
100
- for (let t = 0; t < s.length && t < o.length; t++)
101
- m[o[t].name] = s[t];
100
+ for (let c = 0; c < s.length && c < t.length; c++)
101
+ m[t[c].name] = s[c];
102
102
  return [m, r];
103
103
  }
104
- if (e.length === 1 && a(e[0])) {
104
+ if (e.length === 1 && g(e[0])) {
105
105
  const s = e[0];
106
- if (Object.keys(s).some((t) => h.has(t))) {
107
- const t = {}, u = {};
108
- for (const [c, l] of Object.entries(s))
109
- h.has(c) ? t[c] = l : c === "_query" ? r = {
106
+ if (Object.keys(s).some((c) => h.has(c))) {
107
+ const c = {}, i = {};
108
+ for (const [u, f] of Object.entries(s))
109
+ h.has(u) ? c[u] = f : u === "_query" ? r = {
110
110
  ...r,
111
- _query: l
112
- } : u[c] = l;
113
- return Object.keys(u).length > 0 && (r = { ...r, ...u }), [
114
- t,
111
+ _query: f
112
+ } : i[u] = f;
113
+ return Object.keys(i).length > 0 && (r = { ...r, ...i }), [
114
+ c,
115
115
  Object.keys(r ?? {}).length > 0 ? r : void 0
116
116
  ];
117
117
  }
118
- if (o.length === 1) {
119
- const t = o[0], u = t.name, c = t._routeKey;
120
- if (c && c in s || "id" in s || "_routeKey" in s)
121
- return [{ [u]: s }, r];
118
+ if (t.length === 1) {
119
+ const c = t[0], i = c.name, u = c._routeKey;
120
+ if (u && u in s || "id" in s || "_routeKey" in s)
121
+ return [{ [i]: s }, r];
122
122
  }
123
123
  return [{}, { ...r, ...s }];
124
124
  }
125
- if (e.length >= 1 && e.every((s) => U(s) || E(s) || a(s))) {
125
+ if (e.length >= 1 && e.every((s) => U(s) || K(s) || g(s))) {
126
126
  const s = {};
127
- for (let m = 0; m < e.length && m < o.length; m++)
128
- s[o[m].name] = e[m];
127
+ for (let m = 0; m < e.length && m < t.length; m++)
128
+ s[t[m].name] = e[m];
129
129
  return [s, r];
130
130
  }
131
131
  return [{}, r];
132
132
  }
133
- function d(e, n, o, r) {
133
+ function d(e, n, t, r) {
134
134
  let h = e;
135
135
  !h.startsWith("/") && !h.startsWith("//") && !h.includes("://") && (h = `//${h}`);
136
- const s = new Map(o.map((i) => [i.name, i])), m = y(), t = {};
137
- for (const i of o)
138
- i.name in m && !(i.name in n) && (t[i.name] = m[i.name]);
139
- for (const [i, f] of Object.entries(n))
140
- t[i] = f;
141
- for (const i of o)
142
- if (i.where && i.name in t) {
143
- const f = O(t[i.name], i);
144
- if (f !== "") {
136
+ const s = new Map(t.map((o) => [o.name, o])), m = y(), c = {};
137
+ for (const o of t)
138
+ o.name in m && !(o.name in n) && (c[o.name] = m[o.name]);
139
+ for (const [o, l] of Object.entries(n))
140
+ c[o] = l;
141
+ for (const o of t)
142
+ if (o.where && o.name in c) {
143
+ const l = O(c[o.name], o);
144
+ if (l !== "") {
145
145
  let p;
146
146
  try {
147
- p = new RegExp(`^${i.where}$`);
147
+ p = new RegExp(`^${o.where}$`);
148
148
  } catch {
149
149
  throw new Error(
150
- `Route error: '${i.name}' has invalid 'where' constraint pattern '${i.where}'.`
150
+ `Route error: '${o.name}' has invalid 'where' constraint pattern '${o.where}'.`
151
151
  );
152
152
  }
153
- if (!p.test(f))
153
+ if (!p.test(l))
154
154
  throw new Error(
155
- `Route error: '${i.name}' parameter '${f}' does not match required format '${i.where}'.`
155
+ `Route error: '${o.name}' parameter '${l}' does not match required format '${o.where}'.`
156
156
  );
157
157
  }
158
158
  }
159
- const c = h.replace(
159
+ const u = h.replace(
160
160
  /{([^{}?]+)(\??)}/g,
161
- (i, f, p) => {
162
- const b = t[f], C = s.get(f);
161
+ (o, l, p) => {
162
+ const b = c[l], P = s.get(l);
163
163
  if (!p && ($(b) || j(b)))
164
164
  throw new Error(
165
- `Route error: '${f}' parameter is required.`
165
+ `Route error: '${l}' parameter is required.`
166
166
  );
167
- const P = O(b, C);
168
- return encodeURI(P).replace(/%7C/g, "|").replace(/%25/g, "%").replace(/\$/g, "%24");
167
+ const D = O(b, P);
168
+ return encodeURI(D).replace(/%7C/g, "|").replace(/%25/g, "%").replace(/\$/g, "%24");
169
169
  }
170
- ).replace(/([^:])\/{2,}/g, "$1/").replace(/\/+$/, "") || "/", l = {};
170
+ ).replace(/([^:])\/{2,}/g, "$1/").replace(/\/+$/, "") || "/", f = {};
171
171
  if (r) {
172
172
  if (r.mergeQuery) {
173
- const i = $(globalThis.window) ? new URLSearchParams() : new URLSearchParams(globalThis.window.location.search);
174
- for (const [f, p] of i.entries())
175
- l[f] = p;
176
- for (const [f, p] of Object.entries(r.mergeQuery))
177
- j(p) || $(p) ? delete l[f] : l[f] = p;
173
+ const o = $(globalThis.window) ? new URLSearchParams() : new URLSearchParams(globalThis.window.location.search);
174
+ for (const [l, p] of o.entries())
175
+ f[l] = p;
176
+ for (const [l, p] of Object.entries(r.mergeQuery))
177
+ j(p) || $(p) ? delete f[l] : f[l] = p;
178
178
  }
179
- for (const [i, f] of Object.entries(r))
180
- if (i === "_query" && a(f))
179
+ for (const [o, l] of Object.entries(r))
180
+ if (o === "_query" && g(l))
181
181
  for (const [p, b] of Object.entries(
182
- f
182
+ l
183
183
  ))
184
- l[p] = b;
185
- else i !== "_query" && i !== "mergeQuery" && (l[i] = f);
184
+ f[p] = b;
185
+ else o !== "_query" && o !== "mergeQuery" && (f[o] = l);
186
186
  }
187
- const g = Q(l);
188
- return c + g;
187
+ const a = x(f);
188
+ return u + a;
189
189
  }
190
190
  function k(e, n) {
191
191
  return {
@@ -205,68 +205,68 @@ function _(e, n) {
205
205
  }
206
206
  };
207
207
  }
208
- function x(e, n) {
209
- const o = n?.mergeQuery ? "mergeQuery" : "_query", r = n?.[o] ?? {};
208
+ function w(e, n) {
209
+ const t = n?.mergeQuery ? "mergeQuery" : "_query", r = n?.[t] ?? {};
210
210
  return {
211
211
  ...n,
212
- [o]: {
212
+ [t]: {
213
213
  ...r,
214
214
  _method: e.toUpperCase()
215
215
  }
216
216
  };
217
217
  }
218
218
  function W(e) {
219
- const n = e.args ?? [], o = e.methods[0] ?? "get", r = (...t) => {
220
- const [u, c] = R(t, n), l = d(e.url, u, n, c);
221
- return k(l, o);
219
+ const n = e.args ?? [], t = e.methods[0] ?? "get", r = (...i) => {
220
+ const [u, f] = R(i, n), a = d(e.url, u, n, f);
221
+ return k(a, t);
222
222
  }, s = Object.assign(r, {
223
- url: (...t) => {
224
- const [u, c] = R(t, n);
225
- return d(e.url, u, n, c);
223
+ url: (...i) => {
224
+ const [u, f] = R(i, n);
225
+ return d(e.url, u, n, f);
226
226
  },
227
227
  definition: e,
228
228
  toString() {
229
229
  return d(e.url, {}, n);
230
230
  }
231
231
  });
232
- for (const t of e.methods)
232
+ for (const i of e.methods)
233
233
  Object.assign(s, {
234
- [t]: (...u) => {
235
- const [c, l] = R(u, n), g = d(e.url, c, n, l);
236
- return k(g, t);
234
+ [i]: (...u) => {
235
+ const [f, a] = R(u, n), o = d(e.url, f, n, a);
236
+ return k(o, i);
237
237
  }
238
238
  });
239
- const m = (...t) => {
240
- const [u, c] = R(t, n), l = d(e.url, u, n, c);
241
- return _(l, o);
239
+ const m = t !== "get" && t !== "post", c = (...i) => {
240
+ const [u, f] = R(i, n), a = m ? w(t, f) : f, o = d(e.url, u, n, a);
241
+ return _(o, t);
242
242
  };
243
- for (const t of e.methods) {
244
- const u = t !== "get" && t !== "post";
245
- Object.assign(m, {
246
- [t]: (...c) => {
247
- const [l, g] = R(c, n), i = u ? x(t, g) : g, f = d(e.url, l, n, i);
248
- return _(f, t);
243
+ for (const i of e.methods) {
244
+ const u = i !== "get" && i !== "post";
245
+ Object.assign(c, {
246
+ [i]: (...f) => {
247
+ const [a, o] = R(f, n), l = u ? w(i, o) : o, p = d(e.url, a, n, l);
248
+ return _(p, i);
249
249
  }
250
250
  });
251
251
  }
252
- if (Object.assign(s, { form: m }), e.component !== void 0)
252
+ if (Object.assign(s, { form: c }), e.component !== void 0)
253
253
  if (Object.assign(s, { component: e.component }), U(e.component)) {
254
- const t = e.component;
254
+ const i = e.component;
255
255
  Object.assign(s, {
256
- withComponent: (...u) => ({ ...r(...u), component: t })
256
+ withComponent: (...u) => ({ ...r(...u), component: i })
257
257
  });
258
258
  } else
259
259
  Object.assign(s, {
260
- withComponent: (t, ...u) => ({ ...r(...u), component: t })
260
+ withComponent: (i, ...u) => ({ ...r(...u), component: i })
261
261
  });
262
262
  return s;
263
263
  }
264
264
  export {
265
265
  V as addRouteDefault,
266
- I as annotatePageProps,
267
- N as annotateRequestPayload,
266
+ F as annotatePageProps,
267
+ I as annotateRequestPayload,
268
268
  W as defineRoute,
269
- x as formSafeOptions,
269
+ w as formSafeOptions,
270
270
  v as getRouteDefaults,
271
271
  L as resetRouteDefaults,
272
272
  T as setRouteDefaults
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolki/ts",
3
- "version": "0.2.0",
3
+ "version": "1.0.0",
4
4
  "description": "A set of TypeScript utilities for the Laravel TypeScript Publish PHP package.",
5
5
  "author": "Abraham Arango <https://github.com/abetwothree>",
6
6
  "license": "MIT",
@@ -74,8 +74,25 @@
74
74
  "tolki": {
75
75
  "docs": [
76
76
  "ts/index.md",
77
- "ts/enum-utilities-list.md",
78
- "ts/ts-vite-plugin.md"
77
+ "ts/enums.md",
78
+ "ts/models.md",
79
+ "ts/api-resources.md",
80
+ "ts/broadcast-channels.md",
81
+ "ts/broadcast-events.md",
82
+ "ts/casing-configuration.md",
83
+ "ts/enum-api-resource.md",
84
+ "ts/excluding-content.md",
85
+ "ts/extending-interfaces.md",
86
+ "ts/form-requests.md",
87
+ "ts/generating-cache.md",
88
+ "ts/inertia.md",
89
+ "ts/modular-publishing.md",
90
+ "ts/pre-command-hook.md",
91
+ "ts/routing.md",
92
+ "ts/vite-env.md",
93
+ "ts/vite-plugin.md",
94
+ "ts/customizing-the-pipeline.md",
95
+ "ts/configuration-reference.md"
79
96
  ]
80
97
  },
81
98
  "scripts": {