@ancon/wildcat-utils 1.50.25 → 1.50.26
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/package.json +1 -1
- package/preOrder/isGroupPreOrder.d.ts +6 -4
- package/preOrder/isGroupPreOrder.js +1 -1
- package/preOrder/isGroupPreOrder.mjs +4 -4
- package/preOrder/isPreOrderLink.d.ts +6 -4
- package/preOrder/isPreOrderLink.js +1 -1
- package/preOrder/isPreOrderLink.mjs +4 -4
- package/preOrder/isPreOrderSharable.d.ts +6 -4
- package/preOrder/isPreOrderSharable.js +1 -1
- package/preOrder/isPreOrderSharable.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
orderType?:
|
|
4
|
-
}
|
|
1
|
+
import { OrderType } from '@ancon/wildcat-types';
|
|
2
|
+
declare type Order = {
|
|
3
|
+
orderType?: OrderType;
|
|
4
|
+
};
|
|
5
|
+
export default function isGroupPreOrder<T extends Order>(preOrder: T): boolean;
|
|
6
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("@ancon/wildcat-types");function o(t){return(t==null?void 0:t.orderType)===e.
|
|
1
|
+
"use strict";const e=require("@ancon/wildcat-types");function o(t){return(t==null?void 0:t.orderType)===e.OrderType.GroupPreOrder}module.exports=o;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
return (o == null ? void 0 : o.orderType) ===
|
|
1
|
+
import { OrderType as r } from "@ancon/wildcat-types";
|
|
2
|
+
function u(o) {
|
|
3
|
+
return (o == null ? void 0 : o.orderType) === r.GroupPreOrder;
|
|
4
4
|
}
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
u as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
orderType?:
|
|
4
|
-
}
|
|
1
|
+
import { OrderType } from '@ancon/wildcat-types';
|
|
2
|
+
declare type Order = {
|
|
3
|
+
orderType?: OrderType;
|
|
4
|
+
};
|
|
5
|
+
export default function isPreOrderLink<T extends Order>(preOrder: T): boolean;
|
|
6
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("@ancon/wildcat-types");function e(i){return(i==null?void 0:i.orderType)===t.OrderType.PreOrderLink}module.exports=e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
return (
|
|
1
|
+
import { OrderType as n } from "@ancon/wildcat-types";
|
|
2
|
+
function t(i) {
|
|
3
|
+
return (i == null ? void 0 : i.orderType) === n.PreOrderLink;
|
|
4
4
|
}
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
orderType?:
|
|
4
|
-
}
|
|
1
|
+
import { OrderType } from '@ancon/wildcat-types';
|
|
2
|
+
declare type Order = {
|
|
3
|
+
orderType?: OrderType;
|
|
4
|
+
};
|
|
5
|
+
export default function isPreOrderSharable<T extends Order>(preOrder: T): boolean;
|
|
6
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("@ancon/wildcat-types");function o(e){const r=e==null?void 0:e.orderType;return r===t.
|
|
1
|
+
"use strict";const t=require("@ancon/wildcat-types");function o(e){const r=e==null?void 0:e.orderType;return r===t.OrderType.PreOrderLink||r===t.OrderType.GroupPreOrder}module.exports=o;
|