gd-sprest 7.3.2 → 7.3.4
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/@types/helper/spCfg.d.ts +3 -0
- package/build/helper/spCfg.js +1 -1
- package/build/rest.js +1 -1
- package/dist/gd-sprest.d.ts +3 -0
- package/dist/gd-sprest.js +1 -1
- package/dist/gd-sprest.min.js +1 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +4 -4
package/@types/helper/spCfg.d.ts
CHANGED
package/build/helper/spCfg.js
CHANGED
|
@@ -339,7 +339,7 @@ exports.SPConfig = function (cfg, webUrl) {
|
|
|
339
339
|
// Update the list name and remove spaces
|
|
340
340
|
var listInfo = cfgList.ListInformation;
|
|
341
341
|
var listName = listInfo.Title;
|
|
342
|
-
listInfo.Title = listName.replace(/ /g, "");
|
|
342
|
+
listInfo.Title = cfgList.ListUrlName || listName.replace(/ /g, "");
|
|
343
343
|
// Add the list
|
|
344
344
|
lists.add(listInfo)
|
|
345
345
|
// Execute the request
|
package/build/rest.js
CHANGED
package/dist/gd-sprest.d.ts
CHANGED
|
@@ -3500,6 +3500,9 @@ declare module 'gd-sprest/helper/spCfg' {
|
|
|
3500
3500
|
/** The list creation information. */
|
|
3501
3501
|
ListInformation: ListProps;
|
|
3502
3502
|
|
|
3503
|
+
/** The list url name. */
|
|
3504
|
+
ListUrlName?: string;
|
|
3505
|
+
|
|
3503
3506
|
/** The title default value. */
|
|
3504
3507
|
TitleFieldDefaultValue?: string;
|
|
3505
3508
|
|