fix: convert privacy policy rule definition to functions #504
Annotations
10 errors and 1 warning
build
The 'this' context of type 'typeof SimpleTestEntity' is not assignable to method's 'this' of type 'IEntityClass<SimpleTestFields, string, ViewerContext, SimpleTestEntity, EntityPrivacyPolicy<SimpleTestFields, string, ViewerContext, SimpleTestEntity, "id">, "id">'.
|
build
The 'this' context of type 'typeof SimpleTestEntity' is not assignable to method's 'this' of type 'IEntityClass<SimpleTestFields, string, ViewerContext, SimpleTestEntity, EntityPrivacyPolicy<SimpleTestFields, string, ViewerContext, SimpleTestEntity, "id">, "id">'.
|
build
The 'this' context of type 'typeof SimpleTestDenyDeleteEntity' is not assignable to method's 'this' of type 'IEntityClass<TestEntityFields, string, ViewerContext, SimpleTestDenyDeleteEntity, EntityPrivacyPolicy<TestEntityFields, string, ViewerContext, SimpleTestDenyDeleteEntity, "id">, "id">'.
|
build
The 'this' context of type 'typeof SimpleTestDenyUpdateEntity' is not assignable to method's 'this' of type 'IEntityClass<TestEntityFields, string, ViewerContext, SimpleTestDenyUpdateEntity, EntityPrivacyPolicy<TestEntityFields, string, ViewerContext, SimpleTestDenyUpdateEntity, "id">, "id">'.
|
build
The 'this' context of type 'typeof SimpleTestDenyUpdateEntity' is not assignable to method's 'this' of type 'IEntityClass<TestEntityFields, string, ViewerContext, SimpleTestDenyUpdateEntity, EntityPrivacyPolicy<TestEntityFields, string, ViewerContext, SimpleTestDenyUpdateEntity, "id">, "id">'.
|
build
The 'this' context of type 'typeof SimpleTestDenyDeleteEntity' is not assignable to method's 'this' of type 'IEntityClass<TestEntityFields, string, ViewerContext, SimpleTestDenyDeleteEntity, EntityPrivacyPolicy<TestEntityFields, string, ViewerContext, SimpleTestDenyDeleteEntity, "id">, "id">'.
|
build
Class 'SimpleTestDenyUpdateEntityPrivacyPolicy' incorrectly extends base class 'EntityPrivacyPolicy<TestEntityFields, string, ViewerContext, SimpleTestDenyUpdateEntity, "id">'.
|
build
Non-abstract class 'SimpleTestDenyUpdateEntityPrivacyPolicy' does not implement all abstract members of 'EntityPrivacyPolicy<TestEntityFields, string, ViewerContext, SimpleTestDenyUpdateEntity, "id">'
|
build
Class 'SimpleTestDenyDeleteEntityPrivacyPolicy' incorrectly extends base class 'EntityPrivacyPolicy<TestEntityFields, string, ViewerContext, SimpleTestDenyDeleteEntity, "id">'.
|
build
Non-abstract class 'SimpleTestDenyDeleteEntityPrivacyPolicy' does not implement all abstract members of 'EntityPrivacyPolicy<TestEntityFields, string, ViewerContext, SimpleTestDenyDeleteEntity, "id">'
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|