Skip to content

Commit 5eb325f

Browse files
committed
adjust directives to address build failures
1 parent e156195 commit 5eb325f

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

src/Calendar/Calendar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require:
1818
``` yaml
1919
directive:
2020
# Remove paths that are not valid.
21-
- remove-path-by-operation: (user|group)_(Update|Delete)Calendar$|(user|group)..*_(Get|Create|Update|Delete)CalendarView$|(user|group).(calendar).calendarView.*$|user.calendar_(Get|Update|Delete)Event$|(user|group).(calendar).event.*$|(user|group)_.*CalendarView$|(user|group).calendarView.*$|user.calendarGroup_(Get|Update|Delete)Calendar$|user.calendarGroup.calendar.*$|(group|user).event_(Create|Update|Create)Calendar$|(user|group).event.calendar.*$|placeAsRoomList.room_(Get|Update|Delete)GraphBPrePlaceId$|placeAsRoomList.workspace_(Get|Update|Delete)GraphBPrePlaceId$|
21+
- remove-path-by-operation: (user|group)_(Update|Delete)Calendar$|(user|group)..*_(Get|Create|Update|Delete)CalendarView$|(user|group).(calendar).calendarView.*$|user.calendar_(Get|Update|Delete)Event$|(user|group).(calendar).event.*$|(user|group)_.*CalendarView$|(user|group).calendarView.*$|user.calendarGroup_(Get|Update|Delete)Calendar$|user.calendarGroup.calendar.*$|(group|user).event_(Create|Update|Create)Calendar$|(user|group).event.calendar.*$|placeAsRoomList.room_(Get|Update|Delete)GraphBPrePlaceId$|placeAsRoomList.workspace_(Get|Update|Delete)GraphBPrePlaceId$
2222
# Rename cmdlets.
2323
- where:
2424
verb: Invoke
@@ -33,7 +33,7 @@ directive:
3333
subject: $1Default$2
3434
- where:
3535
subject: ^(User)(CalendarEvent)$
36-
variant: ^List$|^Create$|^CreateExpanded$|^CreateViaIdentity$|^CreateViaIdentityExpanded$
36+
variant: ^List$|^Create$|^CreateExpanded$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Cancel$|^CancelExpanded$|^CancelViaIdentity$|^CancelViaIdentityExpanded$
3737
set:
3838
subject: $1Default$2
3939

src/Groups/Groups.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ directive:
5050
subject: ^(Group)(LifecyclePolicy)Group$
5151
set:
5252
subject: $1To$2
53+
- where:
54+
verb: Invoke
55+
subject: ^(RenewGroup)(LifecyclePolicy)Group$
56+
variant: ^Renew1$|^RenewExpanded1$|^RenewViaIdentity$|^RenewViaIdentityExpanded$
57+
remove: true
5358
- where:
5459
verb: Invoke
5560
subject: ^(RenewGroup)(LifecyclePolicy)Group$
@@ -94,4 +99,9 @@ directive:
9499
verb: Update
95100
subject: ^GroupPhoto$
96101
remove: true
102+
# - where:
103+
# verb: Invoke
104+
# subject: ^(RenewGroup)(LifecyclePolicy)Group$
105+
# variant: ^Renew1$|^RenewExpanded1$|^RenewViaIdentity$|^RenewViaIdentityExpanded$
106+
# remove: true
97107
```

src/Identity.SignIns/Identity.SignIns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require:
1818
``` yaml
1919
directive:
2020
#Prevent cmdlets with the below operation Ids from being generated to allow for aliasing as a result of breaking changes in 2.18.0 and 2.17.0. The affected operation Ids starts from identity.b2xUserFlow_DeleteUserFlowIdentityProviderGraphBPreRef
21-
- remove-path-by-operation: ^identity_(Get|Create|Delete|Update|List)ConditionalAcces$|^policy\.policyRoot_.*PolicyRoot|^policy_(Get|Create|Delete|Update|List)ConditionalAccessPolicy$|^invitation\.invitation_(List|Get|Update|Delete)Invitation$|^invitation_(.*)InvitedUser$|^identityProtection\.identityProtectionRoot_(.*)$|^identity\.identityContainer_(.*)$|^identityProvider(\.identityProvider.*|_.*)$|^identity.b2xUserFlow_DeleteUserFlowIdentityProviderGraphBPreRef$|^policy.featureRolloutPolicy_DeleteAppliesToGraphBPreRef$|^user.authentication.qrCodePinMethod.pin_updatePin$|
21+
- remove-path-by-operation: ^identity_(Get|Create|Delete|Update|List)ConditionalAcces$|^policy\.policyRoot_.*PolicyRoot|^policy_(Get|Create|Delete|Update|List)ConditionalAccessPolicy$|^invitation\.invitation_(List|Get|Update|Delete)Invitation$|^invitation_(.*)InvitedUser$|^identityProtection\.identityProtectionRoot_(.*)$|^identity\.identityContainer_(.*)$|^identityProvider(\.identityProvider.*|_.*)$|^identity.b2xUserFlow_DeleteUserFlowIdentityProviderGraphBPreRef$|^policy.featureRolloutPolicy_DeleteAppliesToGraphBPreRef$|^user.authentication.qrCodePinMethod.pin_updatePin$
2222
# Remove cmdlets
2323
- where:
2424
subject: ^(Oauth2PermissionGrant)(\1)+

src/Sites/Sites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require:
1818
``` yaml
1919
directive:
2020
# Remove invalid paths.
21-
- remove-path-by-operation: group\.site_.*Onenote$|group\.site\.onenote.*$|.*\.onenote\..*\.parent.*|.*\.notebook\.section.*|.*\.sectionGroup\.section.*|.*\.section\.page.*|site\..*_(Create|Get|Update|Delete)Activity$|site\..*\.activity.*|^site_(remove|add)$|^.*site\.(.*_.*SourceColumn|contentType_.*(Base|BaseType|ColumnPosition)|.*_(Get|Create|Update|Delete)Activity|.*\.activity.*|^(user|group|site)_.*Onenote$|.*\.onenote\..*parent.*|.*\.notebook_(Get|Update|Delete)Section.*|.*\.sectionGroup_(Get|Update|Delete)Section.*|.*\.section_(Get|Update|Delete)Page|.*\.section.page.*|.*\.onenote_(List|Create|Update|Delete)(Operation|Resource)|^site_UpdatePage$|
21+
- remove-path-by-operation: group\.site_.*Onenote$|group\.site\.onenote.*$|.*\.onenote\..*\.parent.*|.*\.notebook\.section.*|.*\.sectionGroup\.section.*|.*\.section\.page.*|site\..*_(Create|Get|Update|Delete)Activity$|site\..*\.activity.*|^site_(remove|add)$|^.*site\.(.*_.*SourceColumn|contentType_.*(Base|BaseType|ColumnPosition)|.*_(Get|Create|Update|Delete)Activity|.*\.activity.*|^(user|group|site)_.*Onenote$|.*\.onenote\..*parent.*|.*\.notebook_(Get|Update|Delete)Section.*|.*\.sectionGroup_(Get|Update|Delete)Section.*|.*\.section_(Get|Update|Delete)Page|.*\.section.page.*|.*\.onenote_(List|Create|Update|Delete)(Operation|Resource)|^site_UpdatePage$
2222
# Remove cmdlets
2323
- where:
2424
verb: Remove|New

0 commit comments

Comments
 (0)