@burdenoff/microfe-timecampus 2026.1102.1 → 2026.1107.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/dist/generated/global-types.d.ts +713 -244
- package/dist/generated/global-types.d.ts.map +1 -1
- package/dist/generated/wspace-operations.d.ts +300 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +1035 -903
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +17396 -467
- package/dist/generated/wspace-types.d.ts.map +1 -1
- package/dist/generated/wspace-types.js +5 -1
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/timecampus/TimeCampusRoutes.d.ts.map +1 -1
- package/dist/timecampus/TimeCampusRoutes.js +10 -6
- package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
- package/dist/timecampus/index.js +7 -7
- package/dist/timecampus/pages/dashboard/ServerReportExports.d.ts.map +1 -1
- package/dist/timecampus/pages/dashboard/ServerReportExports.js +99 -99
- package/dist/timecampus/pages/dashboard/ServerReportExports.js.map +1 -1
- package/dist/timecampus/pages/dashboard/reportTemplates.d.ts +8 -0
- package/dist/timecampus/pages/dashboard/reportTemplates.d.ts.map +1 -1
- package/dist/timecampus/pages/dashboard/reportTemplates.js +29 -19
- package/dist/timecampus/pages/dashboard/reportTemplates.js.map +1 -1
- package/dist/timecampus/pages/extend/TimeTriggersPage.d.ts +2 -0
- package/dist/timecampus/pages/extend/TimeTriggersPage.d.ts.map +1 -0
- package/dist/timecampus/pages/extend/TimeTriggersPage.js +606 -0
- package/dist/timecampus/pages/extend/TimeTriggersPage.js.map +1 -0
- package/dist/timecampus/pages/extend/extendHelpers.d.ts.map +1 -1
- package/dist/timecampus/pages/extend/extendHelpers.js +43 -42
- package/dist/timecampus/pages/extend/extendHelpers.js.map +1 -1
- package/dist/timecampus/pages/extend/triggerHelpers.d.ts +50 -0
- package/dist/timecampus/pages/extend/triggerHelpers.d.ts.map +1 -0
- package/dist/timecampus/pages/extend/triggerHelpers.js +114 -0
- package/dist/timecampus/pages/extend/triggerHelpers.js.map +1 -0
- package/package.json +1 -1
|
@@ -763,6 +763,39 @@ export type CaptureEventFieldsFragment = {
|
|
|
763
763
|
duration?: number | null;
|
|
764
764
|
createdAt: string;
|
|
765
765
|
};
|
|
766
|
+
export type TimeTriggerFieldsFragment = {
|
|
767
|
+
__typename?: 'TimeCampusTimeTrigger';
|
|
768
|
+
id: string;
|
|
769
|
+
name: string;
|
|
770
|
+
metric: Types.TimeCampusTriggerMetric;
|
|
771
|
+
comparator: Types.TimeCampusTriggerComparator;
|
|
772
|
+
threshold: number;
|
|
773
|
+
checkHour: number;
|
|
774
|
+
timezone: string;
|
|
775
|
+
message?: string | null;
|
|
776
|
+
enabled: boolean;
|
|
777
|
+
lastCheckedAt?: string | null;
|
|
778
|
+
lastValue?: number | null;
|
|
779
|
+
lastFiredAt?: string | null;
|
|
780
|
+
lastFiredDay?: string | null;
|
|
781
|
+
fireCount: number;
|
|
782
|
+
nextCheckAt: string;
|
|
783
|
+
createdAt: string;
|
|
784
|
+
updatedAt: string;
|
|
785
|
+
};
|
|
786
|
+
export type TimeTriggerFiringFieldsFragment = {
|
|
787
|
+
__typename?: 'TimeCampusTimeTriggerFiring';
|
|
788
|
+
id: string;
|
|
789
|
+
triggerId: string;
|
|
790
|
+
day: string;
|
|
791
|
+
metric: Types.TimeCampusTriggerMetric;
|
|
792
|
+
comparator: Types.TimeCampusTriggerComparator;
|
|
793
|
+
threshold: number;
|
|
794
|
+
value: number;
|
|
795
|
+
source: Types.TimeCampusTriggerSource;
|
|
796
|
+
notified: boolean;
|
|
797
|
+
createdAt: string;
|
|
798
|
+
};
|
|
766
799
|
export type TeamWorkPatternEntryFieldsFragment = {
|
|
767
800
|
__typename?: 'TeamWorkPatternEntry';
|
|
768
801
|
memberName: string;
|
|
@@ -3596,6 +3629,102 @@ export type DeleteTimeCampusCaptureEventMutation = {
|
|
|
3596
3629
|
id: string;
|
|
3597
3630
|
};
|
|
3598
3631
|
};
|
|
3632
|
+
export type CreateTimeTriggerMutationVariables = Types.Exact<{
|
|
3633
|
+
input: Types.CreateTimeCampusTimeTriggerInput;
|
|
3634
|
+
}>;
|
|
3635
|
+
export type CreateTimeTriggerMutation = {
|
|
3636
|
+
__typename?: 'Mutation';
|
|
3637
|
+
createTimeCampusTimeTrigger: {
|
|
3638
|
+
__typename?: 'TimeCampusTimeTrigger';
|
|
3639
|
+
id: string;
|
|
3640
|
+
name: string;
|
|
3641
|
+
metric: Types.TimeCampusTriggerMetric;
|
|
3642
|
+
comparator: Types.TimeCampusTriggerComparator;
|
|
3643
|
+
threshold: number;
|
|
3644
|
+
checkHour: number;
|
|
3645
|
+
timezone: string;
|
|
3646
|
+
message?: string | null;
|
|
3647
|
+
enabled: boolean;
|
|
3648
|
+
lastCheckedAt?: string | null;
|
|
3649
|
+
lastValue?: number | null;
|
|
3650
|
+
lastFiredAt?: string | null;
|
|
3651
|
+
lastFiredDay?: string | null;
|
|
3652
|
+
fireCount: number;
|
|
3653
|
+
nextCheckAt: string;
|
|
3654
|
+
createdAt: string;
|
|
3655
|
+
updatedAt: string;
|
|
3656
|
+
};
|
|
3657
|
+
};
|
|
3658
|
+
export type UpdateTimeTriggerMutationVariables = Types.Exact<{
|
|
3659
|
+
id: Types.Scalars['ID']['input'];
|
|
3660
|
+
input: Types.UpdateTimeCampusTimeTriggerInput;
|
|
3661
|
+
}>;
|
|
3662
|
+
export type UpdateTimeTriggerMutation = {
|
|
3663
|
+
__typename?: 'Mutation';
|
|
3664
|
+
updateTimeCampusTimeTrigger: {
|
|
3665
|
+
__typename?: 'TimeCampusTimeTrigger';
|
|
3666
|
+
id: string;
|
|
3667
|
+
name: string;
|
|
3668
|
+
metric: Types.TimeCampusTriggerMetric;
|
|
3669
|
+
comparator: Types.TimeCampusTriggerComparator;
|
|
3670
|
+
threshold: number;
|
|
3671
|
+
checkHour: number;
|
|
3672
|
+
timezone: string;
|
|
3673
|
+
message?: string | null;
|
|
3674
|
+
enabled: boolean;
|
|
3675
|
+
lastCheckedAt?: string | null;
|
|
3676
|
+
lastValue?: number | null;
|
|
3677
|
+
lastFiredAt?: string | null;
|
|
3678
|
+
lastFiredDay?: string | null;
|
|
3679
|
+
fireCount: number;
|
|
3680
|
+
nextCheckAt: string;
|
|
3681
|
+
createdAt: string;
|
|
3682
|
+
updatedAt: string;
|
|
3683
|
+
};
|
|
3684
|
+
};
|
|
3685
|
+
export type DeleteTimeTriggerMutationVariables = Types.Exact<{
|
|
3686
|
+
id: Types.Scalars['ID']['input'];
|
|
3687
|
+
}>;
|
|
3688
|
+
export type DeleteTimeTriggerMutation = {
|
|
3689
|
+
__typename?: 'Mutation';
|
|
3690
|
+
deleteTimeCampusTimeTrigger: boolean;
|
|
3691
|
+
};
|
|
3692
|
+
export type RunTimeTriggerMutationVariables = Types.Exact<{
|
|
3693
|
+
id: Types.Scalars['ID']['input'];
|
|
3694
|
+
}>;
|
|
3695
|
+
export type RunTimeTriggerMutation = {
|
|
3696
|
+
__typename?: 'Mutation';
|
|
3697
|
+
runTimeCampusTimeTrigger: {
|
|
3698
|
+
__typename?: 'TimeCampusTimeTriggerRun';
|
|
3699
|
+
day: string;
|
|
3700
|
+
value: number;
|
|
3701
|
+
conditionMet: boolean;
|
|
3702
|
+
insufficientData: boolean;
|
|
3703
|
+
fired: boolean;
|
|
3704
|
+
alreadyFiredToday: boolean;
|
|
3705
|
+
notified: boolean;
|
|
3706
|
+
trigger: {
|
|
3707
|
+
__typename?: 'TimeCampusTimeTrigger';
|
|
3708
|
+
id: string;
|
|
3709
|
+
name: string;
|
|
3710
|
+
metric: Types.TimeCampusTriggerMetric;
|
|
3711
|
+
comparator: Types.TimeCampusTriggerComparator;
|
|
3712
|
+
threshold: number;
|
|
3713
|
+
checkHour: number;
|
|
3714
|
+
timezone: string;
|
|
3715
|
+
message?: string | null;
|
|
3716
|
+
enabled: boolean;
|
|
3717
|
+
lastCheckedAt?: string | null;
|
|
3718
|
+
lastValue?: number | null;
|
|
3719
|
+
lastFiredAt?: string | null;
|
|
3720
|
+
lastFiredDay?: string | null;
|
|
3721
|
+
fireCount: number;
|
|
3722
|
+
nextCheckAt: string;
|
|
3723
|
+
createdAt: string;
|
|
3724
|
+
updatedAt: string;
|
|
3725
|
+
};
|
|
3726
|
+
};
|
|
3727
|
+
};
|
|
3599
3728
|
export type RecordWorkPatternMutationVariables = Types.Exact<{
|
|
3600
3729
|
input: Types.RecordWorkPatternInput;
|
|
3601
3730
|
}>;
|
|
@@ -6131,6 +6260,50 @@ export type ListTimeCampusCaptureEventsQuery = {
|
|
|
6131
6260
|
}>;
|
|
6132
6261
|
};
|
|
6133
6262
|
};
|
|
6263
|
+
export type ListMyTimeTriggersQueryVariables = Types.Exact<{
|
|
6264
|
+
[key: string]: never;
|
|
6265
|
+
}>;
|
|
6266
|
+
export type ListMyTimeTriggersQuery = {
|
|
6267
|
+
__typename?: 'Query';
|
|
6268
|
+
timeCampusMyTimeTriggers: Array<{
|
|
6269
|
+
__typename?: 'TimeCampusTimeTrigger';
|
|
6270
|
+
id: string;
|
|
6271
|
+
name: string;
|
|
6272
|
+
metric: Types.TimeCampusTriggerMetric;
|
|
6273
|
+
comparator: Types.TimeCampusTriggerComparator;
|
|
6274
|
+
threshold: number;
|
|
6275
|
+
checkHour: number;
|
|
6276
|
+
timezone: string;
|
|
6277
|
+
message?: string | null;
|
|
6278
|
+
enabled: boolean;
|
|
6279
|
+
lastCheckedAt?: string | null;
|
|
6280
|
+
lastValue?: number | null;
|
|
6281
|
+
lastFiredAt?: string | null;
|
|
6282
|
+
lastFiredDay?: string | null;
|
|
6283
|
+
fireCount: number;
|
|
6284
|
+
nextCheckAt: string;
|
|
6285
|
+
createdAt: string;
|
|
6286
|
+
updatedAt: string;
|
|
6287
|
+
}>;
|
|
6288
|
+
timeCampusMyTimeTriggerFirings: Array<{
|
|
6289
|
+
__typename?: 'TimeCampusTimeTriggerFiring';
|
|
6290
|
+
id: string;
|
|
6291
|
+
triggerId: string;
|
|
6292
|
+
day: string;
|
|
6293
|
+
metric: Types.TimeCampusTriggerMetric;
|
|
6294
|
+
comparator: Types.TimeCampusTriggerComparator;
|
|
6295
|
+
threshold: number;
|
|
6296
|
+
value: number;
|
|
6297
|
+
source: Types.TimeCampusTriggerSource;
|
|
6298
|
+
notified: boolean;
|
|
6299
|
+
createdAt: string;
|
|
6300
|
+
}>;
|
|
6301
|
+
timeCampusApplet: {
|
|
6302
|
+
__typename?: 'TimeCampusApplet';
|
|
6303
|
+
key: string;
|
|
6304
|
+
installed: boolean;
|
|
6305
|
+
};
|
|
6306
|
+
};
|
|
6134
6307
|
export type ListWorkPatternsQueryVariables = Types.Exact<{
|
|
6135
6308
|
userId?: Types.InputMaybe<Types.Scalars['ID']['input']>;
|
|
6136
6309
|
startDate?: Types.InputMaybe<Types.Scalars['DateTime']['input']>;
|
|
@@ -6373,6 +6546,8 @@ export declare const TimeEntryFieldsFragmentDoc: Apollo.DocumentNode;
|
|
|
6373
6546
|
export declare const TimelineSegmentFieldsFragmentDoc: Apollo.DocumentNode;
|
|
6374
6547
|
export declare const TimelineSummaryFieldsFragmentDoc: Apollo.DocumentNode;
|
|
6375
6548
|
export declare const CaptureEventFieldsFragmentDoc: Apollo.DocumentNode;
|
|
6549
|
+
export declare const TimeTriggerFieldsFragmentDoc: Apollo.DocumentNode;
|
|
6550
|
+
export declare const TimeTriggerFiringFieldsFragmentDoc: Apollo.DocumentNode;
|
|
6376
6551
|
export declare const WorkPatternFieldsFragmentDoc: Apollo.DocumentNode;
|
|
6377
6552
|
export declare const TeamWorkPatternEntryFieldsFragmentDoc: Apollo.DocumentNode;
|
|
6378
6553
|
export declare const SetTimeCampusFeatureFlagOverrideDocument: Apollo.DocumentNode;
|
|
@@ -9707,6 +9882,107 @@ export declare function useDeleteTimeCampusCaptureEventMutation(baseOptions?: Ap
|
|
|
9707
9882
|
export type DeleteTimeCampusCaptureEventMutationHookResult = ReturnType<typeof useDeleteTimeCampusCaptureEventMutation>;
|
|
9708
9883
|
export type DeleteTimeCampusCaptureEventMutationResult = Apollo.MutationResult<Types.DeleteTimeCampusCaptureEventMutation>;
|
|
9709
9884
|
export type DeleteTimeCampusCaptureEventMutationOptions = Apollo.BaseMutationOptions<Types.DeleteTimeCampusCaptureEventMutation, Types.DeleteTimeCampusCaptureEventMutationVariables>;
|
|
9885
|
+
export declare const CreateTimeTriggerDocument: Apollo.DocumentNode;
|
|
9886
|
+
export type CreateTimeTriggerMutationFn = Apollo.MutationFunction<Types.CreateTimeTriggerMutation, Types.CreateTimeTriggerMutationVariables>;
|
|
9887
|
+
/**
|
|
9888
|
+
* __useCreateTimeTriggerMutation__
|
|
9889
|
+
*
|
|
9890
|
+
* To run a mutation, you first call `useCreateTimeTriggerMutation` within a React component and pass it any options that fit your needs.
|
|
9891
|
+
* When your component renders, `useCreateTimeTriggerMutation` returns a tuple that includes:
|
|
9892
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9893
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9894
|
+
*
|
|
9895
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
9896
|
+
*
|
|
9897
|
+
* @example
|
|
9898
|
+
* const [createTimeTriggerMutation, { data, loading, error }] = useCreateTimeTriggerMutation({
|
|
9899
|
+
* variables: {
|
|
9900
|
+
* input: // value for 'input'
|
|
9901
|
+
* },
|
|
9902
|
+
* });
|
|
9903
|
+
*/
|
|
9904
|
+
export declare function useCreateTimeTriggerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateTimeTriggerMutation, Types.CreateTimeTriggerMutationVariables>): ApolloReactHooks.useMutation.ResultForOptions<Types.CreateTimeTriggerMutation, Types.CreateTimeTriggerMutationVariables, Apollo.ApolloCache, ApolloReactHooks.useMutation.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>, TCache, Partial<import('@apollo/client/utilities/internal').NoInfer<TVariables>>> & {
|
|
9905
|
+
variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
|
|
9906
|
+
}, undefined>;
|
|
9907
|
+
export type CreateTimeTriggerMutationHookResult = ReturnType<typeof useCreateTimeTriggerMutation>;
|
|
9908
|
+
export type CreateTimeTriggerMutationResult = Apollo.MutationResult<Types.CreateTimeTriggerMutation>;
|
|
9909
|
+
export type CreateTimeTriggerMutationOptions = Apollo.BaseMutationOptions<Types.CreateTimeTriggerMutation, Types.CreateTimeTriggerMutationVariables>;
|
|
9910
|
+
export declare const UpdateTimeTriggerDocument: Apollo.DocumentNode;
|
|
9911
|
+
export type UpdateTimeTriggerMutationFn = Apollo.MutationFunction<Types.UpdateTimeTriggerMutation, Types.UpdateTimeTriggerMutationVariables>;
|
|
9912
|
+
/**
|
|
9913
|
+
* __useUpdateTimeTriggerMutation__
|
|
9914
|
+
*
|
|
9915
|
+
* To run a mutation, you first call `useUpdateTimeTriggerMutation` within a React component and pass it any options that fit your needs.
|
|
9916
|
+
* When your component renders, `useUpdateTimeTriggerMutation` returns a tuple that includes:
|
|
9917
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9918
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9919
|
+
*
|
|
9920
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
9921
|
+
*
|
|
9922
|
+
* @example
|
|
9923
|
+
* const [updateTimeTriggerMutation, { data, loading, error }] = useUpdateTimeTriggerMutation({
|
|
9924
|
+
* variables: {
|
|
9925
|
+
* id: // value for 'id'
|
|
9926
|
+
* input: // value for 'input'
|
|
9927
|
+
* },
|
|
9928
|
+
* });
|
|
9929
|
+
*/
|
|
9930
|
+
export declare function useUpdateTimeTriggerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpdateTimeTriggerMutation, Types.UpdateTimeTriggerMutationVariables>): ApolloReactHooks.useMutation.ResultForOptions<Types.UpdateTimeTriggerMutation, Types.UpdateTimeTriggerMutationVariables, Apollo.ApolloCache, ApolloReactHooks.useMutation.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>, TCache, Partial<import('@apollo/client/utilities/internal').NoInfer<TVariables>>> & {
|
|
9931
|
+
variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
|
|
9932
|
+
}, undefined>;
|
|
9933
|
+
export type UpdateTimeTriggerMutationHookResult = ReturnType<typeof useUpdateTimeTriggerMutation>;
|
|
9934
|
+
export type UpdateTimeTriggerMutationResult = Apollo.MutationResult<Types.UpdateTimeTriggerMutation>;
|
|
9935
|
+
export type UpdateTimeTriggerMutationOptions = Apollo.BaseMutationOptions<Types.UpdateTimeTriggerMutation, Types.UpdateTimeTriggerMutationVariables>;
|
|
9936
|
+
export declare const DeleteTimeTriggerDocument: Apollo.DocumentNode;
|
|
9937
|
+
export type DeleteTimeTriggerMutationFn = Apollo.MutationFunction<Types.DeleteTimeTriggerMutation, Types.DeleteTimeTriggerMutationVariables>;
|
|
9938
|
+
/**
|
|
9939
|
+
* __useDeleteTimeTriggerMutation__
|
|
9940
|
+
*
|
|
9941
|
+
* To run a mutation, you first call `useDeleteTimeTriggerMutation` within a React component and pass it any options that fit your needs.
|
|
9942
|
+
* When your component renders, `useDeleteTimeTriggerMutation` returns a tuple that includes:
|
|
9943
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9944
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9945
|
+
*
|
|
9946
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
9947
|
+
*
|
|
9948
|
+
* @example
|
|
9949
|
+
* const [deleteTimeTriggerMutation, { data, loading, error }] = useDeleteTimeTriggerMutation({
|
|
9950
|
+
* variables: {
|
|
9951
|
+
* id: // value for 'id'
|
|
9952
|
+
* },
|
|
9953
|
+
* });
|
|
9954
|
+
*/
|
|
9955
|
+
export declare function useDeleteTimeTriggerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.DeleteTimeTriggerMutation, Types.DeleteTimeTriggerMutationVariables>): ApolloReactHooks.useMutation.ResultForOptions<Types.DeleteTimeTriggerMutation, Types.DeleteTimeTriggerMutationVariables, Apollo.ApolloCache, ApolloReactHooks.useMutation.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>, TCache, Partial<import('@apollo/client/utilities/internal').NoInfer<TVariables>>> & {
|
|
9956
|
+
variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
|
|
9957
|
+
}, undefined>;
|
|
9958
|
+
export type DeleteTimeTriggerMutationHookResult = ReturnType<typeof useDeleteTimeTriggerMutation>;
|
|
9959
|
+
export type DeleteTimeTriggerMutationResult = Apollo.MutationResult<Types.DeleteTimeTriggerMutation>;
|
|
9960
|
+
export type DeleteTimeTriggerMutationOptions = Apollo.BaseMutationOptions<Types.DeleteTimeTriggerMutation, Types.DeleteTimeTriggerMutationVariables>;
|
|
9961
|
+
export declare const RunTimeTriggerDocument: Apollo.DocumentNode;
|
|
9962
|
+
export type RunTimeTriggerMutationFn = Apollo.MutationFunction<Types.RunTimeTriggerMutation, Types.RunTimeTriggerMutationVariables>;
|
|
9963
|
+
/**
|
|
9964
|
+
* __useRunTimeTriggerMutation__
|
|
9965
|
+
*
|
|
9966
|
+
* To run a mutation, you first call `useRunTimeTriggerMutation` within a React component and pass it any options that fit your needs.
|
|
9967
|
+
* When your component renders, `useRunTimeTriggerMutation` returns a tuple that includes:
|
|
9968
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
9969
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
9970
|
+
*
|
|
9971
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
9972
|
+
*
|
|
9973
|
+
* @example
|
|
9974
|
+
* const [runTimeTriggerMutation, { data, loading, error }] = useRunTimeTriggerMutation({
|
|
9975
|
+
* variables: {
|
|
9976
|
+
* id: // value for 'id'
|
|
9977
|
+
* },
|
|
9978
|
+
* });
|
|
9979
|
+
*/
|
|
9980
|
+
export declare function useRunTimeTriggerMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RunTimeTriggerMutation, Types.RunTimeTriggerMutationVariables>): ApolloReactHooks.useMutation.ResultForOptions<Types.RunTimeTriggerMutation, Types.RunTimeTriggerMutationVariables, Apollo.ApolloCache, ApolloReactHooks.useMutation.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>, TCache, Partial<import('@apollo/client/utilities/internal').NoInfer<TVariables>>> & {
|
|
9981
|
+
variables?: { [K in Exclude<keyof TOptions["variables"], keyof TVariables>]?: never; };
|
|
9982
|
+
}, undefined>;
|
|
9983
|
+
export type RunTimeTriggerMutationHookResult = ReturnType<typeof useRunTimeTriggerMutation>;
|
|
9984
|
+
export type RunTimeTriggerMutationResult = Apollo.MutationResult<Types.RunTimeTriggerMutation>;
|
|
9985
|
+
export type RunTimeTriggerMutationOptions = Apollo.BaseMutationOptions<Types.RunTimeTriggerMutation, Types.RunTimeTriggerMutationVariables>;
|
|
9710
9986
|
export declare const RecordWorkPatternDocument: Apollo.DocumentNode;
|
|
9711
9987
|
export type RecordWorkPatternMutationFn = Apollo.MutationFunction<Types.RecordWorkPatternMutation, Types.RecordWorkPatternMutationVariables>;
|
|
9712
9988
|
/**
|
|
@@ -12518,6 +12794,30 @@ export type ListTimeCampusCaptureEventsQueryHookResult = ReturnType<typeof useLi
|
|
|
12518
12794
|
export type ListTimeCampusCaptureEventsLazyQueryHookResult = ReturnType<typeof useListTimeCampusCaptureEventsLazyQuery>;
|
|
12519
12795
|
export type ListTimeCampusCaptureEventsSuspenseQueryHookResult = ReturnType<typeof useListTimeCampusCaptureEventsSuspenseQuery>;
|
|
12520
12796
|
export type ListTimeCampusCaptureEventsQueryResult = Apollo.QueryResult<Types.ListTimeCampusCaptureEventsQuery, Types.ListTimeCampusCaptureEventsQueryVariables>;
|
|
12797
|
+
export declare const ListMyTimeTriggersDocument: Apollo.DocumentNode;
|
|
12798
|
+
/**
|
|
12799
|
+
* __useListMyTimeTriggersQuery__
|
|
12800
|
+
*
|
|
12801
|
+
* To run a query within a React component, call `useListMyTimeTriggersQuery` and pass it any options that fit your needs.
|
|
12802
|
+
* When your component renders, `useListMyTimeTriggersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
12803
|
+
* you can use to render your UI.
|
|
12804
|
+
*
|
|
12805
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
12806
|
+
*
|
|
12807
|
+
* @example
|
|
12808
|
+
* const { data, loading, error } = useListMyTimeTriggersQuery({
|
|
12809
|
+
* variables: {
|
|
12810
|
+
* },
|
|
12811
|
+
* });
|
|
12812
|
+
*/
|
|
12813
|
+
export declare function useListMyTimeTriggersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.ListMyTimeTriggersQuery, Types.ListMyTimeTriggersQueryVariables>): ApolloReactHooks.useQuery.ResultForOptions<Types.ListMyTimeTriggersQuery, Types.ListMyTimeTriggersQueryVariables, ApolloReactHooks.useQuery.Base.Options<TData, import('@apollo/client/utilities/internal').NoInfer<TVariables>>>;
|
|
12814
|
+
export declare function useListMyTimeTriggersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ListMyTimeTriggersQuery, Types.ListMyTimeTriggersQueryVariables>): ApolloReactHooks.useLazyQuery.ResultForOptions<Types.ListMyTimeTriggersQuery, Types.ListMyTimeTriggersQueryVariables, ApolloReactHooks.useLazyQuery.Options<import('@apollo/client/utilities/internal').NoInfer<TData>, import('@apollo/client/utilities/internal').NoInfer<TVariables>>>;
|
|
12815
|
+
export declare function useListMyTimeTriggersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMyTimeTriggersQuery, Types.ListMyTimeTriggersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMyTimeTriggersQuery, Types.ListMyTimeTriggersQueryVariables>;
|
|
12816
|
+
export declare function useListMyTimeTriggersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ListMyTimeTriggersQuery, Types.ListMyTimeTriggersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ListMyTimeTriggersQuery | undefined, Types.ListMyTimeTriggersQueryVariables>;
|
|
12817
|
+
export type ListMyTimeTriggersQueryHookResult = ReturnType<typeof useListMyTimeTriggersQuery>;
|
|
12818
|
+
export type ListMyTimeTriggersLazyQueryHookResult = ReturnType<typeof useListMyTimeTriggersLazyQuery>;
|
|
12819
|
+
export type ListMyTimeTriggersSuspenseQueryHookResult = ReturnType<typeof useListMyTimeTriggersSuspenseQuery>;
|
|
12820
|
+
export type ListMyTimeTriggersQueryResult = Apollo.QueryResult<Types.ListMyTimeTriggersQuery, Types.ListMyTimeTriggersQueryVariables>;
|
|
12521
12821
|
export declare const ListWorkPatternsDocument: Apollo.DocumentNode;
|
|
12522
12822
|
/**
|
|
12523
12823
|
* __useListWorkPatternsQuery__
|