@riverbankcms/sdk 0.60.9 → 0.60.12
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/dist/_dts/api/src/accessAdmin.d.ts +102 -0
- package/dist/_dts/api/src/common/envelope.d.ts +1 -1
- package/dist/_dts/api/src/domains.d.ts +14 -13
- package/dist/_dts/api/src/endpoints.d.ts +32 -0
- package/dist/_dts/api/src/index.d.ts +4 -3
- package/dist/_dts/api/src/navigation/linkValue.d.ts +15 -2
- package/dist/_dts/api/src/navigation.d.ts +2 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +15 -1
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/types/link.d.ts +7 -1
- package/dist/_dts/core/src/participant-identity.d.ts +72 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +96 -60
- package/dist/_dts/db/src/schemas/forms.d.ts +135 -24
- package/dist/_dts/sdk/src/contracts/content.d.ts +7 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/classNames.d.ts +21 -0
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/types.d.ts +1 -0
- package/dist/cli/index.mjs +188 -9
- package/dist/client/bookings.mjs +808 -149
- package/dist/client/client.mjs +553 -130
- package/dist/client/hooks.mjs +119 -0
- package/dist/client/rendering/client.mjs +412 -113
- package/dist/client/rendering/islands.mjs +4605 -4361
- package/dist/client/rendering.mjs +580 -157
- package/dist/preview-next/before-render.mjs +57 -0
- package/dist/preview-next/client/runtime.mjs +580 -151
- package/dist/preview-next/middleware.mjs +57 -0
- package/dist/server/components.mjs +293 -45
- package/dist/server/config-validation.mjs +119 -0
- package/dist/server/config.mjs +119 -0
- package/dist/server/data.mjs +119 -0
- package/dist/server/index.mjs +120 -1
- package/dist/server/next.mjs +300 -52
- package/dist/server/page-converter.mjs +62 -0
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +293 -45
- package/dist/server/rendering.mjs +293 -45
- package/dist/server/routing.mjs +159 -29
- package/dist/server/server.mjs +120 -1
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/themedButtonClass.d.ts +0 -11
package/dist/client/hooks.mjs
CHANGED
|
@@ -2069,6 +2069,63 @@ var ENDPOINT_DEFINITIONS = {
|
|
|
2069
2069
|
auth: "user",
|
|
2070
2070
|
responseKind: "json"
|
|
2071
2071
|
},
|
|
2072
|
+
updateRegisteredDomainContact: {
|
|
2073
|
+
path: "/domains/{domainId}/registrar/contact",
|
|
2074
|
+
method: "POST",
|
|
2075
|
+
errors: [
|
|
2076
|
+
"validation:invalid_input",
|
|
2077
|
+
"resource:not_found",
|
|
2078
|
+
"auth:forbidden",
|
|
2079
|
+
"external:service_error",
|
|
2080
|
+
"external:registrar_orphaned_contact_profile",
|
|
2081
|
+
"server:internal_error"
|
|
2082
|
+
],
|
|
2083
|
+
tags: ["domains", "domain-{domainId}", "domain-registrar"],
|
|
2084
|
+
auth: "user",
|
|
2085
|
+
responseKind: "json"
|
|
2086
|
+
},
|
|
2087
|
+
setRegisteredDomainPrivacy: {
|
|
2088
|
+
path: "/domains/{domainId}/registrar/privacy",
|
|
2089
|
+
method: "POST",
|
|
2090
|
+
errors: [
|
|
2091
|
+
"validation:invalid_input",
|
|
2092
|
+
"resource:not_found",
|
|
2093
|
+
"auth:forbidden",
|
|
2094
|
+
"external:service_error",
|
|
2095
|
+
"server:internal_error"
|
|
2096
|
+
],
|
|
2097
|
+
tags: ["domains", "domain-{domainId}", "domain-registrar"],
|
|
2098
|
+
auth: "user",
|
|
2099
|
+
responseKind: "json"
|
|
2100
|
+
},
|
|
2101
|
+
setRegisteredDomainAutoRenew: {
|
|
2102
|
+
path: "/domains/{domainId}/registrar/auto-renew",
|
|
2103
|
+
method: "POST",
|
|
2104
|
+
errors: [
|
|
2105
|
+
"validation:invalid_input",
|
|
2106
|
+
"resource:not_found",
|
|
2107
|
+
"auth:forbidden",
|
|
2108
|
+
"external:service_error",
|
|
2109
|
+
"server:internal_error"
|
|
2110
|
+
],
|
|
2111
|
+
tags: ["domains", "domain-{domainId}", "domain-registrar"],
|
|
2112
|
+
auth: "user",
|
|
2113
|
+
responseKind: "json"
|
|
2114
|
+
},
|
|
2115
|
+
getRegisteredDomainRenewalPosture: {
|
|
2116
|
+
path: "/domains/{domainId}/registrar/renewal",
|
|
2117
|
+
method: "GET",
|
|
2118
|
+
errors: [
|
|
2119
|
+
"validation:invalid_input",
|
|
2120
|
+
"resource:not_found",
|
|
2121
|
+
"auth:forbidden",
|
|
2122
|
+
"external:service_error",
|
|
2123
|
+
"server:internal_error"
|
|
2124
|
+
],
|
|
2125
|
+
tags: ["domains", "domain-{domainId}", "domain-registrar"],
|
|
2126
|
+
auth: "user",
|
|
2127
|
+
responseKind: "json"
|
|
2128
|
+
},
|
|
2072
2129
|
retryDomainVercel: {
|
|
2073
2130
|
path: "/domains/{domainId}/vercel",
|
|
2074
2131
|
method: "POST",
|
|
@@ -5776,6 +5833,68 @@ function toLocationCoordinates(value) {
|
|
|
5776
5833
|
};
|
|
5777
5834
|
}
|
|
5778
5835
|
|
|
5836
|
+
// ../core/src/participant-identity.ts
|
|
5837
|
+
var PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD = {
|
|
5838
|
+
participant_id: {
|
|
5839
|
+
field: "participant_id",
|
|
5840
|
+
role: "canonical_link",
|
|
5841
|
+
canonicalSource: "booking_participants.id",
|
|
5842
|
+
contractAction: "tighten_in_839",
|
|
5843
|
+
notes: "Canonical person-subject link for a participation. #839 should enforce this once preflight is clean."
|
|
5844
|
+
},
|
|
5845
|
+
display_name: {
|
|
5846
|
+
field: "display_name",
|
|
5847
|
+
role: "contextual_snapshot",
|
|
5848
|
+
canonicalSource: "booking_participants.display_name for live identity",
|
|
5849
|
+
contractAction: "retain_as_snapshot",
|
|
5850
|
+
notes: "Participation-time display context. Readers must not treat it as mutable live participant identity."
|
|
5851
|
+
},
|
|
5852
|
+
email: {
|
|
5853
|
+
field: "email",
|
|
5854
|
+
role: "contextual_snapshot",
|
|
5855
|
+
canonicalSource: "booking_participants.email_normalized for live email identity",
|
|
5856
|
+
contractAction: "retain_as_snapshot",
|
|
5857
|
+
notes: "Participation-time contact snapshot used for notifications/context. Live identity belongs to the participant row."
|
|
5858
|
+
},
|
|
5859
|
+
email_normalized: {
|
|
5860
|
+
field: "email_normalized",
|
|
5861
|
+
role: "contextual_snapshot",
|
|
5862
|
+
canonicalSource: "booking_participants.email_normalized for live email identity",
|
|
5863
|
+
contractAction: "retain_as_snapshot",
|
|
5864
|
+
notes: "Normalized snapshot/dedupe helper for the participation slot, not live person authority."
|
|
5865
|
+
},
|
|
5866
|
+
phone: {
|
|
5867
|
+
field: "phone",
|
|
5868
|
+
role: "contextual_snapshot",
|
|
5869
|
+
canonicalSource: "booking_participants.phone for live phone identity",
|
|
5870
|
+
contractAction: "retain_as_snapshot",
|
|
5871
|
+
notes: "Participation-time phone context. Live identity belongs to the participant row."
|
|
5872
|
+
},
|
|
5873
|
+
identity_state: {
|
|
5874
|
+
field: "identity_state",
|
|
5875
|
+
role: "materialization_state",
|
|
5876
|
+
canonicalSource: "booking_participants.identity_state for subject state",
|
|
5877
|
+
contractAction: "review_for_later_contract_cleanup",
|
|
5878
|
+
notes: "Slot materialization state: booker_supplied, contactable, portal_claimed, or staff_verified."
|
|
5879
|
+
},
|
|
5880
|
+
event_attendee_guest_id: {
|
|
5881
|
+
field: "event_attendee_guest_id",
|
|
5882
|
+
role: "compatibility_projection",
|
|
5883
|
+
canonicalSource: "canonical participant slot plus #838 event guest compatibility projection",
|
|
5884
|
+
contractAction: "retain_as_projection",
|
|
5885
|
+
notes: "Compatibility FK for event guest read models. It is not person identity authority."
|
|
5886
|
+
}
|
|
5887
|
+
};
|
|
5888
|
+
var PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATIONS = [
|
|
5889
|
+
PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.participant_id,
|
|
5890
|
+
PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.display_name,
|
|
5891
|
+
PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.email,
|
|
5892
|
+
PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.email_normalized,
|
|
5893
|
+
PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.phone,
|
|
5894
|
+
PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.identity_state,
|
|
5895
|
+
PARTICIPANT_PARTICIPATION_IDENTITY_FIELD_CLASSIFICATION_BY_FIELD.event_attendee_guest_id
|
|
5896
|
+
];
|
|
5897
|
+
|
|
5779
5898
|
// ../media-core/src/transformRect.ts
|
|
5780
5899
|
function isValidTransformRectStructure(rect) {
|
|
5781
5900
|
if (!Array.isArray(rect) || rect.length !== 4) return false;
|