@brytdesigns/shopify-utils 1.2.22 → 3.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.
- package/dist/effect/Actions/bridge.js +71 -0
- package/dist/effect/Actions/bridge.js.map +1 -0
- package/dist/effect/Actions/errors.js +46 -0
- package/dist/effect/Actions/errors.js.map +1 -0
- package/dist/effect/Actions/index.js +23 -0
- package/dist/effect/Actions/index.js.map +1 -0
- package/dist/effect/Actions/service.js +127 -0
- package/dist/effect/Actions/service.js.map +1 -0
- package/dist/effect/Actions/trampoline.js +26 -0
- package/dist/effect/Actions/trampoline.js.map +1 -0
- package/dist/effect/Ajax/Sections/index.js +2 -4
- package/dist/effect/Ajax/Sections/schema.js +28 -39
- package/dist/effect/Ajax/Sections/schema.js.map +1 -1
- package/dist/effect/Ajax/Window/data/AllowedRouteOrigins.js +75 -0
- package/dist/effect/Ajax/Window/data/AllowedRouteOrigins.js.map +1 -0
- package/dist/effect/Ajax/Window/data/ShopifyRoutes.js +86 -37
- package/dist/effect/Ajax/Window/data/ShopifyRoutes.js.map +1 -1
- package/dist/effect/Ajax/Window/data/StorefrontClientConfig.js +14 -13
- package/dist/effect/Ajax/Window/data/StorefrontClientConfig.js.map +1 -1
- package/dist/effect/Ajax/Window/data/StorefrontOrigin.js +32 -0
- package/dist/effect/Ajax/Window/data/StorefrontOrigin.js.map +1 -0
- package/dist/effect/Ajax/Window/data/index.js +15 -5
- package/dist/effect/Ajax/Window/data/index.js.map +1 -1
- package/dist/effect/Ajax/Window/index.js +2 -4
- package/dist/effect/Ajax/index.js +13 -3
- package/dist/effect/Ajax/index.js.map +1 -1
- package/dist/effect/Logging/index.js +13 -10
- package/dist/effect/Logging/index.js.map +1 -1
- package/dist/effect/Resource/data.js +20 -30
- package/dist/effect/Resource/data.js.map +1 -1
- package/dist/effect/Resource/index.js +14 -3
- package/dist/effect/Resource/index.js.map +1 -1
- package/dist/effect/Resource/schema.js +45 -45
- package/dist/effect/Resource/schema.js.map +1 -1
- package/dist/effect/_virtual/_rolldown/runtime.js +13 -0
- package/dist/effect/index.d.ts +383 -65
- package/dist/effect/index.js +5 -8
- package/dist/main/_virtual/_rolldown/runtime.js +13 -0
- package/dist/main/actions.js +78 -0
- package/dist/main/actions.js.map +1 -0
- package/dist/main/effect/Actions/bridge.js +65 -0
- package/dist/main/effect/Actions/bridge.js.map +1 -0
- package/dist/main/effect/Actions/errors.js +46 -0
- package/dist/main/effect/Actions/errors.js.map +1 -0
- package/dist/main/effect/Actions/index.js +4 -0
- package/dist/main/effect/Actions/service.js +127 -0
- package/dist/main/effect/Actions/service.js.map +1 -0
- package/dist/main/effect/Actions/trampoline.js +26 -0
- package/dist/main/effect/Actions/trampoline.js.map +1 -0
- package/dist/main/effect/Ajax/Sections/index.js +1 -4
- package/dist/main/effect/Ajax/Sections/schema.js +11 -41
- package/dist/main/effect/Ajax/Sections/schema.js.map +1 -1
- package/dist/main/effect/Ajax/Window/data/AllowedRouteOrigins.js +18 -0
- package/dist/main/effect/Ajax/Window/data/AllowedRouteOrigins.js.map +1 -0
- package/dist/main/effect/Ajax/Window/data/ShopifyRoutes.js +37 -37
- package/dist/main/effect/Ajax/Window/data/ShopifyRoutes.js.map +1 -1
- package/dist/main/effect/Ajax/Window/data/StorefrontClientConfig.js +3 -14
- package/dist/main/effect/Ajax/Window/data/StorefrontClientConfig.js.map +1 -1
- package/dist/main/effect/Ajax/Window/data/StorefrontOrigin.js +6 -0
- package/dist/main/effect/Ajax/Window/data/StorefrontOrigin.js.map +1 -0
- package/dist/main/effect/Ajax/Window/data/index.js +4 -6
- package/dist/main/effect/Ajax/Window/index.js +1 -4
- package/dist/main/effect/Ajax/index.js +2 -4
- package/dist/main/effect/Logging/index.js +2 -13
- package/dist/main/effect/Resource/data.js +20 -30
- package/dist/main/effect/Resource/data.js.map +1 -1
- package/dist/main/effect/Resource/index.js +3 -4
- package/dist/main/effect/Resource/schema.js +45 -45
- package/dist/main/effect/Resource/schema.js.map +1 -1
- package/dist/main/effect/index.js +4 -8
- package/dist/main/index.d.ts +351 -11
- package/dist/main/index.js +3 -3
- package/dist/main/resources/index.js +8 -7
- package/dist/main/resources/index.js.map +1 -1
- package/package.json +9 -9
- package/dist/effect/Ajax/Sections/index.js.map +0 -1
- package/dist/effect/Ajax/Window/data/types.js +0 -3
- package/dist/effect/Ajax/Window/data/types.js.map +0 -1
- package/dist/effect/Ajax/Window/index.js.map +0 -1
- package/dist/effect/index.js.map +0 -1
- package/dist/index.d.ts +0 -77
- package/dist/jsdelivr/effect/Ajax/Sections/index.js +0 -4
- package/dist/jsdelivr/effect/Ajax/Sections/index.js.map +0 -1
- package/dist/jsdelivr/effect/Ajax/Sections/schema.js +0 -20
- package/dist/jsdelivr/effect/Ajax/Sections/schema.js.map +0 -1
- package/dist/jsdelivr/effect/Ajax/Window/data/ShopifyRoutes.js +0 -38
- package/dist/jsdelivr/effect/Ajax/Window/data/ShopifyRoutes.js.map +0 -1
- package/dist/jsdelivr/effect/Ajax/Window/data/StorefrontClientConfig.js +0 -16
- package/dist/jsdelivr/effect/Ajax/Window/data/StorefrontClientConfig.js.map +0 -1
- package/dist/jsdelivr/effect/Ajax/Window/data/index.js +0 -6
- package/dist/jsdelivr/effect/Ajax/Window/data/index.js.map +0 -1
- package/dist/jsdelivr/effect/Ajax/Window/data/types.js +0 -3
- package/dist/jsdelivr/effect/Ajax/Window/data/types.js.map +0 -1
- package/dist/jsdelivr/effect/Ajax/Window/index.js +0 -4
- package/dist/jsdelivr/effect/Ajax/Window/index.js.map +0 -1
- package/dist/jsdelivr/effect/Ajax/index.js +0 -4
- package/dist/jsdelivr/effect/Ajax/index.js.map +0 -1
- package/dist/jsdelivr/effect/Logging/index.js +0 -13
- package/dist/jsdelivr/effect/Logging/index.js.map +0 -1
- package/dist/jsdelivr/effect/Resource/data.js +0 -17
- package/dist/jsdelivr/effect/Resource/data.js.map +0 -1
- package/dist/jsdelivr/effect/Resource/index.js +0 -4
- package/dist/jsdelivr/effect/Resource/index.js.map +0 -1
- package/dist/jsdelivr/effect/Resource/schema.js +0 -47
- package/dist/jsdelivr/effect/Resource/schema.js.map +0 -1
- package/dist/jsdelivr/effect/index.js +0 -8
- package/dist/jsdelivr/effect/index.js.map +0 -1
- package/dist/jsdelivr/index.js +0 -3
- package/dist/jsdelivr/index.js.map +0 -1
- package/dist/jsdelivr/resources/index.js +0 -9
- package/dist/jsdelivr/resources/index.js.map +0 -1
- package/dist/main/effect/Ajax/Sections/index.js.map +0 -1
- package/dist/main/effect/Ajax/Window/data/index.js.map +0 -1
- package/dist/main/effect/Ajax/Window/data/types.js +0 -3
- package/dist/main/effect/Ajax/Window/data/types.js.map +0 -1
- package/dist/main/effect/Ajax/Window/index.js.map +0 -1
- package/dist/main/effect/Ajax/index.js.map +0 -1
- package/dist/main/effect/Logging/index.js.map +0 -1
- package/dist/main/effect/Resource/index.js.map +0 -1
- package/dist/main/effect/index.js.map +0 -1
- package/dist/main/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/resources/index.ts"],"sourcesContent":["import * as Effect from \"effect/Effect\";\nimport { Resource } from \"../effect\";\n\nexport const parseResource = (gid: Resource.GID) =>\n\tEffect.runSync(Resource.parse(gid));\n\ntype FormatResourceOptions<T extends Resource.ID, R extends Resource.Type> = {\n\tid: T;\n\ttype: R;\n};\n\nexport const formatResource = <\n\tconst T extends Resource.ID,\n\tconst R extends Resource.Type,\n>(\n\toptions: FormatResourceOptions<T, R>,\n) => Effect.runSync(Resource.format<T, R>(options));\n\nexport type ID = Resource.ID;\nexport type GID = Resource.GID;\nexport type Type = Resource.Type;\n"],"mappings":";;;;AAGA,IAAa,iBAAiB,QAC7B,OAAO,QAAQ,MAAe,GAAG,CAAC;AAOnC,IAAa,kBAIZ,YACI,OAAO,QAAQ,OAAsB,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brytdesigns/shopify-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main/index.js",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/main/index.d.ts",
|
|
11
|
-
"
|
|
11
|
+
"default": "./dist/main/index.js"
|
|
12
12
|
},
|
|
13
13
|
"./effect": {
|
|
14
14
|
"types": "./dist/effect/index.d.ts",
|
|
15
|
-
"
|
|
15
|
+
"default": "./dist/effect/index.js"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"author": "",
|
|
23
23
|
"license": "ISC",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"effect": "
|
|
25
|
+
"effect": "4.0.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"@repo/js-delivr-imports-plugin": "1.1.5"
|
|
28
|
+
"@repo/vite-config": "0.0.0",
|
|
29
|
+
"vite": "^8.2.2"
|
|
31
30
|
},
|
|
32
31
|
"scripts": {
|
|
33
|
-
"build": "
|
|
32
|
+
"build": "vite build && vite build --mode effect",
|
|
34
33
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
35
|
-
"clean": "git clean -xdf .cache .turbo dist node_modules"
|
|
34
|
+
"clean": "git clean -xdf .cache .turbo dist node_modules",
|
|
35
|
+
"test": "vitest run"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/effect/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/index.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
-
|
|
3
|
-
import * as Effect from 'effect/Effect';
|
|
4
|
-
import * as LogLevel from 'effect/LogLevel';
|
|
5
|
-
import { ParseError } from 'effect/ParseResult';
|
|
6
|
-
import * as Schema from 'effect/Schema';
|
|
7
|
-
|
|
8
|
-
export type Type = Schema.Schema.Type<typeof Type>;
|
|
9
|
-
declare const Type: Schema.Literal<[
|
|
10
|
-
"Cart",
|
|
11
|
-
"Collection",
|
|
12
|
-
"Customer",
|
|
13
|
-
"DeliveryCarrierService",
|
|
14
|
-
"DeliveryLocationGroup",
|
|
15
|
-
"DeliveryProfile",
|
|
16
|
-
"DeliveryZone",
|
|
17
|
-
"DraftOrder",
|
|
18
|
-
"DraftOrderLineItem",
|
|
19
|
-
"Duty",
|
|
20
|
-
"EmailTemplate",
|
|
21
|
-
"Fulfillment",
|
|
22
|
-
"FulfullmentEvent",
|
|
23
|
-
"FullfullmentService",
|
|
24
|
-
"InventoryItem",
|
|
25
|
-
"InventoryLevel",
|
|
26
|
-
"LineItem",
|
|
27
|
-
"Location",
|
|
28
|
-
"MarketingEvent",
|
|
29
|
-
"MediaImage",
|
|
30
|
-
"Metafield",
|
|
31
|
-
"OnlineStoreArticle",
|
|
32
|
-
"OnlineStoreBlog",
|
|
33
|
-
"OnlineStorePage",
|
|
34
|
-
"Order",
|
|
35
|
-
"OrderTransaction",
|
|
36
|
-
"Product",
|
|
37
|
-
"ProductImage",
|
|
38
|
-
"ProductVariant",
|
|
39
|
-
"Refund",
|
|
40
|
-
"Shop",
|
|
41
|
-
"StaffMember",
|
|
42
|
-
"Theme"
|
|
43
|
-
]>;
|
|
44
|
-
export type GID = Schema.Schema.Encoded<typeof GID>;
|
|
45
|
-
declare const GID: Schema.filter<typeof Schema.String>;
|
|
46
|
-
export type ID = Schema.Schema.Encoded<typeof ID>;
|
|
47
|
-
declare const ID: Schema.Union<[
|
|
48
|
-
typeof Schema.Number,
|
|
49
|
-
typeof Schema.NumberFromString
|
|
50
|
-
]>;
|
|
51
|
-
export type FormatOptions<T extends ID, R extends Type> = {
|
|
52
|
-
id: T;
|
|
53
|
-
type: R;
|
|
54
|
-
};
|
|
55
|
-
declare const format: <const T extends ID, const R extends Type>({ id, type, }: FormatOptions<T, R>) => Effect.Effect<`gid://shopify/${R}/${T}`, ParseError, never>;
|
|
56
|
-
declare const parse: (i: string, overrideOptions?: import("effect/SchemaAST").ParseOptions) => Effect.Effect<string, ParseError, never>;
|
|
57
|
-
export declare const parseResource: (gid: Resource.GID) => string;
|
|
58
|
-
export type FormatResourceOptions<T extends Resource.ID, R extends Resource.Type> = {
|
|
59
|
-
id: T;
|
|
60
|
-
type: R;
|
|
61
|
-
};
|
|
62
|
-
export declare const formatResource: <const T extends Resource.ID, const R extends Resource.Type>(options: FormatResourceOptions<T, R>) => `gid://shopify/${R}/${T}`;
|
|
63
|
-
type ID$1 = Resource.ID;
|
|
64
|
-
type GID$1 = Resource.GID;
|
|
65
|
-
type Type$1 = Resource.Type;
|
|
66
|
-
|
|
67
|
-
declare namespace Resource {
|
|
68
|
-
export { GID, ID, Type, format, parse };
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export {
|
|
72
|
-
GID$1 as GID,
|
|
73
|
-
ID$1 as ID,
|
|
74
|
-
Type$1 as Type,
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as Schema from '/npm/effect@3.14.1/Schema/+esm';
|
|
2
|
-
|
|
3
|
-
const Input = Schema.Struct({
|
|
4
|
-
sections: Schema.optional(Schema.String),
|
|
5
|
-
sections_url: Schema.optional(Schema.String)
|
|
6
|
-
});
|
|
7
|
-
const parseKeys = (keys) => Array.from(
|
|
8
|
-
new Set(keys.split(",").map((key) => key.trim()))
|
|
9
|
-
);
|
|
10
|
-
function makeResponseSchema(input) {
|
|
11
|
-
const keys = parseKeys(input);
|
|
12
|
-
return Schema.Record({
|
|
13
|
-
key: Schema.Literal(...keys),
|
|
14
|
-
value: Schema.NullOr(Schema.String)
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { Input, makeResponseSchema };
|
|
19
|
-
//# sourceMappingURL=schema.js.map
|
|
20
|
-
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/effect/Ajax/Sections/schema.ts"],"names":[],"mappings":";;AAGa,MAAA,KAAA,GAAQ,OAAO,MAAO,CAAA;AAAA,EACjC,QAAU,EAAA,MAAA,CAAO,QAAS,CAAA,MAAA,CAAO,MAAM,CAAA;AAAA,EACvC,YAAc,EAAA,MAAA,CAAO,QAAS,CAAA,MAAA,CAAO,MAAM;AAC7C,CAAC;AAOD,MAAM,SAAA,GAAY,CAAyB,IAAA,KACzC,KAAM,CAAA,IAAA;AAAA,EACJ,IAAI,GAAA,CAAI,IAAK,CAAA,KAAA,CAAM,GAAG,CAAA,CAAE,GAAI,CAAA,CAAC,GAAQ,KAAA,GAAA,CAAI,IAAK,EAAC,CAAC;AAClD,CAAA;AAEK,SAAS,mBAA2C,KAAU,EAAA;AACnE,EAAM,MAAA,IAAA,GAAO,UAAU,KAAK,CAAA;AAC5B,EAAA,OAAO,OAAO,MAAO,CAAA;AAAA,IACnB,GAAK,EAAA,MAAA,CAAO,OAAQ,CAAA,GAAG,IAAI,CAAA;AAAA,IAC3B,KAAO,EAAA,MAAA,CAAO,MAAO,CAAA,MAAA,CAAO,MAAM;AAAA,GACnC,CAAA;AACH","file":"schema.js","sourcesContent":["import * as Schema from \"/npm/effect@3.14.1/Schema/+esm\";\n\nexport type Input = typeof Input;\nexport const Input = Schema.Struct({\n sections: Schema.optional(Schema.String),\n sections_url: Schema.optional(Schema.String),\n});\n\n// Helper type to convert a string to a tuple of unique literals\ntype UniqueKeys<T extends string> = T extends `${infer K},${infer Rest}`\n ? K | UniqueKeys<Rest>\n : T;\n\nconst parseKeys = <const T extends string>(keys: T) =>\n Array.from(\n new Set(keys.split(\",\").map((key) => key.trim())),\n ) as UniqueKeys<T>[];\n\nexport function makeResponseSchema<const T extends string>(input: T) {\n const keys = parseKeys(input);\n return Schema.Record({\n key: Schema.Literal(...keys),\n value: Schema.NullOr(Schema.String),\n });\n}\n"]}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as Data from '/npm/effect@3.14.1/Data/+esm';
|
|
2
|
-
|
|
3
|
-
const Defaults = {
|
|
4
|
-
account_addresses_url: "/account/addresses",
|
|
5
|
-
account_login_url: "/account/login",
|
|
6
|
-
account_logout_url: "/account/logout",
|
|
7
|
-
account_recover_url: "/account/recover",
|
|
8
|
-
account_register_url: "/account/register",
|
|
9
|
-
account_url: "/account",
|
|
10
|
-
all_products_collection_url: "/collections/all",
|
|
11
|
-
cart_add_url: "/cart/add.js",
|
|
12
|
-
cart_change_url: "/cart/change.js",
|
|
13
|
-
cart_clear_url: "/cart/clear.js",
|
|
14
|
-
cart_update_url: "/cart/update.js",
|
|
15
|
-
cart_url: "/cart.js",
|
|
16
|
-
collections_url: "/collections",
|
|
17
|
-
predictive_search_url: "/search/suggest",
|
|
18
|
-
product_recommendations_url: "/recommendations/products",
|
|
19
|
-
root_url: "/",
|
|
20
|
-
search_url: "/search",
|
|
21
|
-
storefront_login_url: "/customer_authentication/login?return_to=%2Fservices%2Fliquid_rendering%2Fresource%3Ffast_storefront_renderer%3D1&locale=en"
|
|
22
|
-
};
|
|
23
|
-
class ShopifyRoutes extends Data.Class {
|
|
24
|
-
constructor() {
|
|
25
|
-
super({
|
|
26
|
-
...Defaults,
|
|
27
|
-
...window?.BrytDesigns?.routes || {}
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
const make = () => Data.case()({
|
|
32
|
-
...Defaults,
|
|
33
|
-
...window?.BrytDesigns?.routes || {}
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
export { Defaults, ShopifyRoutes, make };
|
|
37
|
-
//# sourceMappingURL=ShopifyRoutes.js.map
|
|
38
|
-
//# sourceMappingURL=ShopifyRoutes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/effect/Ajax/Window/data/ShopifyRoutes.ts"],"names":[],"mappings":";;AAIO,MAAM,QAA2B,GAAA;AAAA,EACtC,qBAAuB,EAAA,oBAAA;AAAA,EACvB,iBAAmB,EAAA,gBAAA;AAAA,EACnB,kBAAoB,EAAA,iBAAA;AAAA,EACpB,mBAAqB,EAAA,kBAAA;AAAA,EACrB,oBAAsB,EAAA,mBAAA;AAAA,EACtB,WAAa,EAAA,UAAA;AAAA,EACb,2BAA6B,EAAA,kBAAA;AAAA,EAC7B,YAAc,EAAA,cAAA;AAAA,EACd,eAAiB,EAAA,iBAAA;AAAA,EACjB,cAAgB,EAAA,gBAAA;AAAA,EAChB,eAAiB,EAAA,iBAAA;AAAA,EACjB,QAAU,EAAA,UAAA;AAAA,EACV,eAAiB,EAAA,cAAA;AAAA,EACjB,qBAAuB,EAAA,iBAAA;AAAA,EACvB,2BAA6B,EAAA,2BAAA;AAAA,EAC7B,QAAU,EAAA,GAAA;AAAA,EACV,UAAY,EAAA,SAAA;AAAA,EACZ,oBACE,EAAA;AACJ;AAEO,MAAM,aAAA,SAAsB,KAAK,KAAsB,CAAA;AAAA,EAC5D,WAAc,GAAA;AACZ,IAAM,KAAA,CAAA;AAAA,MACJ,GAAG,QAAA;AAAA,MACH,GAAI,MAAA,EAAQ,WAAa,EAAA,MAAA,IAAU;AAAC,KACrC,CAAA;AAAA;AAEL;AAEO,MAAM,IAAO,GAAA,MAClB,IAAK,CAAA,IAAA,EAAsB,CAAA;AAAA,EACzB,GAAG,QAAA;AAAA,EACH,GAAI,MAAA,EAAQ,WAAa,EAAA,MAAA,IAAU;AACrC,CAAC","file":"ShopifyRoutes.js","sourcesContent":["import type { IShopifyRoutes } from \"/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Ajax/Window/data/types.js\";\n\nimport * as Data from \"/npm/effect@3.14.1/Data/+esm\";\n\nexport const Defaults: IShopifyRoutes = {\n account_addresses_url: \"/account/addresses\",\n account_login_url: \"/account/login\",\n account_logout_url: \"/account/logout\",\n account_recover_url: \"/account/recover\",\n account_register_url: \"/account/register\",\n account_url: \"/account\",\n all_products_collection_url: \"/collections/all\",\n cart_add_url: \"/cart/add.js\",\n cart_change_url: \"/cart/change.js\",\n cart_clear_url: \"/cart/clear.js\",\n cart_update_url: \"/cart/update.js\",\n cart_url: \"/cart.js\",\n collections_url: \"/collections\",\n predictive_search_url: \"/search/suggest\",\n product_recommendations_url: \"/recommendations/products\",\n root_url: \"/\",\n search_url: \"/search\",\n storefront_login_url:\n \"/customer_authentication/login?return_to=%2Fservices%2Fliquid_rendering%2Fresource%3Ffast_storefront_renderer%3D1&locale=en\",\n};\n\nexport class ShopifyRoutes extends Data.Class<IShopifyRoutes> {\n constructor() {\n super({\n ...Defaults,\n ...(window?.BrytDesigns?.routes || {}),\n });\n }\n}\n\nexport const make = () =>\n Data.case<ShopifyRoutes>()({\n ...Defaults,\n ...(window?.BrytDesigns?.routes || {}),\n });\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as Data from '/npm/effect@3.14.1/Data/+esm';
|
|
2
|
-
|
|
3
|
-
class StorefrontClientConfig extends Data.Class {
|
|
4
|
-
constructor() {
|
|
5
|
-
super({
|
|
6
|
-
...window.BrytDesigns.storefront.config
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
const make = () => Data.case()({
|
|
11
|
-
...window.BrytDesigns.storefront.config
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
export { StorefrontClientConfig, make };
|
|
15
|
-
//# sourceMappingURL=StorefrontClientConfig.js.map
|
|
16
|
-
//# sourceMappingURL=StorefrontClientConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../src/effect/Ajax/Window/data/StorefrontClientConfig.ts"],"names":[],"mappings":";;AAIO,MAAM,sBAAA,SAA+B,KAAK,KAA+B,CAAA;AAAA,EAC9E,WAAc,GAAA;AACZ,IAAM,KAAA,CAAA;AAAA,MACJ,GAAG,MAAO,CAAA,WAAA,CAAY,UAAW,CAAA;AAAA,KAClC,CAAA;AAAA;AAEL;AAEO,MAAM,IAAO,GAAA,MAClB,IAAK,CAAA,IAAA,EAA+B,CAAA;AAAA,EAClC,GAAG,MAAO,CAAA,WAAA,CAAY,UAAW,CAAA;AACnC,CAAC","file":"StorefrontClientConfig.js","sourcesContent":["import type { IStorefrontClientConfig } from \"/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Ajax/Window/data/types.js\";\n\nimport * as Data from \"/npm/effect@3.14.1/Data/+esm\";\n\nexport class StorefrontClientConfig extends Data.Class<IStorefrontClientConfig> {\n constructor() {\n super({\n ...window.BrytDesigns.storefront.config,\n });\n }\n}\n\nexport const make = () =>\n Data.case<StorefrontClientConfig>()({\n ...window.BrytDesigns.storefront.config,\n });\n"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as ShopifyRoutes_js from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Ajax/Window/data/ShopifyRoutes.js';
|
|
2
|
-
export { ShopifyRoutes_js as ShopifyRoutes };
|
|
3
|
-
import * as StorefrontClientConfig_js from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Ajax/Window/data/StorefrontClientConfig.js';
|
|
4
|
-
export { StorefrontClientConfig_js as StorefrontClientConfig };
|
|
5
|
-
//# sourceMappingURL=index.js.map
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as Effect from '/npm/effect@3.14.1/Effect/+esm';
|
|
2
|
-
import * as FiberRef from '/npm/effect@3.14.1/FiberRef/+esm';
|
|
3
|
-
import '/npm/effect@3.14.1/LogLevel/+esm';
|
|
4
|
-
|
|
5
|
-
const filterLevelOrNever = (level, effect) => Effect.gen(function* () {
|
|
6
|
-
const logLevel = yield* FiberRef.get(FiberRef.currentMinimumLogLevel);
|
|
7
|
-
if (logLevel._tag !== level._tag) return yield* effect;
|
|
8
|
-
});
|
|
9
|
-
const makeNamespacedLogSpan = (prefix) => (label) => Effect.withLogSpan(`${prefix}:${label}`);
|
|
10
|
-
|
|
11
|
-
export { filterLevelOrNever, makeNamespacedLogSpan };
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/effect/Logging/index.ts"],"names":[],"mappings":";;;;AAIO,MAAM,qBAAqB,CAChC,KAAA,EACA,MAEA,KAAA,MAAA,CAAO,IAAI,aAAa;AACtB,EAAA,MAAM,QAAW,GAAA,OAAO,QAAS,CAAA,GAAA,CAAI,SAAS,sBAAsB,CAAA;AACpE,EAAA,IAAI,QAAS,CAAA,IAAA,KAAS,KAAM,CAAA,IAAA,SAAa,OAAO,MAAA;AAClD,CAAC;AAEU,MAAA,qBAAA,GAAwB,CAAC,MAAA,KAAmB,CAAC,KAAA,KACxD,MAAO,CAAA,WAAA,CAAY,CAAG,EAAA,MAAM,CAAI,CAAA,EAAA,KAAK,CAAE,CAAA","file":"index.js","sourcesContent":["import * as Effect from \"/npm/effect@3.14.1/Effect/+esm\";\nimport * as FiberRef from \"/npm/effect@3.14.1/FiberRef/+esm\";\nimport * as LogLevel from \"/npm/effect@3.14.1/LogLevel/+esm\";\n\nexport const filterLevelOrNever = <A, E, R>(\n level: LogLevel.LogLevel,\n effect: Effect.Effect<A, E, R>\n) =>\n Effect.gen(function* () {\n const logLevel = yield* FiberRef.get(FiberRef.currentMinimumLogLevel);\n if (logLevel._tag !== level._tag) return yield* effect;\n });\n\nexport const makeNamespacedLogSpan = (prefix: string) => (label: string) =>\n Effect.withLogSpan(`${prefix}:${label}`);\n"]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as Effect from '/npm/effect@3.14.1/Effect/+esm';
|
|
2
|
-
import * as Schema from '/npm/effect@3.14.1/Schema/+esm';
|
|
3
|
-
import { ID, Type, GID } from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Resource/schema.js';
|
|
4
|
-
|
|
5
|
-
const format = ({
|
|
6
|
-
id,
|
|
7
|
-
type
|
|
8
|
-
}) => Effect.gen(function* () {
|
|
9
|
-
const actualId = yield* Schema.decode(ID)(id);
|
|
10
|
-
const actualType = yield* Schema.decode(Type)(type);
|
|
11
|
-
return `gid://shopify/${actualType}/${actualId}`;
|
|
12
|
-
});
|
|
13
|
-
const parse = (input) => Schema.decode(GID)(input);
|
|
14
|
-
|
|
15
|
-
export { format, parse };
|
|
16
|
-
//# sourceMappingURL=data.js.map
|
|
17
|
-
//# sourceMappingURL=data.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/effect/Resource/data.ts"],"names":[],"mappings":";;;;AAWO,MAAM,SAAS,CAA2C;AAAA,EAC/D,EAAA;AAAA,EACA;AACF,CAKE,KAAA,MAAA,CAAO,IAAI,aAAa;AACtB,EAAA,MAAM,WAAW,OAAO,MAAA,CAAO,MAAO,CAAA,EAAE,EAAE,EAAE,CAAA;AAC5C,EAAA,MAAM,aAAa,OAAO,MAAA,CAAO,MAAO,CAAA,IAAI,EAAE,IAAI,CAAA;AAClD,EAAO,OAAA,CAAA,cAAA,EAAiB,UAAU,CAAA,CAAA,EAAI,QAAQ,CAAA,CAAA;AAChD,CAAC;AAEI,MAAM,QAAQ,CACnB,KAAA,KAC6C,OAAO,MAAO,CAAA,GAAG,EAAE,KAAK","file":"data.js","sourcesContent":["import type { ParseError } from \"/npm/effect@3.14.1/ParseResult/+esm\";\n\nimport * as Effect from \"/npm/effect@3.14.1/Effect/+esm\";\nimport * as Schema from \"/npm/effect@3.14.1/Schema/+esm\";\nimport { ID, GID, Type } from \"/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Resource/schema.js\";\n\ntype FormatOptions<T extends ID, R extends Type> = {\n id: T;\n type: R;\n};\n\nexport const format = <const T extends ID, const R extends Type>({\n id,\n type,\n}: FormatOptions<T, R>): Effect.Effect<\n `gid://shopify/${R}/${T}`,\n ParseError,\n never\n> =>\n Effect.gen(function* () {\n const actualId = yield* Schema.decode(ID)(id);\n const actualType = yield* Schema.decode(Type)(type);\n return `gid://shopify/${actualType}/${actualId}` as `gid://shopify/${R}/${T}`;\n });\n\nexport const parse = (\n input: string,\n): Effect.Effect<string, ParseError, never> => Schema.decode(GID)(input);\n"]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { GID, ID, Type } from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Resource/schema.js';
|
|
2
|
-
export * from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Resource/data.js';
|
|
3
|
-
//# sourceMappingURL=index.js.map
|
|
4
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as Schema from '/npm/effect@3.14.1/Schema/+esm';
|
|
2
|
-
|
|
3
|
-
const Type = Schema.Literal(
|
|
4
|
-
"Cart",
|
|
5
|
-
"Collection",
|
|
6
|
-
"Customer",
|
|
7
|
-
"DeliveryCarrierService",
|
|
8
|
-
"DeliveryLocationGroup",
|
|
9
|
-
"DeliveryProfile",
|
|
10
|
-
"DeliveryZone",
|
|
11
|
-
"DraftOrder",
|
|
12
|
-
"DraftOrderLineItem",
|
|
13
|
-
"Duty",
|
|
14
|
-
"EmailTemplate",
|
|
15
|
-
"Fulfillment",
|
|
16
|
-
"FulfullmentEvent",
|
|
17
|
-
"FullfullmentService",
|
|
18
|
-
"InventoryItem",
|
|
19
|
-
"InventoryLevel",
|
|
20
|
-
"LineItem",
|
|
21
|
-
"Location",
|
|
22
|
-
"MarketingEvent",
|
|
23
|
-
"MediaImage",
|
|
24
|
-
"Metafield",
|
|
25
|
-
"OnlineStoreArticle",
|
|
26
|
-
"OnlineStoreBlog",
|
|
27
|
-
"OnlineStorePage",
|
|
28
|
-
"Order",
|
|
29
|
-
"OrderTransaction",
|
|
30
|
-
"Product",
|
|
31
|
-
"ProductImage",
|
|
32
|
-
"ProductVariant",
|
|
33
|
-
"Refund",
|
|
34
|
-
"Shop",
|
|
35
|
-
"StaffMember",
|
|
36
|
-
"Theme"
|
|
37
|
-
);
|
|
38
|
-
const GID = Schema.String.pipe(Schema.startsWith("gid://shopify/"));
|
|
39
|
-
const ID = Schema.Union(
|
|
40
|
-
Schema.Number,
|
|
41
|
-
Schema.NumberFromString,
|
|
42
|
-
Schema.String
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
export { GID, ID, Type };
|
|
46
|
-
//# sourceMappingURL=schema.js.map
|
|
47
|
-
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/effect/Resource/schema.ts"],"names":[],"mappings":";;AAGO,MAAM,OAAO,MAAO,CAAA,OAAA;AAAA,EACzB,MAAA;AAAA,EACA,YAAA;AAAA,EACA,UAAA;AAAA,EACA,wBAAA;AAAA,EACA,uBAAA;AAAA,EACA,iBAAA;AAAA,EACA,cAAA;AAAA,EACA,YAAA;AAAA,EACA,oBAAA;AAAA,EACA,MAAA;AAAA,EACA,eAAA;AAAA,EACA,aAAA;AAAA,EACA,kBAAA;AAAA,EACA,qBAAA;AAAA,EACA,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,UAAA;AAAA,EACA,UAAA;AAAA,EACA,gBAAA;AAAA,EACA,YAAA;AAAA,EACA,WAAA;AAAA,EACA,oBAAA;AAAA,EACA,iBAAA;AAAA,EACA,iBAAA;AAAA,EACA,OAAA;AAAA,EACA,kBAAA;AAAA,EACA,SAAA;AAAA,EACA,cAAA;AAAA,EACA,gBAAA;AAAA,EACA,QAAA;AAAA,EACA,MAAA;AAAA,EACA,aAAA;AAAA,EACA;AACF;AAGO,MAAM,MAAM,MAAO,CAAA,MAAA,CAAO,KAAK,MAAO,CAAA,UAAA,CAAW,gBAAgB,CAAC;AAGlE,MAAM,KAAK,MAAO,CAAA,KAAA;AAAA,EACvB,MAAO,CAAA,MAAA;AAAA,EACP,MAAO,CAAA,gBAAA;AAAA,EACP,MAAO,CAAA;AACT","file":"schema.js","sourcesContent":["import * as Schema from \"/npm/effect@3.14.1/Schema/+esm\";\n\nexport type Type = Schema.Schema.Type<typeof Type>;\nexport const Type = Schema.Literal(\n \"Cart\",\n \"Collection\",\n \"Customer\",\n \"DeliveryCarrierService\",\n \"DeliveryLocationGroup\",\n \"DeliveryProfile\",\n \"DeliveryZone\",\n \"DraftOrder\",\n \"DraftOrderLineItem\",\n \"Duty\",\n \"EmailTemplate\",\n \"Fulfillment\",\n \"FulfullmentEvent\",\n \"FullfullmentService\",\n \"InventoryItem\",\n \"InventoryLevel\",\n \"LineItem\",\n \"Location\",\n \"MarketingEvent\",\n \"MediaImage\",\n \"Metafield\",\n \"OnlineStoreArticle\",\n \"OnlineStoreBlog\",\n \"OnlineStorePage\",\n \"Order\",\n \"OrderTransaction\",\n \"Product\",\n \"ProductImage\",\n \"ProductVariant\",\n \"Refund\",\n \"Shop\",\n \"StaffMember\",\n \"Theme\",\n);\n\nexport type GID = Schema.Schema.Encoded<typeof GID>;\nexport const GID = Schema.String.pipe(Schema.startsWith(\"gid://shopify/\"));\n\nexport type ID = Schema.Schema.Encoded<typeof ID>;\nexport const ID = Schema.Union(\n Schema.Number,\n Schema.NumberFromString,\n Schema.String,\n);\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as index_js$2 from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Resource/index.js';
|
|
2
|
-
export { index_js$2 as Resource };
|
|
3
|
-
import * as index_js from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Ajax/index.js';
|
|
4
|
-
export { index_js as Ajax };
|
|
5
|
-
import * as index_js$1 from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect/Logging/index.js';
|
|
6
|
-
export { index_js$1 as Logging };
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/jsdelivr/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as Effect from '/npm/effect@3.14.1/Effect/+esm';
|
|
2
|
-
import { Resource } from '/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect';
|
|
3
|
-
|
|
4
|
-
const parseResource = (gid) => Effect.runSync(Resource.parse(gid));
|
|
5
|
-
const formatResource = (options) => Effect.runSync(Resource.format(options));
|
|
6
|
-
|
|
7
|
-
export { formatResource, parseResource };
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/resources/index.ts"],"names":[],"mappings":";;;AAGa,MAAA,aAAA,GAAgB,CAAC,GAC5B,KAAA,MAAA,CAAO,QAAQ,QAAS,CAAA,KAAA,CAAM,GAAG,CAAC;AAOvB,MAAA,cAAA,GAAiB,CAI5B,OACG,KAAA,MAAA,CAAO,QAAQ,QAAS,CAAA,MAAA,CAAa,OAAO,CAAC","file":"index.js","sourcesContent":["import * as Effect from \"/npm/effect@3.14.1/Effect/+esm\";\nimport { Resource } from \"/npm/@brytdesigns/shopify-utils@1.2.10/dist/jsdelivr/effect\";\n\nexport const parseResource = (gid: Resource.GID) =>\n Effect.runSync(Resource.parse(gid));\n\ntype FormatResourceOptions<T extends Resource.ID, R extends Resource.Type> = {\n id: T;\n type: R;\n};\n\nexport const formatResource = <\n const T extends Resource.ID,\n const R extends Resource.Type,\n>(\n options: FormatResourceOptions<T, R>\n) => Effect.runSync(Resource.format<T, R>(options));\n\nexport type ID = Resource.ID;\nexport type GID = Resource.GID;\nexport type Type = Resource.Type;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/effect/Logging/index.ts"],"names":[],"mappings":";;;;AAIO,MAAM,qBAAqB,CAChC,KAAA,EACA,MAEA,KAAA,MAAA,CAAO,IAAI,aAAa;AACtB,EAAA,MAAM,QAAW,GAAA,OAAO,QAAS,CAAA,GAAA,CAAI,SAAS,sBAAsB,CAAA;AACpE,EAAA,IAAI,QAAS,CAAA,IAAA,KAAS,KAAM,CAAA,IAAA,SAAa,OAAO,MAAA;AAClD,CAAC;AAEU,MAAA,qBAAA,GAAwB,CAAC,MAAA,KAAmB,CAAC,KAAA,KACxD,MAAO,CAAA,WAAA,CAAY,CAAG,EAAA,MAAM,CAAI,CAAA,EAAA,KAAK,CAAE,CAAA","file":"index.js","sourcesContent":["import * as Effect from \"effect/Effect\";\nimport * as FiberRef from \"effect/FiberRef\";\nimport * as LogLevel from \"effect/LogLevel\";\n\nexport const filterLevelOrNever = <A, E, R>(\n level: LogLevel.LogLevel,\n effect: Effect.Effect<A, E, R>\n) =>\n Effect.gen(function* () {\n const logLevel = yield* FiberRef.get(FiberRef.currentMinimumLogLevel);\n if (logLevel._tag !== level._tag) return yield* effect;\n });\n\nexport const makeNamespacedLogSpan = (prefix: string) => (label: string) =>\n Effect.withLogSpan(`${prefix}:${label}`);\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/main/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|