@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
24 lines • 2.08 kB
JavaScript
// Originally copied from webparts\genericWebpart\components\Contents\Fields\fieldsFunctions.tsx
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ootbFields = exports.SystemFields = exports.SystemFieldsPublishing = exports.OOTBFieldsFiles = exports.OOTBFieldsVersions = void 0;
exports.OOTBFieldsVersions = ['Author', 'Editor', 'Created_x0020_Date', 'Last_x0020_Modified', '_UIVersion', 'Created', 'Modified',];
exports.OOTBFieldsFiles = ['FileLeafRef', 'LinkFilenameNoMenu', 'LinkFilename', 'LinkFilename2', 'SMTotalSize', 'FileRef',];
exports.SystemFieldsPublishing = ['_ModerationStatus', '_ModerationComments',];
exports.SystemFields = __spreadArray(__spreadArray(['AccessPolicy'], exports.SystemFieldsPublishing, true), ['SyncClientId', '_CommentCount', '_CommentFlags', 'ContentTypeId', 'ContentVersion',
'_CopySource', '_EditMenuTableEnd', '_EditMenuTableStart', '_EditMenuTableStart2', 'PermMask', 'EncodedAbsUrl', 'BaseName', 'File_x0020_Type',
'GUID', '_HasCopyDestinations', 'HTML_x0020_File_x0020_Type', 'InstanceID', '_IsCurrentVersion', 'FSObjType', 'SMLastModifiedDate', '_Level',
'NoExecute', 'owshiddenversion', 'FileDirRef', 'ProgId', 'MetaInfo', 'Restricted', 'ScopeId', 'SelectTitle',
'ServerUrl', 'SortBehavior', 'SMTotalFileCount', 'SMTotalFileStreamSize', '_VirusInfo', '_VirusStatus', '_VirusVendorID', 'WorkflowInstanceID',
'WorkflowVersion', '', '', '', '', '', '', '',], false);
exports.ootbFields = __spreadArray(__spreadArray(__spreadArray([], exports.OOTBFieldsVersions, true), exports.OOTBFieldsFiles, true), ['LinkTitle2', 'UniqueId', 'Title',], false);
//# sourceMappingURL=constants.js.map
;