@warp-drive-mirror/utilities 5.8.1 → 5.9.0-alpha.1
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/declarations/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface BuildURLConfig {
|
|
|
28
28
|
* Example:
|
|
29
29
|
*
|
|
30
30
|
* ```ts
|
|
31
|
-
* import { setBuildURLConfig } from '@
|
|
31
|
+
* import { setBuildURLConfig } from '@warp-drive-mirror/utilities';
|
|
32
32
|
*
|
|
33
33
|
* setBuildURLConfig({
|
|
34
34
|
* host: 'https://api.example.com',
|
|
@@ -133,7 +133,7 @@ export type UrlOptions = FindRecordUrlOptions | QueryUrlOptions | FindManyUrlOpt
|
|
|
133
133
|
* Usage:
|
|
134
134
|
*
|
|
135
135
|
* ```ts
|
|
136
|
-
* import { buildBaseURL } from '@
|
|
136
|
+
* import { buildBaseURL } from '@warp-drive-mirror/utilities';
|
|
137
137
|
*
|
|
138
138
|
* const url = buildBaseURL({
|
|
139
139
|
* host: 'https://api.example.com',
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ const CONFIG = getOrSetGlobal('CONFIG', {
|
|
|
38
38
|
* Example:
|
|
39
39
|
*
|
|
40
40
|
* ```ts
|
|
41
|
-
* import { setBuildURLConfig } from '@
|
|
41
|
+
* import { setBuildURLConfig } from '@warp-drive-mirror/utilities';
|
|
42
42
|
*
|
|
43
43
|
* setBuildURLConfig({
|
|
44
44
|
* host: 'https://api.example.com',
|
|
@@ -101,7 +101,7 @@ function resourcePathForType(options) {
|
|
|
101
101
|
* Usage:
|
|
102
102
|
*
|
|
103
103
|
* ```ts
|
|
104
|
-
* import { buildBaseURL } from '@
|
|
104
|
+
* import { buildBaseURL } from '@warp-drive-mirror/utilities';
|
|
105
105
|
*
|
|
106
106
|
* const url = buildBaseURL({
|
|
107
107
|
* host: 'https://api.example.com',
|
package/dist/unpkg/dev/index.js
CHANGED
|
@@ -39,7 +39,7 @@ const CONFIG = getOrSetGlobal('CONFIG', {
|
|
|
39
39
|
* Example:
|
|
40
40
|
*
|
|
41
41
|
* ```ts
|
|
42
|
-
* import { setBuildURLConfig } from '@
|
|
42
|
+
* import { setBuildURLConfig } from '@warp-drive-mirror/utilities';
|
|
43
43
|
*
|
|
44
44
|
* setBuildURLConfig({
|
|
45
45
|
* host: 'https://api.example.com',
|
|
@@ -102,7 +102,7 @@ function resourcePathForType(options) {
|
|
|
102
102
|
* Usage:
|
|
103
103
|
*
|
|
104
104
|
* ```ts
|
|
105
|
-
* import { buildBaseURL } from '@
|
|
105
|
+
* import { buildBaseURL } from '@warp-drive-mirror/utilities';
|
|
106
106
|
*
|
|
107
107
|
* const url = buildBaseURL({
|
|
108
108
|
* host: 'https://api.example.com',
|
|
@@ -39,7 +39,7 @@ const CONFIG = getOrSetGlobal('CONFIG', {
|
|
|
39
39
|
* Example:
|
|
40
40
|
*
|
|
41
41
|
* ```ts
|
|
42
|
-
* import { setBuildURLConfig } from '@
|
|
42
|
+
* import { setBuildURLConfig } from '@warp-drive-mirror/utilities';
|
|
43
43
|
*
|
|
44
44
|
* setBuildURLConfig({
|
|
45
45
|
* host: 'https://api.example.com',
|
|
@@ -102,7 +102,7 @@ function resourcePathForType(options) {
|
|
|
102
102
|
* Usage:
|
|
103
103
|
*
|
|
104
104
|
* ```ts
|
|
105
|
-
* import { buildBaseURL } from '@
|
|
105
|
+
* import { buildBaseURL } from '@warp-drive-mirror/utilities';
|
|
106
106
|
*
|
|
107
107
|
* const url = buildBaseURL({
|
|
108
108
|
* host: 'https://api.example.com',
|
package/dist/unpkg/prod/index.js
CHANGED
|
@@ -39,7 +39,7 @@ const CONFIG = getOrSetGlobal('CONFIG', {
|
|
|
39
39
|
* Example:
|
|
40
40
|
*
|
|
41
41
|
* ```ts
|
|
42
|
-
* import { setBuildURLConfig } from '@
|
|
42
|
+
* import { setBuildURLConfig } from '@warp-drive-mirror/utilities';
|
|
43
43
|
*
|
|
44
44
|
* setBuildURLConfig({
|
|
45
45
|
* host: 'https://api.example.com',
|
|
@@ -69,7 +69,7 @@ function resourcePathForType(options) {
|
|
|
69
69
|
* Usage:
|
|
70
70
|
*
|
|
71
71
|
* ```ts
|
|
72
|
-
* import { buildBaseURL } from '@
|
|
72
|
+
* import { buildBaseURL } from '@warp-drive-mirror/utilities';
|
|
73
73
|
*
|
|
74
74
|
* const url = buildBaseURL({
|
|
75
75
|
* host: 'https://api.example.com',
|
|
@@ -39,7 +39,7 @@ const CONFIG = getOrSetGlobal('CONFIG', {
|
|
|
39
39
|
* Example:
|
|
40
40
|
*
|
|
41
41
|
* ```ts
|
|
42
|
-
* import { setBuildURLConfig } from '@
|
|
42
|
+
* import { setBuildURLConfig } from '@warp-drive-mirror/utilities';
|
|
43
43
|
*
|
|
44
44
|
* setBuildURLConfig({
|
|
45
45
|
* host: 'https://api.example.com',
|
|
@@ -69,7 +69,7 @@ function resourcePathForType(options) {
|
|
|
69
69
|
* Usage:
|
|
70
70
|
*
|
|
71
71
|
* ```ts
|
|
72
|
-
* import { buildBaseURL } from '@
|
|
72
|
+
* import { buildBaseURL } from '@warp-drive-mirror/utilities';
|
|
73
73
|
*
|
|
74
74
|
* const url = buildBaseURL({
|
|
75
75
|
* host: 'https://api.example.com',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive-mirror/utilities",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0-alpha.1",
|
|
4
4
|
"description": "Utilities package for WarpDrive | Things your app might find useful",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@warp-drive-mirror/core": "5.
|
|
47
|
+
"@warp-drive-mirror/core": "5.9.0-alpha.1"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@embroider/macros": "^1.18.1"
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@babel/core": "^7.28.3",
|
|
54
54
|
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
55
55
|
"@babel/preset-typescript": "^7.27.1",
|
|
56
|
-
"@warp-drive/internal-config": "5.
|
|
57
|
-
"@warp-drive-mirror/core": "5.
|
|
56
|
+
"@warp-drive/internal-config": "5.9.0-alpha.1",
|
|
57
|
+
"@warp-drive-mirror/core": "5.9.0-alpha.1",
|
|
58
58
|
"decorator-transforms": "^2.3.0",
|
|
59
59
|
"expect-type": "^1.2.2",
|
|
60
60
|
"typescript": "^5.9.2",
|