@uniformdev/assets 20.35.0 → 20.35.1-alpha.210
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/index.d.mts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -902,6 +902,8 @@ interface components$1 {
|
|
|
902
902
|
/** @description Allows executing the transition for a role. Note that write permissions to the destination stage are NOT required to execute a transition to it */
|
|
903
903
|
execute?: boolean;
|
|
904
904
|
};
|
|
905
|
+
/** @enum {string} */
|
|
906
|
+
ReleaseState: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
905
907
|
ProjectMapNodeAllowedQueryString: {
|
|
906
908
|
/** @description The name of the query string parameter */
|
|
907
909
|
name: string;
|
|
@@ -909,6 +911,20 @@ interface components$1 {
|
|
|
909
911
|
value?: string;
|
|
910
912
|
/** @description Help text for authors who might be setting up a preview value for this query string */
|
|
911
913
|
helpText?: string;
|
|
914
|
+
/** @description Configuration for providing a list of allowed values for this query string */
|
|
915
|
+
optionsSource?: {
|
|
916
|
+
/**
|
|
917
|
+
* @description The source type for the options
|
|
918
|
+
* @enum {string}
|
|
919
|
+
*/
|
|
920
|
+
source: "static";
|
|
921
|
+
options: {
|
|
922
|
+
/** @description Display name for the option */
|
|
923
|
+
name: string;
|
|
924
|
+
/** @description The actual value to be used */
|
|
925
|
+
value: string;
|
|
926
|
+
}[];
|
|
927
|
+
};
|
|
912
928
|
};
|
|
913
929
|
ProjectMapNodeData: {
|
|
914
930
|
/** @description While performing a search if a node is a hit, this property will return true. If it's supporting structure, like a parent of a search hit, it will return false */
|
package/dist/index.d.ts
CHANGED
|
@@ -902,6 +902,8 @@ interface components$1 {
|
|
|
902
902
|
/** @description Allows executing the transition for a role. Note that write permissions to the destination stage are NOT required to execute a transition to it */
|
|
903
903
|
execute?: boolean;
|
|
904
904
|
};
|
|
905
|
+
/** @enum {string} */
|
|
906
|
+
ReleaseState: "open" | "locked" | "queued" | "launching" | "launched" | "deleting";
|
|
905
907
|
ProjectMapNodeAllowedQueryString: {
|
|
906
908
|
/** @description The name of the query string parameter */
|
|
907
909
|
name: string;
|
|
@@ -909,6 +911,20 @@ interface components$1 {
|
|
|
909
911
|
value?: string;
|
|
910
912
|
/** @description Help text for authors who might be setting up a preview value for this query string */
|
|
911
913
|
helpText?: string;
|
|
914
|
+
/** @description Configuration for providing a list of allowed values for this query string */
|
|
915
|
+
optionsSource?: {
|
|
916
|
+
/**
|
|
917
|
+
* @description The source type for the options
|
|
918
|
+
* @enum {string}
|
|
919
|
+
*/
|
|
920
|
+
source: "static";
|
|
921
|
+
options: {
|
|
922
|
+
/** @description Display name for the option */
|
|
923
|
+
name: string;
|
|
924
|
+
/** @description The actual value to be used */
|
|
925
|
+
value: string;
|
|
926
|
+
}[];
|
|
927
|
+
};
|
|
912
928
|
};
|
|
913
929
|
ProjectMapNodeData: {
|
|
914
930
|
/** @description While performing a search if a node is a hit, this property will return true. If it's supporting structure, like a parent of a search hit, it will return false */
|
package/dist/index.esm.js
CHANGED
|
@@ -68,7 +68,7 @@ var isUniformImageUrl = (imageUrl) => {
|
|
|
68
68
|
if (typeof imageUrl !== "string") {
|
|
69
69
|
return false;
|
|
70
70
|
}
|
|
71
|
-
return /(img)
|
|
71
|
+
return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
|
|
72
72
|
} catch (e) {
|
|
73
73
|
return false;
|
|
74
74
|
}
|
package/dist/index.js
CHANGED
|
@@ -98,7 +98,7 @@ var isUniformImageUrl = (imageUrl) => {
|
|
|
98
98
|
if (typeof imageUrl !== "string") {
|
|
99
99
|
return false;
|
|
100
100
|
}
|
|
101
|
-
return /(img)
|
|
101
|
+
return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
|
|
102
102
|
} catch (e) {
|
|
103
103
|
return false;
|
|
104
104
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -68,7 +68,7 @@ var isUniformImageUrl = (imageUrl) => {
|
|
|
68
68
|
if (typeof imageUrl !== "string") {
|
|
69
69
|
return false;
|
|
70
70
|
}
|
|
71
|
-
return /(img)
|
|
71
|
+
return /(img)\.(eu\.)?uniform\.(rocks|global)$/.test(new URL(imageUrl).hostname);
|
|
72
72
|
} catch (e) {
|
|
73
73
|
return false;
|
|
74
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/assets",
|
|
3
|
-
"version": "20.35.
|
|
3
|
+
"version": "20.35.1-alpha.210+4fa236da76",
|
|
4
4
|
"description": "Uniform Assets",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dev": "run-s update-openapi dev:ts",
|
|
25
25
|
"dev:ts": "tsup --watch",
|
|
26
26
|
"clean": "rimraf dist",
|
|
27
|
-
"test": "
|
|
27
|
+
"test": "vitest run",
|
|
28
28
|
"lint": "eslint \"src/**/*.{js,ts,tsx}\"",
|
|
29
29
|
"format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
|
|
30
30
|
"update-openapi": "tsx ./scripts/update-openapi.cts"
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@uniformdev/context": "20.35.
|
|
39
|
+
"@uniformdev/context": "20.35.1-alpha.210+4fa236da76"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"ts-xor": "^1.3.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "4fa236da76e057582eae6c2595a2fa763fda886a"
|
|
45
45
|
}
|