@gravity-rail/sdk 0.49.0 → 0.50.0
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/README.md +3 -1
- package/dist/{chat-interaction-D4Edo92W.d.ts → chat-interaction-CmGKKlnL.d.ts} +3 -1
- package/dist/{chat-interaction-e5vHKt5j.d.cts → chat-interaction-THDGF4ko.d.cts} +3 -1
- package/dist/{chunk-XQTPXOBU.js → chunk-QRZVXPR4.js} +1 -1
- package/dist/{chunk-XQTPXOBU.js.map → chunk-QRZVXPR4.js.map} +1 -1
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +3 -3
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +1 -1
- package/dist/{path-DVWLvQS-.d.ts → path-BQgkft9c.d.ts} +1 -1
- package/dist/{path-CQBykGoj.d.cts → path-DZbDwvpS.d.cts} +1 -1
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +3 -0
- package/dist/schemas.d.ts +3 -0
- package/dist/schemas.js +1 -1
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -365,7 +365,9 @@ const operators = await client.getLiveOperators(workspaceId);
|
|
|
365
365
|
|
|
366
366
|
### Sites & Portals
|
|
367
367
|
|
|
368
|
-
Site
|
|
368
|
+
Site settings accept `allowedScopes: ['records:read', 'records:write', 'records:admin']` for Manage Records. This opt-in exposes only record scopes the signed-in Member’s current role already allows, within the Site workspace. It permits existing record administration, including other Members’ records, admin-only fields, and deletion. The default is `[]`; read/write opt-ins remain independent. Unrelated administrative scopes stay suppressed.
|
|
369
|
+
|
|
370
|
+
Site record write methods may return a successful value-free receipt: `fieldValues` is empty and `memberId` / `memberName` / `externalId` are null unless Reading Records and the row read policy both allow values. This includes partial updates, resubmissions and upserts. The write still succeeds; use a permitted record read to load stored values.
|
|
369
371
|
|
|
370
372
|
```typescript
|
|
371
373
|
// Build customer-facing portals with AI chat built in
|
|
@@ -1570,6 +1570,7 @@ type SiteResponseAllowedScopesItem = typeof SiteResponseAllowedScopesItem[keyof
|
|
|
1570
1570
|
declare const SiteResponseAllowedScopesItem: {
|
|
1571
1571
|
readonly 'records:read': "records:read";
|
|
1572
1572
|
readonly 'records:write': "records:write";
|
|
1573
|
+
readonly 'records:admin': "records:admin";
|
|
1573
1574
|
};
|
|
1574
1575
|
type SiteResponseResolvedThemeSettings = {
|
|
1575
1576
|
[key: string]: unknown;
|
|
@@ -1780,6 +1781,7 @@ type UnauthorizedSiteResponseAllowedScopesItem = typeof UnauthorizedSiteResponse
|
|
|
1780
1781
|
declare const UnauthorizedSiteResponseAllowedScopesItem: {
|
|
1781
1782
|
readonly 'records:read': "records:read";
|
|
1782
1783
|
readonly 'records:write': "records:write";
|
|
1784
|
+
readonly 'records:admin': "records:admin";
|
|
1783
1785
|
};
|
|
1784
1786
|
type UnauthorizedSiteResponseResolvedThemeSettings = {
|
|
1785
1787
|
[key: string]: unknown;
|
|
@@ -15587,7 +15589,7 @@ interface SiteFormData {
|
|
|
15587
15589
|
isReseller?: boolean;
|
|
15588
15590
|
isPublic?: boolean;
|
|
15589
15591
|
allowAccountLogin?: boolean;
|
|
15590
|
-
allowedScopes?: ('records:read' | 'records:write')[];
|
|
15592
|
+
allowedScopes?: ('records:read' | 'records:write' | 'records:admin')[];
|
|
15591
15593
|
authenticationMethods?: 'name_dob'[];
|
|
15592
15594
|
defaultWorkflowId?: number | null;
|
|
15593
15595
|
homePageId?: number | null;
|
|
@@ -1570,6 +1570,7 @@ type SiteResponseAllowedScopesItem = typeof SiteResponseAllowedScopesItem[keyof
|
|
|
1570
1570
|
declare const SiteResponseAllowedScopesItem: {
|
|
1571
1571
|
readonly 'records:read': "records:read";
|
|
1572
1572
|
readonly 'records:write': "records:write";
|
|
1573
|
+
readonly 'records:admin': "records:admin";
|
|
1573
1574
|
};
|
|
1574
1575
|
type SiteResponseResolvedThemeSettings = {
|
|
1575
1576
|
[key: string]: unknown;
|
|
@@ -1780,6 +1781,7 @@ type UnauthorizedSiteResponseAllowedScopesItem = typeof UnauthorizedSiteResponse
|
|
|
1780
1781
|
declare const UnauthorizedSiteResponseAllowedScopesItem: {
|
|
1781
1782
|
readonly 'records:read': "records:read";
|
|
1782
1783
|
readonly 'records:write': "records:write";
|
|
1784
|
+
readonly 'records:admin': "records:admin";
|
|
1783
1785
|
};
|
|
1784
1786
|
type UnauthorizedSiteResponseResolvedThemeSettings = {
|
|
1785
1787
|
[key: string]: unknown;
|
|
@@ -15587,7 +15589,7 @@ interface SiteFormData {
|
|
|
15587
15589
|
isReseller?: boolean;
|
|
15588
15590
|
isPublic?: boolean;
|
|
15589
15591
|
allowAccountLogin?: boolean;
|
|
15590
|
-
allowedScopes?: ('records:read' | 'records:write')[];
|
|
15592
|
+
allowedScopes?: ('records:read' | 'records:write' | 'records:admin')[];
|
|
15591
15593
|
authenticationMethods?: 'name_dob'[];
|
|
15592
15594
|
defaultWorkflowId?: number | null;
|
|
15593
15595
|
homePageId?: number | null;
|
|
@@ -17123,4 +17123,4 @@ export {
|
|
|
17123
17123
|
pathDraftFromStorage,
|
|
17124
17124
|
pathDraftToStorage
|
|
17125
17125
|
};
|
|
17126
|
-
//# sourceMappingURL=chunk-
|
|
17126
|
+
//# sourceMappingURL=chunk-QRZVXPR4.js.map
|