@timardex/cluemart-shared 2.2.40 → 2.3.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/{chunk-BCMBTEGJ.mjs → chunk-DV3K3JDE.mjs} +26 -33
- package/dist/{chunk-BCMBTEGJ.mjs.map → chunk-DV3K3JDE.mjs.map} +1 -1
- package/dist/{chunk-T5ZOYS3L.mjs → chunk-HKTBJOB7.mjs} +40 -11
- package/dist/chunk-HKTBJOB7.mjs.map +1 -0
- package/dist/{chunk-NMJ2CR2F.mjs → chunk-KMS64DE2.mjs} +2 -2
- package/dist/{chunk-VL275KFW.mjs → chunk-PBW5K54C.mjs} +2 -2
- package/dist/{chunk-MKHXXZWF.mjs → chunk-YTRRTC2S.mjs} +11 -6
- package/dist/chunk-YTRRTC2S.mjs.map +1 -0
- package/dist/formFields/index.cjs +10 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.cjs +10 -5
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -1
- package/dist/graphql/index.d.ts +3 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +8 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +5 -5
- package/dist/index.cjs +76 -47
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +33 -5
- package/dist/index.d.ts +33 -5
- package/dist/index.mjs +72 -45
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +6 -0
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +2 -2
- package/dist/utils/index.cjs +66 -42
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +30 -4
- package/dist/utils/index.d.ts +30 -4
- package/dist/utils/index.mjs +10 -6
- package/package.json +1 -1
- package/dist/chunk-MKHXXZWF.mjs.map +0 -1
- package/dist/chunk-T5ZOYS3L.mjs.map +0 -1
- /package/dist/{chunk-NMJ2CR2F.mjs.map → chunk-KMS64DE2.mjs.map} +0 -0
- /package/dist/{chunk-VL275KFW.mjs.map → chunk-PBW5K54C.mjs.map} +0 -0
package/dist/graphql/index.d.mts
CHANGED
|
@@ -556,7 +556,9 @@ declare const useDeleteRelation: () => {
|
|
|
556
556
|
loading: boolean;
|
|
557
557
|
};
|
|
558
558
|
|
|
559
|
-
declare const useGetRelation: (_id?: string
|
|
559
|
+
declare const useGetRelation: (_id?: string, options?: {
|
|
560
|
+
futureOnly?: boolean;
|
|
561
|
+
}) => {
|
|
560
562
|
error: _apollo_client.ApolloError | undefined;
|
|
561
563
|
loading: boolean;
|
|
562
564
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -556,7 +556,9 @@ declare const useDeleteRelation: () => {
|
|
|
556
556
|
loading: boolean;
|
|
557
557
|
};
|
|
558
558
|
|
|
559
|
-
declare const useGetRelation: (_id?: string
|
|
559
|
+
declare const useGetRelation: (_id?: string, options?: {
|
|
560
|
+
futureOnly?: boolean;
|
|
561
|
+
}) => {
|
|
560
562
|
error: _apollo_client.ApolloError | undefined;
|
|
561
563
|
loading: boolean;
|
|
562
564
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -439,6 +439,12 @@ import_dayjs2.default.extend(import_customParseFormat2.default);
|
|
|
439
439
|
import_dayjs2.default.extend(import_utc.default);
|
|
440
440
|
import_dayjs2.default.extend(import_timezone.default);
|
|
441
441
|
import_dayjs2.default.extend(import_isSameOrAfter.default);
|
|
442
|
+
var SLOT_FORMATS = [
|
|
443
|
+
`${dateFormat} ${timeFormat}`,
|
|
444
|
+
`${dateFormat} H:mm`,
|
|
445
|
+
`${dateFormat} ${timeFormat}:ss`,
|
|
446
|
+
`${dateFormat} H:mm:ss`
|
|
447
|
+
];
|
|
442
448
|
var futureTimePeriods = FUTURE_EVENT_DATE_STATUSES.filter(
|
|
443
449
|
(status) => status !== "Starting_Soon" /* STARTING_SOON */
|
|
444
450
|
).map((status) => ({
|
|
@@ -4088,8 +4094,8 @@ var RELATION_FIELDS_FRAGMENT = import_client11.gql`
|
|
|
4088
4094
|
${RELATION_DATES_FRAGMENT}
|
|
4089
4095
|
`;
|
|
4090
4096
|
var GET_RELATION = import_client11.gql`
|
|
4091
|
-
query getRelation($_id: ID
|
|
4092
|
-
relation(_id: $_id) {
|
|
4097
|
+
query getRelation($_id: ID!, $futureOnly: Boolean = false) {
|
|
4098
|
+
relation(_id: $_id, futureOnly: $futureOnly) {
|
|
4093
4099
|
...RelationFields
|
|
4094
4100
|
}
|
|
4095
4101
|
}
|