@vrplatform/graphql 1.1.6 → 1.1.8
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/build/main/common/listings.d.ts +1 -1
- package/build/main/common/listings.js +2 -22
- package/build/main/gqty/schema.generated.d.ts +21 -1409
- package/build/main/gqty/schema.generated.js +5 -547
- package/build/module/common/listings.d.ts +1 -1
- package/build/module/common/listings.js +2 -22
- package/build/module/gqty/schema.generated.d.ts +21 -1409
- package/build/module/gqty/schema.generated.js +5 -547
- package/package.json +1 -1
- package/src/common/listings.ts +3 -22
- package/src/gqty/schema.generated.d.ts +21 -1409
- package/src/gqty/schema.generated.js +5 -551
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { listing_bool_exp } from '../gqty';
|
|
2
2
|
export declare function whereListingIsActive(): listing_bool_exp;
|
|
3
|
-
export declare function whereGlListingIsActive(where?: listing_bool_exp, date?: string): listing_bool_exp;
|
|
3
|
+
export declare function whereGlListingIsActive(where?: listing_bool_exp, date?: string, includeUpcoming?: boolean): listing_bool_exp;
|
|
4
4
|
export declare const whereGlListingIsInactive: (where?: listing_bool_exp, date?: string, includeUpcoming?: boolean) => listing_bool_exp;
|
|
@@ -24,7 +24,7 @@ function whereListingIsActive() {
|
|
|
24
24
|
],
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
function whereGlListingIsActive(where, date = (0, utils_1.utc)().yyyymmdd()) {
|
|
27
|
+
function whereGlListingIsActive(where, date = (0, utils_1.utc)().yyyymmdd(), includeUpcoming = false) {
|
|
28
28
|
const statusWhere = {
|
|
29
29
|
_or: [
|
|
30
30
|
{
|
|
@@ -33,27 +33,7 @@ function whereGlListingIsActive(where, date = (0, utils_1.utc)().yyyymmdd()) {
|
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
|
|
37
|
-
setListingInactive: { _eq: false },
|
|
38
|
-
_or: [
|
|
39
|
-
{
|
|
40
|
-
startAt: {
|
|
41
|
-
_lt: date,
|
|
42
|
-
},
|
|
43
|
-
endAt: {
|
|
44
|
-
_gte: date,
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
startAt: {
|
|
49
|
-
_lt: date,
|
|
50
|
-
},
|
|
51
|
-
endAt: {
|
|
52
|
-
_is_null: true,
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
},
|
|
36
|
+
_not: (0, exports.whereGlListingIsInactive)(undefined, date, includeUpcoming),
|
|
57
37
|
},
|
|
58
38
|
],
|
|
59
39
|
};
|