Skip to content

Commit

Permalink
Updating Addable returns and Graph Types
Browse files Browse the repository at this point in the history
  • Loading branch information
bcameron1231 committed Jan 4, 2024
1 parent 4206e77 commit 7dab1cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/graph/compliance/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Privacy as IPrivacyType, SubjectRightsRequest as ISubjectRightsRequestType, AuthoredNote as IAuthoredNoteType } from "@microsoft/microsoft-graph-types";
import { Privacy as IPrivacyType, SubjectRightsRequest as ISubjectRightsRequestType, AuthoredNote as IAuthoredNoteType, ItemBody as ItemBodyType } from "@microsoft/microsoft-graph-types";

Check failure on line 1 in packages/graph/compliance/types.ts

View workflow job for this annotation

GitHub Actions / run_pr_tests

This line has a length of 187. Maximum allowed is 180
import { _GraphCollection, graphInvokableFactory, _GraphInstance, graphGet, _GraphQueryable, GraphQueryable } from "../graphqueryable.js";
import { IAddable, IGetById, IUpdateable, addable, defaultPath, getById, updateable } from "../decorators.js";
import { BlobParse } from "@pnp/queryable/index.js";
Expand Down Expand Up @@ -57,7 +57,7 @@ export const SubjectRightsRequest = graphInvokableFactory<ISubjectRightsRequest>
@getById(SubjectRightsRequest)
@addable()
export class _SubjectRightsRequests extends _GraphCollection<ISubjectRightsRequestType[]> {}
export interface ISubjectRightsRequests extends _SubjectRightsRequests, IGetById<ISubjectRightsRequest>, IAddable<ISubjectRightsRequestType> {}
export interface ISubjectRightsRequests extends _SubjectRightsRequests, IGetById<ISubjectRightsRequest>, IAddable<ISubjectRightsRequestType, ISubjectRightsRequestType> {}
export const SubjectRightsRequests = graphInvokableFactory<ISubjectRightsRequests>(_SubjectRightsRequests);

/**
Expand All @@ -66,5 +66,5 @@ export const SubjectRightsRequests = graphInvokableFactory<ISubjectRightsRequest
@defaultPath("notes")
@addable()
export class _Notes extends _GraphCollection<IAuthoredNoteType[]> {}
export interface INotes extends _Notes, IAddable<IAuthoredNoteType> {}
export interface INotes extends _Notes, IAddable<ItemBodyType, IAuthoredNoteType> {}
export const Notes = graphInvokableFactory<INotes>(_Notes);

0 comments on commit 7dab1cb

Please sign in to comment.