@wervt/core 0.0.2 → 0.0.3
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/manifest.d.ts +2 -0
- package/dist/shape.js +1 -0
- package/package.json +1 -1
package/dist/manifest.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ export interface BrandManifest {
|
|
|
33
33
|
securedByWervt?: false;
|
|
34
34
|
/** The sign-in options the login offers, e.g. `['twitch', 'email']`. All of them by default. */
|
|
35
35
|
signIn?: string[];
|
|
36
|
+
/** The login's language (`de`, `en`). The visitor's browser decides when missing. */
|
|
37
|
+
lang?: string;
|
|
36
38
|
}
|
|
37
39
|
/** The bundle's `wervt-bundle.json`, next to `server/` and `public/`. */
|
|
38
40
|
export declare const BUNDLE_MANIFEST = "wervt-bundle.json";
|
package/dist/shape.js
CHANGED
|
@@ -24,6 +24,7 @@ async function proxyShape(request, { table, where, params, columns }) {
|
|
|
24
24
|
const value = query.get(key);
|
|
25
25
|
if (value !== null) url.searchParams.set(key, value);
|
|
26
26
|
}
|
|
27
|
+
if (query.get("subset__where") === "true") url.searchParams.set("subset__where", "true");
|
|
27
28
|
url.searchParams.set("table", runtime ? table : devTable(table));
|
|
28
29
|
if (where) url.searchParams.set("where", where);
|
|
29
30
|
params?.forEach((value, i) => url.searchParams.set(`params[${i + 1}]`, String(value)));
|
package/package.json
CHANGED