@memberjunction/server 0.9.245 → 0.9.246
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/build.log.json
CHANGED
|
@@ -287,6 +287,12 @@ export declare class Role_ {
|
|
|
287
287
|
AuthorizationRolesArray: mj_core_schema_server_object_types.AuthorizationRole_[];
|
|
288
288
|
QueryPermissionsArray: mj_core_schema_server_object_types.QueryPermission_[];
|
|
289
289
|
}
|
|
290
|
+
export declare class CreateRoleInput {
|
|
291
|
+
Name: string;
|
|
292
|
+
Description: string;
|
|
293
|
+
DirectoryID: string;
|
|
294
|
+
SQLName: string;
|
|
295
|
+
}
|
|
290
296
|
export declare class UpdateRoleInput {
|
|
291
297
|
ID: number;
|
|
292
298
|
Name: string;
|
|
@@ -314,9 +320,15 @@ export declare class RoleResolver extends ResolverBase {
|
|
|
314
320
|
UserRolesArray(role_: Role_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
315
321
|
AuthorizationRolesArray(role_: Role_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
316
322
|
QueryPermissionsArray(role_: Role_, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<[]>;
|
|
323
|
+
CreateRole(input: CreateRoleInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
|
|
324
|
+
protected BeforeCreate(dataSource: DataSource, input: CreateRoleInput): Promise<boolean>;
|
|
325
|
+
protected AfterCreate(dataSource: DataSource, input: CreateRoleInput): Promise<void>;
|
|
317
326
|
UpdateRole(input: UpdateRoleInput, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
|
|
318
327
|
protected BeforeUpdate(dataSource: DataSource, input: UpdateRoleInput): Promise<boolean>;
|
|
319
328
|
protected AfterUpdate(dataSource: DataSource, input: UpdateRoleInput): Promise<void>;
|
|
329
|
+
DeleteRole(ID: number, { dataSource, userPayload }: AppContext, pubSub: PubSubEngine): Promise<{}>;
|
|
330
|
+
protected BeforeDelete(dataSource: DataSource, ID: number): Promise<boolean>;
|
|
331
|
+
protected AfterDelete(dataSource: DataSource, ID: number): Promise<void>;
|
|
320
332
|
}
|
|
321
333
|
export declare class Skill_ {
|
|
322
334
|
ID: number;
|