New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/mgt-react

Package Overview
Dependencies
Maintainers
2
Versions
835
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/mgt-react - npm Package Compare versions

Comparing version 2.1.0-preview.f66db69 to 2.2.0-preview.19a52a6

50

dist/es6/generated/react.d.ts
/// <reference types="react" />
import { ResponseType, IDynamicPerson, PersonType, GroupType, PersonCardInteraction, MgtPersonConfig, PersonViewType, AvatarSize, TasksStringResource, TasksSource, TaskFilter, SelectedChannel, TodoFilter } from '@microsoft/mgt-components';
import { OfficeGraphInsightString, ViewType, ResponseType, IDynamicPerson, PersonType, GroupType, PersonCardInteraction, MgtPersonConfig, AvatarSize, PersonViewType, TasksStringResource, TasksSource, TaskFilter, SelectedChannel, TodoFilter } from '@microsoft/mgt-components';
import { TemplateContext, ComponentMediaQuery } from '@microsoft/mgt-element';

@@ -19,2 +19,42 @@ import * as MicrosoftGraph from '@microsoft/microsoft-graph-types';

};
export declare type FileListProps = {
fileListQuery?: string;
fileQueries?: string[];
files?: MicrosoftGraph.DriveItem[];
siteId?: string;
driveId?: string;
groupId?: string;
itemId?: string;
itemPath?: string;
userId?: string;
insightType?: OfficeGraphInsightString;
isExpanded?: boolean;
selectedItem?: MicrosoftGraph.DriveItem;
showMax?: number;
renderOnScroll?: number;
templateContext?: TemplateContext;
mediaQuery?: ComponentMediaQuery;
fileSelected?: (e: Event) => void;
};
export declare type FileProps = {
fileQuery?: string;
siteId?: string;
driveId?: string;
groupId?: string;
listId?: string;
userId?: string;
itemId?: string;
itemPath?: string;
insightType?: OfficeGraphInsightString;
insightId?: string;
fileDetails?: MicrosoftGraph.DriveItem;
fileIcon?: string;
driveItem?: MicrosoftGraph.DriveItem;
line1Property?: string;
line2Property?: string;
line3Property?: string;
view?: ViewType;
templateContext?: TemplateContext;
mediaQuery?: ComponentMediaQuery;
};
export declare type GetProps = {

@@ -86,2 +126,3 @@ resource?: string;

personQuery?: string;
fallbackDetails?: IDynamicPerson;
userId?: string;

@@ -92,2 +133,3 @@ showPresence?: boolean;

fetchImage?: boolean;
avatarType?: string;
personPresence?: MicrosoftGraphBeta.Presence;

@@ -98,3 +140,3 @@ personCardInteraction?: PersonCardInteraction;

line3Property?: string;
view?: PersonViewType;
view?: ViewType | PersonViewType;
avatarSize?: AvatarSize;

@@ -144,2 +186,4 @@ templateContext?: TemplateContext;

export declare const Agenda: import("react").FC<AgendaProps & import("react").HTMLAttributes<any>>;
export declare const FileList: import("react").FC<FileListProps & import("react").HTMLAttributes<any>>;
export declare const File: import("react").FC<FileProps & import("react").HTMLAttributes<any>>;
export declare const Get: import("react").FC<GetProps & import("react").HTMLAttributes<any>>;

@@ -154,4 +198,4 @@ export declare const Login: import("react").FC<LoginProps & import("react").HTMLAttributes<any>>;

export declare const Todo: import("react").FC<TodoProps & import("react").HTMLAttributes<any>>;
export { ResponseType, IDynamicPerson, PersonType, GroupType, PersonCardInteraction, MgtPersonConfig, PersonViewType, AvatarSize, TasksStringResource, TasksSource, TaskFilter, SelectedChannel, TodoFilter } from '@microsoft/mgt-components';
export { OfficeGraphInsightString, ViewType, ResponseType, IDynamicPerson, PersonType, GroupType, PersonCardInteraction, MgtPersonConfig, AvatarSize, PersonViewType, TasksStringResource, TasksSource, TaskFilter, SelectedChannel, TodoFilter } from '@microsoft/mgt-components';
export { TemplateContext, ComponentMediaQuery } from '@microsoft/mgt-element';
//# sourceMappingURL=react.d.ts.map

4

dist/es6/generated/react.js
import { wrapMgt } from '../Mgt';
export const Agenda = wrapMgt('mgt-agenda');
export const FileList = wrapMgt('mgt-file-list');
export const File = wrapMgt('mgt-file');
export const Get = wrapMgt('mgt-get');

@@ -12,4 +14,4 @@ export const Login = wrapMgt('mgt-login');

export const Todo = wrapMgt('mgt-todo');
export { ResponseType, PersonType, GroupType, PersonCardInteraction, PersonViewType, TasksSource } from '@microsoft/mgt-components';
export { ViewType, ResponseType, PersonType, GroupType, PersonCardInteraction, PersonViewType, TasksSource } from '@microsoft/mgt-components';
export { ComponentMediaQuery } from '@microsoft/mgt-element';
//# sourceMappingURL=react.js.map
{
"name": "@microsoft/mgt-react",
"version": "2.1.0-preview.f66db69",
"version": "2.2.0-preview.19a52a6",
"description": "Microsoft Graph Toolkit React wrapper class",

@@ -34,5 +34,5 @@ "author": "Microsoft",

"dependencies": {
"@microsoft/mgt-components": "2.1.0-preview.f66db69",
"@microsoft/mgt-element": "2.1.0-preview.f66db69",
"@microsoft/microsoft-graph-types": "^1.28.0",
"@microsoft/mgt-components": "2.2.0-preview.19a52a6",
"@microsoft/mgt-element": "2.2.0-preview.19a52a6",
"@microsoft/microsoft-graph-types": "^1.31.0",
"@microsoft/microsoft-graph-types-beta": "github:microsoftgraph/msgraph-typescript-typings#beta",

@@ -39,0 +39,0 @@ "wc-react": "^0.4.0"

@@ -1,2 +0,2 @@

import { ResponseType,IDynamicPerson,PersonType,GroupType,PersonCardInteraction,MgtPersonConfig,PersonViewType,AvatarSize,TasksStringResource,TasksSource,TaskFilter,SelectedChannel,TodoFilter } from '@microsoft/mgt-components';
import { OfficeGraphInsightString,ViewType,ResponseType,IDynamicPerson,PersonType,GroupType,PersonCardInteraction,MgtPersonConfig,AvatarSize,PersonViewType,TasksStringResource,TasksSource,TaskFilter,SelectedChannel,TodoFilter } from '@microsoft/mgt-components';
import { TemplateContext,ComponentMediaQuery } from '@microsoft/mgt-element';

@@ -21,2 +21,44 @@ import * as MicrosoftGraph from '@microsoft/microsoft-graph-types';

export type FileListProps = {
fileListQuery?: string;
fileQueries?: string[];
files?: MicrosoftGraph.DriveItem[];
siteId?: string;
driveId?: string;
groupId?: string;
itemId?: string;
itemPath?: string;
userId?: string;
insightType?: OfficeGraphInsightString;
isExpanded?: boolean;
selectedItem?: MicrosoftGraph.DriveItem;
showMax?: number;
renderOnScroll?: number;
templateContext?: TemplateContext;
mediaQuery?: ComponentMediaQuery;
fileSelected?: (e: Event) => void;
}
export type FileProps = {
fileQuery?: string;
siteId?: string;
driveId?: string;
groupId?: string;
listId?: string;
userId?: string;
itemId?: string;
itemPath?: string;
insightType?: OfficeGraphInsightString;
insightId?: string;
fileDetails?: MicrosoftGraph.DriveItem;
fileIcon?: string;
driveItem?: MicrosoftGraph.DriveItem;
line1Property?: string;
line2Property?: string;
line3Property?: string;
view?: ViewType;
templateContext?: TemplateContext;
mediaQuery?: ComponentMediaQuery;
}
export type GetProps = {

@@ -93,2 +135,3 @@ resource?: string;

personQuery?: string;
fallbackDetails?: IDynamicPerson;
userId?: string;

@@ -99,2 +142,3 @@ showPresence?: boolean;

fetchImage?: boolean;
avatarType?: string;
personPresence?: MicrosoftGraphBeta.Presence;

@@ -105,3 +149,3 @@ personCardInteraction?: PersonCardInteraction;

line3Property?: string;
view?: PersonViewType;
view?: ViewType | PersonViewType;
avatarSize?: AvatarSize;

@@ -156,2 +200,6 @@ templateContext?: TemplateContext;

export const FileList = wrapMgt<FileListProps>('mgt-file-list');
export const File = wrapMgt<FileProps>('mgt-file');
export const Get = wrapMgt<GetProps>('mgt-get');

@@ -175,3 +223,3 @@

export { ResponseType,IDynamicPerson,PersonType,GroupType,PersonCardInteraction,MgtPersonConfig,PersonViewType,AvatarSize,TasksStringResource,TasksSource,TaskFilter,SelectedChannel,TodoFilter } from '@microsoft/mgt-components';
export { OfficeGraphInsightString,ViewType,ResponseType,IDynamicPerson,PersonType,GroupType,PersonCardInteraction,MgtPersonConfig,AvatarSize,PersonViewType,TasksStringResource,TasksSource,TaskFilter,SelectedChannel,TodoFilter } from '@microsoft/mgt-components';
export { TemplateContext,ComponentMediaQuery } from '@microsoft/mgt-element';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc