@slates-integrations/sharepoint 0.2.0-rc.10 → 0.2.0-rc.13

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/docs/SPEC.md CHANGED
@@ -57,6 +57,8 @@ The SharePoint API in Microsoft Graph supports access to SharePoint sites, lists
57
57
 
58
58
  Lists are the foundation for data storage in SharePoint. You can create lists to store a variety of business data, from a simple customer contact list to a custom business application. When you use columns to define your schema, SharePoint can protect the integrity of your data as well as enable rich indexing, querying, and search capabilities. The API supports full CRUD operations on lists and list items, including defining custom columns.
59
59
 
60
+ SharePoint URL/Hyperlink columns use the SharePoint `URL` field type with `Url` and `Description` values. Microsoft Graph list column metadata can omit the `hyperlinkOrPicture` facet for list columns, so list item updates for Hyperlink object values use SharePoint REST field metadata and `SP.FieldUrlValue` while ordinary scalar field updates continue to use Microsoft Graph.
61
+
60
62
  ### Site Users and Person Fields
61
63
 
62
64
  SharePoint Person/Group list columns store the numeric site-scoped user ID, not the user's Microsoft Entra object ID. The SharePoint REST API exposes site users through `/_api/web/siteusers`, including `GetByEmail(email)`, which returns the numeric `Id`, `LoginName`, `Email`, and `Title` values needed to update Person/Group fields through Graph list item field payloads such as `{fieldName}LookupId`.
package/package.json CHANGED
@@ -4,6 +4,7 @@
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "bunx @vercel/ncc build src/index.ts -o dist -m -s",
7
+ "test": "vitest run --config vitest.config.ts --passWithNoTests",
7
8
  "typecheck": "tsc --noEmit"
8
9
  },
9
10
  "dependencies": {
@@ -14,9 +15,11 @@
14
15
  "zod": "^4.2"
15
16
  },
16
17
  "devDependencies": {
18
+ "@slates/test": "1.0.0-rc.9",
19
+ "vitest": "^3.1.2",
17
20
  "typescript": "^5"
18
21
  },
19
- "version": "0.2.0-rc.10",
22
+ "version": "0.2.0-rc.13",
20
23
  "files": [
21
24
  "dist/**",
22
25
  "docs/**",