gd-sprest-def
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -7,3 +7,3 @@ import { Base } from "../../../../../"; | ||
**********************************************/ | ||
export interface IDevice extends DeviceCollections, DeviceMethods, Base.IBaseQuery<Device, IDeviceQuery> { | ||
export interface IDevice extends Microsoft.Online.SharePoint.MigrationCenter.Common.DeviceEntityDataCollections, DeviceCollections, DeviceMethods, Base.IBaseQuery<Device, IDeviceQuery> { | ||
@@ -251,3 +251,3 @@ } | ||
**********************************************/ | ||
export interface IMigrationTask extends MigrationTaskCollections, MigrationTaskMethods, Base.IBaseQuery<MigrationTask, IMigrationTaskQuery> { | ||
export interface IMigrationTask extends Microsoft.Online.SharePoint.MigrationCenter.Common.MigrationTaskEntityDataCollections, MigrationTaskCollections, MigrationTaskMethods, Base.IBaseQuery<MigrationTask, IMigrationTaskQuery> { | ||
@@ -358,3 +358,3 @@ } | ||
**********************************************/ | ||
export interface IMigrationCredential extends MigrationCredentialCollections, MigrationCredentialMethods, Base.IBaseQuery<MigrationCredential, IMigrationCredentialQuery> { | ||
export interface IMigrationCredential extends Microsoft.Online.SharePoint.MigrationCenter.Common.MigrationCredentialEntityDataCollections, MigrationCredentialCollections, MigrationCredentialMethods, Base.IBaseQuery<MigrationCredential, IMigrationCredentialQuery> { | ||
@@ -361,0 +361,0 @@ } |
@@ -24,3 +24,3 @@ import { Base } from "../../../../../"; | ||
**********************************************/ | ||
export interface IAllowedDataLocation extends AllowedDataLocationCollections, AllowedDataLocationMethods, Base.IBaseQuery<AllowedDataLocation, IAllowedDataLocationQuery> { | ||
export interface IAllowedDataLocation extends Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocationEntityDataCollections, AllowedDataLocationCollections, AllowedDataLocationMethods, Base.IBaseQuery<AllowedDataLocation, IAllowedDataLocationQuery> { | ||
@@ -215,3 +215,3 @@ } | ||
**********************************************/ | ||
export interface ICrossFarmSiteMoveJob extends CrossFarmSiteMoveJobCollections, CrossFarmSiteMoveJobMethods, Base.IBaseQuery<CrossFarmSiteMoveJob, ICrossFarmSiteMoveJobQuery> { | ||
export interface ICrossFarmSiteMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJobEntityDataCollections, CrossFarmSiteMoveJobCollections, CrossFarmSiteMoveJobMethods, Base.IBaseQuery<CrossFarmSiteMoveJob, ICrossFarmSiteMoveJobQuery> { | ||
@@ -327,3 +327,3 @@ } | ||
**********************************************/ | ||
export interface ICrossFarmUserMoveJob extends CrossFarmUserMoveJobCollections, CrossFarmUserMoveJobMethods, Base.IBaseQuery<CrossFarmUserMoveJob, ICrossFarmUserMoveJobQuery> { | ||
export interface ICrossFarmUserMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJobEntityDataCollections, CrossFarmUserMoveJobCollections, CrossFarmUserMoveJobMethods, Base.IBaseQuery<CrossFarmUserMoveJob, ICrossFarmUserMoveJobQuery> { | ||
@@ -456,3 +456,3 @@ } | ||
**********************************************/ | ||
export interface ICrossGeoTenantProperty extends CrossGeoTenantPropertyCollections, CrossGeoTenantPropertyMethods, Base.IBaseQuery<CrossGeoTenantProperty, ICrossGeoTenantPropertyQuery> { | ||
export interface ICrossGeoTenantProperty extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantPropertyEntityDataCollections, CrossGeoTenantPropertyCollections, CrossGeoTenantPropertyMethods, Base.IBaseQuery<CrossGeoTenantProperty, ICrossGeoTenantPropertyQuery> { | ||
@@ -782,3 +782,3 @@ } | ||
**********************************************/ | ||
export interface IGroupMoveJob extends GroupMoveJobCollections, GroupMoveJobMethods, Base.IBaseQuery<GroupMoveJob, IGroupMoveJobQuery> { | ||
export interface IGroupMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJobEntityDataCollections, GroupMoveJobCollections, GroupMoveJobMethods, Base.IBaseQuery<GroupMoveJob, IGroupMoveJobQuery> { | ||
@@ -1035,3 +1035,3 @@ } | ||
**********************************************/ | ||
export interface ISiteMoveJob extends SiteMoveJobCollections, SiteMoveJobMethods, Base.IBaseQuery<SiteMoveJob, ISiteMoveJobQuery> { | ||
export interface ISiteMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJobEntityDataCollections, SiteMoveJobCollections, SiteMoveJobMethods, Base.IBaseQuery<SiteMoveJob, ISiteMoveJobQuery> { | ||
@@ -1319,3 +1319,3 @@ } | ||
**********************************************/ | ||
export interface IUserMoveJob extends UserMoveJobCollections, UserMoveJobMethods, Base.IBaseQuery<UserMoveJob, IUserMoveJobQuery> { | ||
export interface IUserMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJobEntityDataCollections, UserMoveJobCollections, UserMoveJobMethods, Base.IBaseQuery<UserMoveJob, IUserMoveJobQuery> { | ||
@@ -1322,0 +1322,0 @@ } |
@@ -37,3 +37,3 @@ import { Base } from "../../"; | ||
**********************************************/ | ||
export interface IFile extends FileCollections, FileMethods, Base.IBaseQuery<File, IFileQuery> { | ||
export interface IFile extends MS.FileServices.FileSystemItemCollections, FileCollections, FileMethods, Base.IBaseQuery<File, IFileQuery> { | ||
@@ -126,3 +126,3 @@ } | ||
**********************************************/ | ||
export interface IFolder extends FolderCollections, FolderMethods, Base.IBaseQuery<Folder, IFolderQuery> { | ||
export interface IFolder extends MS.FileServices.FileSystemItemCollections, FolderCollections, FolderMethods, Base.IBaseQuery<Folder, IFolderQuery> { | ||
@@ -129,0 +129,0 @@ } |
@@ -7,3 +7,3 @@ import { Base } from "../../"; | ||
**********************************************/ | ||
export interface ITaxonomyField extends TaxonomyFieldCollections, TaxonomyFieldMethods, Base.IBaseQuery<TaxonomyField, ITaxonomyFieldQuery> { | ||
export interface ITaxonomyField extends SP.FieldLookupCollections, TaxonomyFieldCollections, TaxonomyFieldMethods, Base.IBaseQuery<TaxonomyField, ITaxonomyFieldQuery> { | ||
@@ -10,0 +10,0 @@ } |
@@ -165,3 +165,3 @@ import { Base } from "../../"; | ||
**********************************************/ | ||
export interface ISPWorkflowTask extends SPWorkflowTaskCollections, SPWorkflowTaskMethods, Base.IBaseQuery<SPWorkflowTask, ISPWorkflowTaskQuery> { | ||
export interface ISPWorkflowTask extends SP.ListItemCollections, SPWorkflowTaskCollections, SPWorkflowTaskMethods, Base.IBaseQuery<SPWorkflowTask, ISPWorkflowTaskQuery> { | ||
@@ -168,0 +168,0 @@ } |
@@ -746,3 +746,7 @@ let fs = require("fs"); | ||
// Generate the content | ||
content.push(createInterface("I" + name, [name + "Collections", name + "Methods", (hasQueryMethod ? "Base.IBaseExecution<I" + name + ">" : "Base.IBaseQuery<" + name + ", I" + name + "Query>")].join(', '))); | ||
if (baseTypes[1] == "Base.IBaseResult") { | ||
content.push(createInterface("I" + name, [baseTypes[0] + "Collections", name + "Collections", name + "Methods", (hasQueryMethod ? "Base.IBaseExecution<I" + name + ">" : "Base.IBaseQuery<" + name + ", I" + name + "Query>")].join(', '))); | ||
} else { | ||
content.push(createInterface("I" + name, [name + "Collections", name + "Methods", (hasQueryMethod ? "Base.IBaseExecution<I" + name + ">" : "Base.IBaseQuery<" + name + ", I" + name + "Query>")].join(', '))); | ||
} | ||
content.push(createInterface("I" + name + "Collection", "Base.IBaseResults<" + name + ">" + (collectionMethods.length > 0 ? ", " + name + "CollectionMethods" : ""), "\tdone?: (resolve: (value?: Array<" + name + ">) => void) => void;")); | ||
@@ -749,0 +753,0 @@ content.push(createInterface("I" + name + "QueryCollection", "Base.IBaseResults<" + name + "OData>" + (collectionMethods.length > 0 ? ", " + name + "CollectionMethods" : ""), "\tdone?: (resolve: (value?: Array<" + name + "OData>) => void) => void;")); |
{ | ||
"name": "gd-sprest-def", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.", | ||
@@ -5,0 +5,0 @@ "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4265093
48487