@@ -21,55 +21,59 @@ module Test.Wire.API.Golden.Generated.WithStatus_team where
21
21
22
22
import Data.Domain
23
23
import Imports
24
- import Wire.API.Team.Feature
24
+ import Wire.API.Team.Feature hiding (withStatus )
25
+ import qualified Wire.API.Team.Feature as F
25
26
26
27
testObject_WithStatus_team_1 :: WithStatus AppLockConfig
27
- testObject_WithStatus_team_1 = withStatus FeatureStatusEnabled LockStatusUnlocked (AppLockConfig (EnforceAppLock False ) (- 98 )) FeatureTTLUnlimited
28
+ testObject_WithStatus_team_1 = withStatus FeatureStatusEnabled LockStatusUnlocked (AppLockConfig (EnforceAppLock False ) (- 98 ))
28
29
29
30
testObject_WithStatus_team_2 :: WithStatus AppLockConfig
30
- testObject_WithStatus_team_2 = withStatus FeatureStatusEnabled LockStatusUnlocked (AppLockConfig (EnforceAppLock True ) 0 ) FeatureTTLUnlimited
31
+ testObject_WithStatus_team_2 = withStatus FeatureStatusEnabled LockStatusUnlocked (AppLockConfig (EnforceAppLock True ) 0 )
31
32
32
33
testObject_WithStatus_team_3 :: WithStatus AppLockConfig
33
- testObject_WithStatus_team_3 = withStatus FeatureStatusEnabled LockStatusLocked (AppLockConfig (EnforceAppLock True ) 111 ) FeatureTTLUnlimited
34
+ testObject_WithStatus_team_3 = withStatus FeatureStatusEnabled LockStatusLocked (AppLockConfig (EnforceAppLock True ) 111 )
34
35
35
36
testObject_WithStatus_team_4 :: WithStatus SelfDeletingMessagesConfig
36
- testObject_WithStatus_team_4 = withStatus FeatureStatusEnabled LockStatusUnlocked (SelfDeletingMessagesConfig (- 97 )) FeatureTTLUnlimited
37
+ testObject_WithStatus_team_4 = withStatus FeatureStatusEnabled LockStatusUnlocked (SelfDeletingMessagesConfig (- 97 ))
37
38
38
39
testObject_WithStatus_team_5 :: WithStatus SelfDeletingMessagesConfig
39
- testObject_WithStatus_team_5 = withStatus FeatureStatusEnabled LockStatusUnlocked (SelfDeletingMessagesConfig 0 ) FeatureTTLUnlimited
40
+ testObject_WithStatus_team_5 = withStatus FeatureStatusEnabled LockStatusUnlocked (SelfDeletingMessagesConfig 0 )
40
41
41
42
testObject_WithStatus_team_6 :: WithStatus SelfDeletingMessagesConfig
42
- testObject_WithStatus_team_6 = withStatus FeatureStatusEnabled LockStatusLocked (SelfDeletingMessagesConfig 77 ) FeatureTTLUnlimited
43
+ testObject_WithStatus_team_6 = withStatus FeatureStatusEnabled LockStatusLocked (SelfDeletingMessagesConfig 77 )
43
44
44
45
testObject_WithStatus_team_7 :: WithStatus ClassifiedDomainsConfig
45
- testObject_WithStatus_team_7 = withStatus FeatureStatusEnabled LockStatusLocked (ClassifiedDomainsConfig [] ) FeatureTTLUnlimited
46
+ testObject_WithStatus_team_7 = withStatus FeatureStatusEnabled LockStatusLocked (ClassifiedDomainsConfig [] )
46
47
47
48
testObject_WithStatus_team_8 :: WithStatus ClassifiedDomainsConfig
48
- testObject_WithStatus_team_8 = withStatus FeatureStatusEnabled LockStatusLocked (ClassifiedDomainsConfig [Domain " example.com" , Domain " test.foobar" ]) FeatureTTLUnlimited
49
+ testObject_WithStatus_team_8 = withStatus FeatureStatusEnabled LockStatusLocked (ClassifiedDomainsConfig [Domain " example.com" , Domain " test.foobar" ])
49
50
50
51
testObject_WithStatus_team_9 :: WithStatus ClassifiedDomainsConfig
51
- testObject_WithStatus_team_9 = withStatus FeatureStatusEnabled LockStatusUnlocked (ClassifiedDomainsConfig [Domain " test.foobar" ]) FeatureTTLUnlimited
52
+ testObject_WithStatus_team_9 = withStatus FeatureStatusEnabled LockStatusUnlocked (ClassifiedDomainsConfig [Domain " test.foobar" ])
52
53
53
54
testObject_WithStatus_team_10 :: WithStatus SSOConfig
54
- testObject_WithStatus_team_10 = withStatus FeatureStatusDisabled LockStatusLocked SSOConfig FeatureTTLUnlimited
55
+ testObject_WithStatus_team_10 = withStatus FeatureStatusDisabled LockStatusLocked SSOConfig
55
56
56
57
testObject_WithStatus_team_11 :: WithStatus SearchVisibilityAvailableConfig
57
- testObject_WithStatus_team_11 = withStatus FeatureStatusEnabled LockStatusLocked SearchVisibilityAvailableConfig FeatureTTLUnlimited
58
+ testObject_WithStatus_team_11 = withStatus FeatureStatusEnabled LockStatusLocked SearchVisibilityAvailableConfig
58
59
59
60
testObject_WithStatus_team_12 :: WithStatus ValidateSAMLEmailsConfig
60
- testObject_WithStatus_team_12 = withStatus FeatureStatusDisabled LockStatusLocked ValidateSAMLEmailsConfig FeatureTTLUnlimited
61
+ testObject_WithStatus_team_12 = withStatus FeatureStatusDisabled LockStatusLocked ValidateSAMLEmailsConfig
61
62
62
63
testObject_WithStatus_team_13 :: WithStatus DigitalSignaturesConfig
63
- testObject_WithStatus_team_13 = withStatus FeatureStatusEnabled LockStatusLocked DigitalSignaturesConfig FeatureTTLUnlimited
64
+ testObject_WithStatus_team_13 = withStatus FeatureStatusEnabled LockStatusLocked DigitalSignaturesConfig
64
65
65
66
testObject_WithStatus_team_14 :: WithStatus ConferenceCallingConfig
66
- testObject_WithStatus_team_14 = withStatus FeatureStatusDisabled LockStatusUnlocked ConferenceCallingConfig FeatureTTLUnlimited
67
+ testObject_WithStatus_team_14 = withStatus FeatureStatusDisabled LockStatusUnlocked ConferenceCallingConfig
67
68
68
69
testObject_WithStatus_team_15 :: WithStatus GuestLinksConfig
69
- testObject_WithStatus_team_15 = withStatus FeatureStatusEnabled LockStatusUnlocked GuestLinksConfig FeatureTTLUnlimited
70
+ testObject_WithStatus_team_15 = withStatus FeatureStatusEnabled LockStatusUnlocked GuestLinksConfig
70
71
71
72
testObject_WithStatus_team_16 :: WithStatus SndFactorPasswordChallengeConfig
72
- testObject_WithStatus_team_16 = withStatus FeatureStatusDisabled LockStatusUnlocked SndFactorPasswordChallengeConfig FeatureTTLUnlimited
73
+ testObject_WithStatus_team_16 = withStatus FeatureStatusDisabled LockStatusUnlocked SndFactorPasswordChallengeConfig
73
74
74
75
testObject_WithStatus_team_17 :: WithStatus SearchVisibilityInboundConfig
75
- testObject_WithStatus_team_17 = withStatus FeatureStatusEnabled LockStatusUnlocked SearchVisibilityInboundConfig FeatureTTLUnlimited
76
+ testObject_WithStatus_team_17 = withStatus FeatureStatusEnabled LockStatusUnlocked SearchVisibilityInboundConfig
77
+
78
+ withStatus :: FeatureStatus -> LockStatus -> cfg -> WithStatus cfg
79
+ withStatus fs ls cfg = F. withStatus fs ls cfg FeatureTTLUnlimited
0 commit comments