@rippling/rippling-sdk 0.2.0-alpha.48 → 0.2.0-alpha.49
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/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/examples/manifest/dental-practice-management/dental-practice-management.ts +18 -41
- package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +31 -0
- package/examples/manifest/dental-practice-management/functions/operatory-list.ts +31 -0
- package/examples/manifest/dental-practice-management/functions/patient-list.ts +31 -0
- package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +31 -0
- package/examples/manifest/dental-practice-management/manifest.json +22 -19
- package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +3 -0
- package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +31 -0
- package/examples/manifest/gym-membership-management/functions/member-list.ts +31 -0
- package/examples/manifest/gym-membership-management/functions/today-schedule.ts +31 -0
- package/examples/manifest/gym-membership-management/functions/trainer-list.ts +31 -0
- package/examples/manifest/gym-membership-management/gym-membership-management.ts +28 -41
- package/examples/manifest/gym-membership-management/manifest.json +22 -19
- package/examples/manifest/simple-todo-app/functions/todo-list.ts +31 -0
- package/examples/manifest/simple-todo-app/manifest.json +429 -0
- package/examples/manifest/simple-todo-app/simple-todo-app.ts +167 -0
- package/examples/sdui/sdui-crud-todo/rippling-function.ts +14 -23
- package/examples/sdui/sdui-showcase/rippling-function.ts +8 -23
- package/examples/sdui/sdui-tab-multi-view/rippling-function.ts +276 -295
- package/examples/sdui/vote/rippling-function.ts +10 -25
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/tslib.js +4 -0
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/lib/manifest/_existing-component-fields.d.mts +1 -0
- package/lib/manifest/_existing-component-fields.d.mts.map +1 -1
- package/lib/manifest/_existing-component-fields.d.ts +1 -0
- package/lib/manifest/_existing-component-fields.d.ts.map +1 -1
- package/lib/manifest/_existing-component-fields.js +5 -0
- package/lib/manifest/_existing-component-fields.js.map +1 -1
- package/lib/manifest/_existing-component-fields.mjs +4 -0
- package/lib/manifest/_existing-component-fields.mjs.map +1 -1
- package/lib/manifest/app.d.mts +2 -2
- package/lib/manifest/app.d.mts.map +1 -1
- package/lib/manifest/app.d.ts +2 -2
- package/lib/manifest/app.d.ts.map +1 -1
- package/lib/manifest/app.js +2 -3
- package/lib/manifest/app.js.map +1 -1
- package/lib/manifest/app.mjs +3 -4
- package/lib/manifest/app.mjs.map +1 -1
- package/lib/manifest/category.d.mts.map +1 -1
- package/lib/manifest/category.d.ts.map +1 -1
- package/lib/manifest/category.js +1 -3
- package/lib/manifest/category.js.map +1 -1
- package/lib/manifest/category.mjs +2 -4
- package/lib/manifest/category.mjs.map +1 -1
- package/lib/manifest/custom-object-field-section.d.mts.map +1 -1
- package/lib/manifest/custom-object-field-section.d.ts.map +1 -1
- package/lib/manifest/custom-object-field-section.mjs.map +1 -1
- package/lib/manifest/custom-object-page-layout.d.mts.map +1 -1
- package/lib/manifest/custom-object-page-layout.d.ts.map +1 -1
- package/lib/manifest/custom-object-page-layout.mjs.map +1 -1
- package/lib/manifest/custom-object.d.mts +2 -2
- package/lib/manifest/custom-object.d.mts.map +1 -1
- package/lib/manifest/custom-object.d.ts +2 -2
- package/lib/manifest/custom-object.d.ts.map +1 -1
- package/lib/manifest/custom-object.js +2 -3
- package/lib/manifest/custom-object.js.map +1 -1
- package/lib/manifest/custom-object.mjs +3 -4
- package/lib/manifest/custom-object.mjs.map +1 -1
- package/lib/manifest/existing-manifest-context.d.mts.map +1 -1
- package/lib/manifest/existing-manifest-context.d.ts.map +1 -1
- package/lib/manifest/existing-manifest-context.js +1 -3
- package/lib/manifest/existing-manifest-context.js.map +1 -1
- package/lib/manifest/existing-manifest-context.mjs +2 -4
- package/lib/manifest/existing-manifest-context.mjs.map +1 -1
- package/lib/manifest/field.d.mts +2 -2
- package/lib/manifest/field.d.mts.map +1 -1
- package/lib/manifest/field.d.ts +2 -2
- package/lib/manifest/field.d.ts.map +1 -1
- package/lib/manifest/field.js +2 -3
- package/lib/manifest/field.js.map +1 -1
- package/lib/manifest/field.mjs +3 -4
- package/lib/manifest/field.mjs.map +1 -1
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/list-view.d.mts +2 -2
- package/lib/manifest/list-view.d.mts.map +1 -1
- package/lib/manifest/list-view.d.ts +2 -2
- package/lib/manifest/list-view.d.ts.map +1 -1
- package/lib/manifest/list-view.js +2 -4
- package/lib/manifest/list-view.js.map +1 -1
- package/lib/manifest/list-view.mjs +3 -5
- package/lib/manifest/list-view.mjs.map +1 -1
- package/lib/manifest/manifest-builder.d.mts +3 -3
- package/lib/manifest/manifest-builder.d.mts.map +1 -1
- package/lib/manifest/manifest-builder.d.ts +3 -3
- package/lib/manifest/manifest-builder.d.ts.map +1 -1
- package/lib/manifest/manifest-builder.js +3 -5
- package/lib/manifest/manifest-builder.js.map +1 -1
- package/lib/manifest/manifest-builder.mjs +3 -5
- package/lib/manifest/manifest-builder.mjs.map +1 -1
- package/lib/manifest/manifest-function.d.mts +4 -5
- package/lib/manifest/manifest-function.d.mts.map +1 -1
- package/lib/manifest/manifest-function.d.ts +4 -5
- package/lib/manifest/manifest-function.d.ts.map +1 -1
- package/lib/manifest/manifest-function.js +5 -8
- package/lib/manifest/manifest-function.js.map +1 -1
- package/lib/manifest/manifest-function.mjs +6 -9
- package/lib/manifest/manifest-function.mjs.map +1 -1
- package/lib/manifest/rule.d.mts +2 -2
- package/lib/manifest/rule.d.mts.map +1 -1
- package/lib/manifest/rule.d.ts +2 -2
- package/lib/manifest/rule.d.ts.map +1 -1
- package/lib/manifest/rule.js +2 -4
- package/lib/manifest/rule.js.map +1 -1
- package/lib/manifest/rule.mjs +3 -5
- package/lib/manifest/rule.mjs.map +1 -1
- package/lib/manifest/sdui-page.d.mts +2 -2
- package/lib/manifest/sdui-page.d.mts.map +1 -1
- package/lib/manifest/sdui-page.d.ts +2 -2
- package/lib/manifest/sdui-page.d.ts.map +1 -1
- package/lib/manifest/sdui-page.js +2 -4
- package/lib/manifest/sdui-page.js.map +1 -1
- package/lib/manifest/sdui-page.mjs +3 -5
- package/lib/manifest/sdui-page.mjs.map +1 -1
- package/lib/manifest/validation.d.mts.map +1 -1
- package/lib/manifest/validation.d.ts.map +1 -1
- package/lib/manifest/validation.mjs.map +1 -1
- package/lib/manifest.d.mts +2 -0
- package/lib/manifest.d.mts.map +1 -0
- package/lib/manifest.d.ts +2 -0
- package/lib/manifest.d.ts.map +1 -0
- package/lib/manifest.js +5 -0
- package/lib/manifest.js.map +1 -0
- package/lib/manifest.mjs +2 -0
- package/lib/manifest.mjs.map +1 -0
- package/lib/sdui/actions.mjs.map +1 -1
- package/lib/sdui/component.d.mts.map +1 -1
- package/lib/sdui/component.d.ts.map +1 -1
- package/lib/sdui/components.d.mts.map +1 -1
- package/lib/sdui/components.d.ts.map +1 -1
- package/lib/sdui/conditions.mjs.map +1 -1
- package/lib/sdui/directives.d.mts.map +1 -1
- package/lib/sdui/directives.d.ts.map +1 -1
- package/lib/sdui/directives.mjs.map +1 -1
- package/lib/sdui/index.d.mts.map +1 -1
- package/lib/sdui/index.d.ts.map +1 -1
- package/lib/sdui/index.mjs +11 -0
- package/lib/sdui/index.mjs.map +1 -1
- package/lib/sdui/props.d.mts.map +1 -1
- package/lib/sdui/props.d.ts.map +1 -1
- package/lib/sdui/props.mjs.map +1 -1
- package/lib/sdui/render.d.mts.map +1 -1
- package/lib/sdui/render.d.ts.map +1 -1
- package/lib/sdui.d.mts +3 -0
- package/lib/sdui.d.mts.map +1 -0
- package/lib/sdui.d.ts +3 -0
- package/lib/sdui.d.ts.map +1 -0
- package/lib/sdui.js +8 -0
- package/lib/sdui.js.map +1 -0
- package/lib/sdui.mjs +3 -0
- package/lib/sdui.mjs.map +1 -0
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/business-partner-groups.d.mts.map +1 -1
- package/resources/business-partner-groups.d.ts.map +1 -1
- package/resources/business-partner-groups.mjs.map +1 -1
- package/resources/business-partners.d.mts.map +1 -1
- package/resources/business-partners.d.ts.map +1 -1
- package/resources/business-partners.mjs.map +1 -1
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/candidates.d.mts.map +1 -1
- package/resources/candidates.d.ts.map +1 -1
- package/resources/candidates.mjs.map +1 -1
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.mjs.map +1 -1
- package/resources/company-legal-entities.d.mts.map +1 -1
- package/resources/company-legal-entities.d.ts.map +1 -1
- package/resources/company-legal-entities.mjs.map +1 -1
- package/resources/company-legal-entity-workers.d.mts.map +1 -1
- package/resources/company-legal-entity-workers.d.ts.map +1 -1
- package/resources/company-legal-entity-workers.mjs.map +1 -1
- package/resources/compensation-bands-details.d.mts.map +1 -1
- package/resources/compensation-bands-details.d.ts.map +1 -1
- package/resources/compensation-bands-details.mjs.map +1 -1
- package/resources/compensations.d.mts.map +1 -1
- package/resources/compensations.d.ts.map +1 -1
- package/resources/compensations.mjs.map +1 -1
- package/resources/custom-apps.d.mts.map +1 -1
- package/resources/custom-apps.d.ts.map +1 -1
- package/resources/custom-apps.mjs.map +1 -1
- package/resources/custom-fields.d.mts.map +1 -1
- package/resources/custom-fields.d.ts.map +1 -1
- package/resources/custom-fields.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects.mjs.map +1 -1
- package/resources/custom-pages.d.mts.map +1 -1
- package/resources/custom-pages.d.ts.map +1 -1
- package/resources/custom-pages.mjs.map +1 -1
- package/resources/custom-settings.d.mts.map +1 -1
- package/resources/custom-settings.d.ts.map +1 -1
- package/resources/custom-settings.mjs.map +1 -1
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts.map +1 -1
- package/resources/departments.mjs.map +1 -1
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/draft-hires.mjs.map +1 -1
- package/resources/earning-types.d.mts.map +1 -1
- package/resources/earning-types.d.ts.map +1 -1
- package/resources/earning-types.mjs.map +1 -1
- package/resources/earnings-inputs.d.mts.map +1 -1
- package/resources/earnings-inputs.d.ts.map +1 -1
- package/resources/earnings-inputs.mjs.map +1 -1
- package/resources/employment-types.d.mts.map +1 -1
- package/resources/employment-types.d.ts.map +1 -1
- package/resources/employment-types.mjs.map +1 -1
- package/resources/entitlements.d.mts.map +1 -1
- package/resources/entitlements.d.ts.map +1 -1
- package/resources/entitlements.mjs.map +1 -1
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts.map +1 -1
- package/resources/files.mjs.map +1 -1
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.mjs.map +1 -1
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/functions.d.mts.map +1 -1
- package/resources/functions.d.ts.map +1 -1
- package/resources/functions.mjs.map +1 -1
- package/resources/headcount-positions.d.mts.map +1 -1
- package/resources/headcount-positions.d.ts.map +1 -1
- package/resources/headcount-positions.mjs.map +1 -1
- package/resources/headcount-priorities.d.mts.map +1 -1
- package/resources/headcount-priorities.d.ts.map +1 -1
- package/resources/headcount-priorities.mjs.map +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-dimensions.mjs.map +1 -1
- package/resources/job-functions.d.mts.map +1 -1
- package/resources/job-functions.d.ts.map +1 -1
- package/resources/job-functions.mjs.map +1 -1
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
- package/resources/job-pay-rate-exceptions.mjs.map +1 -1
- package/resources/job-requisitions-write.d.mts.map +1 -1
- package/resources/job-requisitions-write.d.ts.map +1 -1
- package/resources/job-requisitions-write.mjs.map +1 -1
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/job-requisitions.mjs.map +1 -1
- package/resources/kiosk-badges.d.mts.map +1 -1
- package/resources/kiosk-badges.d.ts.map +1 -1
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.d.mts.map +1 -1
- package/resources/leave-accruals.d.ts.map +1 -1
- package/resources/leave-accruals.mjs.map +1 -1
- package/resources/leave-balances.d.mts.map +1 -1
- package/resources/leave-balances.d.ts.map +1 -1
- package/resources/leave-balances.mjs.map +1 -1
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/leave-types.d.mts.map +1 -1
- package/resources/leave-types.d.ts.map +1 -1
- package/resources/leave-types.mjs.map +1 -1
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/legal-entities.mjs.map +1 -1
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts.map +1 -1
- package/resources/levels.mjs.map +1 -1
- package/resources/location-factors.d.mts.map +1 -1
- package/resources/location-factors.d.ts.map +1 -1
- package/resources/location-factors.mjs.map +1 -1
- package/resources/metadata/components.d.mts.map +1 -1
- package/resources/metadata/components.d.ts.map +1 -1
- package/resources/metadata/components.mjs.map +1 -1
- package/resources/metadata/index.d.mts.map +1 -1
- package/resources/metadata/index.d.ts.map +1 -1
- package/resources/metadata/index.mjs.map +1 -1
- package/resources/metadata/metadata.d.mts.map +1 -1
- package/resources/metadata/metadata.d.ts.map +1 -1
- package/resources/metadata/metadata.mjs.map +1 -1
- package/resources/metadata/summary.d.mts.map +1 -1
- package/resources/metadata/summary.d.ts.map +1 -1
- package/resources/metadata/summary.mjs.map +1 -1
- package/resources/metadata/types.d.mts.map +1 -1
- package/resources/metadata/types.d.ts.map +1 -1
- package/resources/metadata/types.mjs.map +1 -1
- package/resources/metadata.d.mts.map +1 -1
- package/resources/metadata.d.ts.map +1 -1
- package/resources/metadata.mjs.map +1 -1
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.mjs.map +1 -1
- package/resources/payroll-runs/index.d.mts.map +1 -1
- package/resources/payroll-runs/index.d.ts.map +1 -1
- package/resources/payroll-runs/index.mjs.map +1 -1
- package/resources/payroll-runs/payroll-runs.d.mts.map +1 -1
- package/resources/payroll-runs/payroll-runs.d.ts.map +1 -1
- package/resources/payroll-runs/payroll-runs.mjs.map +1 -1
- package/resources/payroll-runs/worker-payroll-records.d.mts.map +1 -1
- package/resources/payroll-runs/worker-payroll-records.d.ts.map +1 -1
- package/resources/payroll-runs/worker-payroll-records.mjs.map +1 -1
- package/resources/payroll-runs.d.mts.map +1 -1
- package/resources/payroll-runs.d.ts.map +1 -1
- package/resources/payroll-runs.mjs.map +1 -1
- package/resources/platform-capabilities.d.mts.map +1 -1
- package/resources/platform-capabilities.d.ts.map +1 -1
- package/resources/platform-capabilities.mjs.map +1 -1
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/report-runs.mjs.map +1 -1
- package/resources/reports/available-filters.d.mts.map +1 -1
- package/resources/reports/available-filters.d.ts.map +1 -1
- package/resources/reports/available-filters.mjs.map +1 -1
- package/resources/reports/index.d.mts.map +1 -1
- package/resources/reports/index.d.ts.map +1 -1
- package/resources/reports/index.mjs.map +1 -1
- package/resources/reports/reports.d.mts.map +1 -1
- package/resources/reports/reports.d.ts.map +1 -1
- package/resources/reports/reports.mjs.map +1 -1
- package/resources/reports.d.mts.map +1 -1
- package/resources/reports.d.ts.map +1 -1
- package/resources/reports.mjs.map +1 -1
- package/resources/schedules.d.mts.map +1 -1
- package/resources/schedules.d.ts.map +1 -1
- package/resources/schedules.mjs.map +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/shift-assignments.d.mts.map +1 -1
- package/resources/shift-assignments.d.ts.map +1 -1
- package/resources/shift-assignments.mjs.map +1 -1
- package/resources/shift-inputs.d.mts.map +1 -1
- package/resources/shift-inputs.d.ts.map +1 -1
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/sso-me.mjs.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/index.d.mts.map +1 -1
- package/resources/supergroups/index.d.ts.map +1 -1
- package/resources/supergroups/index.mjs.map +1 -1
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/supergroups/supergroups.d.mts.map +1 -1
- package/resources/supergroups/supergroups.d.ts.map +1 -1
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/supergroups.d.mts.map +1 -1
- package/resources/supergroups.d.ts.map +1 -1
- package/resources/supergroups.mjs.map +1 -1
- package/resources/teams.d.mts.map +1 -1
- package/resources/teams.d.ts.map +1 -1
- package/resources/teams.mjs.map +1 -1
- package/resources/time-cards.d.mts.map +1 -1
- package/resources/time-cards.d.ts.map +1 -1
- package/resources/time-cards.mjs.map +1 -1
- package/resources/time-entries.d.mts.map +1 -1
- package/resources/time-entries.d.ts.map +1 -1
- package/resources/time-entries.mjs.map +1 -1
- package/resources/titles.d.mts.map +1 -1
- package/resources/titles.d.ts.map +1 -1
- package/resources/titles.mjs.map +1 -1
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts.map +1 -1
- package/resources/tracks.mjs.map +1 -1
- package/resources/unassigned-shifts.d.mts.map +1 -1
- package/resources/unassigned-shifts.d.ts.map +1 -1
- package/resources/unassigned-shifts.mjs.map +1 -1
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/unassignedshifts.mjs.map +1 -1
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts.map +1 -1
- package/resources/users.mjs.map +1 -1
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/work-locations.mjs.map +1 -1
- package/resources/workers.d.mts +1 -1
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +1 -1
- package/resources/workers.d.ts.map +1 -1
- package/resources/workers.js +1 -1
- package/resources/workers.mjs +1 -1
- package/resources/workers.mjs.map +1 -1
- package/resources/workflow-action-executions.d.mts.map +1 -1
- package/resources/workflow-action-executions.d.ts.map +1 -1
- package/resources/workflow-action-executions.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/lib/manifest/_existing-component-fields.ts +9 -0
- package/src/lib/manifest/app.ts +6 -6
- package/src/lib/manifest/category.ts +2 -4
- package/src/lib/manifest/custom-object.ts +6 -6
- package/src/lib/manifest/existing-manifest-context.ts +6 -4
- package/src/lib/manifest/field.ts +10 -6
- package/src/lib/manifest/list-view.ts +6 -5
- package/src/lib/manifest/manifest-builder.ts +5 -7
- package/src/lib/manifest/manifest-function.ts +8 -9
- package/src/lib/manifest/rule.ts +6 -6
- package/src/lib/manifest/sdui-page.ts +5 -7
- package/src/lib/manifest.ts +1 -0
- package/src/lib/sdui.ts +2 -0
- package/src/resources/workers.ts +1 -1
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/examples/sdui/sdui-crud-todo/sdui-crud-todo.ts +0 -282
- package/examples/sdui/sdui-showcase/sdui-showcase.ts +0 -346
- package/examples/sdui/sdui-tab-multi-view/sdui-tab-multi-view.ts +0 -914
- package/examples/sdui/vote/vote.ts +0 -294
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
* > examples/manifest/dental-practice-management/manifest.json
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
import * as fs from 'node:fs';
|
|
16
|
+
import * as path from 'node:path';
|
|
15
17
|
import {
|
|
16
18
|
App,
|
|
17
19
|
Category,
|
|
@@ -73,6 +75,7 @@ const patientClinicalSection = new CustomObjectFieldSection(patientObj, {
|
|
|
73
75
|
const patientNameField = new TextField(patientObj, {
|
|
74
76
|
apiName: 'legal_name__c',
|
|
75
77
|
displayName: 'Full legal name',
|
|
78
|
+
description: 'Full legal name field',
|
|
76
79
|
required: true,
|
|
77
80
|
maxLength: 160,
|
|
78
81
|
section: patientIdentitySection,
|
|
@@ -81,18 +84,21 @@ const patientNameField = new TextField(patientObj, {
|
|
|
81
84
|
const patientDobField = new DateField(patientObj, {
|
|
82
85
|
apiName: 'date_of_birth__c',
|
|
83
86
|
displayName: 'Date of birth',
|
|
87
|
+
description: 'Date of birth field',
|
|
84
88
|
section: patientIdentitySection,
|
|
85
89
|
});
|
|
86
90
|
|
|
87
91
|
const patientPhoneField = new PhoneField(patientObj, {
|
|
88
92
|
apiName: 'phone__c',
|
|
89
93
|
displayName: 'Phone',
|
|
94
|
+
description: 'Phone field',
|
|
90
95
|
section: patientIdentitySection,
|
|
91
96
|
});
|
|
92
97
|
|
|
93
98
|
const patientEmailField = new EmailField(patientObj, {
|
|
94
99
|
apiName: 'email__c',
|
|
95
100
|
displayName: 'Email',
|
|
101
|
+
description: 'Email field',
|
|
96
102
|
unique: true,
|
|
97
103
|
section: patientIdentitySection,
|
|
98
104
|
});
|
|
@@ -108,6 +114,7 @@ const patientAllergiesField = new LongTextField(patientObj, {
|
|
|
108
114
|
const patientInsuranceField = new TextField(patientObj, {
|
|
109
115
|
apiName: 'insurance_plan__c',
|
|
110
116
|
displayName: 'Insurance / payer',
|
|
117
|
+
description: 'Insurance / payer field',
|
|
111
118
|
maxLength: 120,
|
|
112
119
|
section: patientClinicalSection,
|
|
113
120
|
});
|
|
@@ -223,6 +230,7 @@ const apptPatientRef = new LookupField(apptObj, {
|
|
|
223
230
|
const apptVisitTypeField = new SelectField(apptObj, {
|
|
224
231
|
apiName: 'visit_type__c',
|
|
225
232
|
displayName: 'Visit type',
|
|
233
|
+
description: 'Visit type field',
|
|
226
234
|
options: [
|
|
227
235
|
'New patient exam',
|
|
228
236
|
'Periodic / recall exam',
|
|
@@ -259,6 +267,7 @@ const apptClinicalNotes = new LongTextField(apptObj, {
|
|
|
259
267
|
const apptBoardLabel = new FormulaField(apptObj, {
|
|
260
268
|
apiName: 'board_label__c',
|
|
261
269
|
displayName: 'Board label',
|
|
270
|
+
description: 'Board label field',
|
|
262
271
|
fieldType: 'TEXT',
|
|
263
272
|
maxLength: 260,
|
|
264
273
|
formula: "CONCATENATE(visit_type__c, ' · ', appointment_status__c)",
|
|
@@ -308,6 +317,7 @@ const planNameField = new TextField(planObj, {
|
|
|
308
317
|
const planStatusField = new SelectField(planObj, {
|
|
309
318
|
apiName: 'plan_status__c',
|
|
310
319
|
displayName: 'Status',
|
|
320
|
+
description: 'Status field',
|
|
311
321
|
options: ['Draft', 'Presented', 'Accepted', 'In progress', 'Completed', 'Declined / on hold'],
|
|
312
322
|
required: true,
|
|
313
323
|
section: planBodySection,
|
|
@@ -571,47 +581,14 @@ new CustomObjectPageLayout(planObj, {
|
|
|
571
581
|
// ── SDUI object-list tabs ───────────────────────────────────────────────────
|
|
572
582
|
const sduiObjectListDependencies = {
|
|
573
583
|
'@rippling/rippling-sdk': '^0.2.0-alpha.33',
|
|
574
|
-
'@rippling/sdui-builder': '^0.1.0',
|
|
575
584
|
};
|
|
576
585
|
|
|
577
|
-
function
|
|
578
|
-
return
|
|
579
|
-
"import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';",
|
|
580
|
-
"import SDUI from '@rippling/sdui-builder';",
|
|
581
|
-
'',
|
|
582
|
-
`const OBJECT = '${objectApiName}';`,
|
|
583
|
-
'',
|
|
584
|
-
'export async function onRipplingEvent(',
|
|
585
|
-
' event: FunctionEvent,',
|
|
586
|
-
' context: FunctionContext,',
|
|
587
|
-
'): Promise<FunctionResponse> {',
|
|
588
|
-
' const action = event.parameters?.action;',
|
|
589
|
-
'',
|
|
590
|
-
" if (!action || action === 'init') {",
|
|
591
|
-
' const s = SDUI.createState({});',
|
|
592
|
-
' const root = SDUI.components.VStack({',
|
|
593
|
-
' children: [',
|
|
594
|
-
' SDUI.components.ObjectListView({',
|
|
595
|
-
' objectApiName: OBJECT,',
|
|
596
|
-
' canSearchInGrid: true,',
|
|
597
|
-
' }),',
|
|
598
|
-
' ],',
|
|
599
|
-
' });',
|
|
600
|
-
' return new FunctionResponse({',
|
|
601
|
-
' body: { spec: JSON.stringify(SDUI.render(s, root)) },',
|
|
602
|
-
' statusCode: 200,',
|
|
603
|
-
' headers: {},',
|
|
604
|
-
" message: '',",
|
|
605
|
-
' });',
|
|
606
|
-
' }',
|
|
607
|
-
'',
|
|
608
|
-
" return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });",
|
|
609
|
-
'}',
|
|
610
|
-
].join('\n');
|
|
586
|
+
function loadFunctionCode(filename: string): string {
|
|
587
|
+
return fs.readFileSync(path.join(__dirname, 'functions', filename), 'utf-8');
|
|
611
588
|
}
|
|
612
589
|
|
|
613
590
|
function createObjectListPage(props: {
|
|
614
|
-
|
|
591
|
+
codeFilename: string;
|
|
615
592
|
functionApiName: string;
|
|
616
593
|
functionName: string;
|
|
617
594
|
functionDescription: string;
|
|
@@ -623,7 +600,7 @@ function createObjectListPage(props: {
|
|
|
623
600
|
apiName: props.functionApiName,
|
|
624
601
|
name: props.functionName,
|
|
625
602
|
description: props.functionDescription,
|
|
626
|
-
code:
|
|
603
|
+
code: loadFunctionCode(props.codeFilename),
|
|
627
604
|
dependencies: sduiObjectListDependencies,
|
|
628
605
|
isAsync: false,
|
|
629
606
|
});
|
|
@@ -637,7 +614,7 @@ function createObjectListPage(props: {
|
|
|
637
614
|
}
|
|
638
615
|
|
|
639
616
|
const patientListPage = createObjectListPage({
|
|
640
|
-
|
|
617
|
+
codeFilename: 'patient-list.ts',
|
|
641
618
|
functionApiName: 'dental_patient_list_fn',
|
|
642
619
|
functionName: 'Patients (SDUI)',
|
|
643
620
|
functionDescription: 'SDUI ObjectListView for patient records',
|
|
@@ -647,7 +624,7 @@ const patientListPage = createObjectListPage({
|
|
|
647
624
|
});
|
|
648
625
|
|
|
649
626
|
const operatoryListPage = createObjectListPage({
|
|
650
|
-
|
|
627
|
+
codeFilename: 'operatory-list.ts',
|
|
651
628
|
functionApiName: 'dental_operatory_list_fn',
|
|
652
629
|
functionName: 'Operatories (SDUI)',
|
|
653
630
|
functionDescription: 'SDUI ObjectListView for operatory records',
|
|
@@ -657,7 +634,7 @@ const operatoryListPage = createObjectListPage({
|
|
|
657
634
|
});
|
|
658
635
|
|
|
659
636
|
const chairBoardPage = createObjectListPage({
|
|
660
|
-
|
|
637
|
+
codeFilename: 'chair-schedule.ts',
|
|
661
638
|
functionApiName: 'dental_chair_schedule_fn',
|
|
662
639
|
functionName: 'Daily chair board (SDUI)',
|
|
663
640
|
functionDescription: 'SDUI ObjectListView for appointments (init + spec render)',
|
|
@@ -667,7 +644,7 @@ const chairBoardPage = createObjectListPage({
|
|
|
667
644
|
});
|
|
668
645
|
|
|
669
646
|
const treatmentPlanListPage = createObjectListPage({
|
|
670
|
-
|
|
647
|
+
codeFilename: 'treatment-plan-list.ts',
|
|
671
648
|
functionApiName: 'dental_treatment_plan_list_fn',
|
|
672
649
|
functionName: 'Treatment plans (SDUI)',
|
|
673
650
|
functionDescription: 'SDUI ObjectListView for treatment plan records',
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
|
|
2
|
+
import SDUI from '@rippling/rippling-sdk/lib/sdui';
|
|
3
|
+
|
|
4
|
+
const OBJECT = 'dental_appointment__c';
|
|
5
|
+
|
|
6
|
+
export async function onRipplingEvent(
|
|
7
|
+
event: FunctionEvent,
|
|
8
|
+
context: FunctionContext,
|
|
9
|
+
): Promise<FunctionResponse> {
|
|
10
|
+
const action = event['parameters']?.action;
|
|
11
|
+
|
|
12
|
+
if (!action || action === 'init') {
|
|
13
|
+
const s = SDUI.createState({});
|
|
14
|
+
const root = SDUI.components.VStack({
|
|
15
|
+
children: [
|
|
16
|
+
SDUI.components.ObjectListView({
|
|
17
|
+
objectApiName: OBJECT,
|
|
18
|
+
canSearchInGrid: true,
|
|
19
|
+
}),
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
return new FunctionResponse({
|
|
23
|
+
body: { spec: JSON.stringify(SDUI.render(s, root)) },
|
|
24
|
+
statusCode: 200,
|
|
25
|
+
headers: {},
|
|
26
|
+
message: '',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
|
|
2
|
+
import SDUI from '@rippling/rippling-sdk/lib/sdui';
|
|
3
|
+
|
|
4
|
+
const OBJECT = 'dental_operatory__c';
|
|
5
|
+
|
|
6
|
+
export async function onRipplingEvent(
|
|
7
|
+
event: FunctionEvent,
|
|
8
|
+
context: FunctionContext,
|
|
9
|
+
): Promise<FunctionResponse> {
|
|
10
|
+
const action = event['parameters']?.action;
|
|
11
|
+
|
|
12
|
+
if (!action || action === 'init') {
|
|
13
|
+
const s = SDUI.createState({});
|
|
14
|
+
const root = SDUI.components.VStack({
|
|
15
|
+
children: [
|
|
16
|
+
SDUI.components.ObjectListView({
|
|
17
|
+
objectApiName: OBJECT,
|
|
18
|
+
canSearchInGrid: true,
|
|
19
|
+
}),
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
return new FunctionResponse({
|
|
23
|
+
body: { spec: JSON.stringify(SDUI.render(s, root)) },
|
|
24
|
+
statusCode: 200,
|
|
25
|
+
headers: {},
|
|
26
|
+
message: '',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
|
|
2
|
+
import SDUI from '@rippling/rippling-sdk/lib/sdui';
|
|
3
|
+
|
|
4
|
+
const OBJECT = 'dental_patient__c';
|
|
5
|
+
|
|
6
|
+
export async function onRipplingEvent(
|
|
7
|
+
event: FunctionEvent,
|
|
8
|
+
context: FunctionContext,
|
|
9
|
+
): Promise<FunctionResponse> {
|
|
10
|
+
const action = event['parameters']?.action;
|
|
11
|
+
|
|
12
|
+
if (!action || action === 'init') {
|
|
13
|
+
const s = SDUI.createState({});
|
|
14
|
+
const root = SDUI.components.VStack({
|
|
15
|
+
children: [
|
|
16
|
+
SDUI.components.ObjectListView({
|
|
17
|
+
objectApiName: OBJECT,
|
|
18
|
+
canSearchInGrid: true,
|
|
19
|
+
}),
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
return new FunctionResponse({
|
|
23
|
+
body: { spec: JSON.stringify(SDUI.render(s, root)) },
|
|
24
|
+
statusCode: 200,
|
|
25
|
+
headers: {},
|
|
26
|
+
message: '',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
|
|
2
|
+
import SDUI from '@rippling/rippling-sdk/lib/sdui';
|
|
3
|
+
|
|
4
|
+
const OBJECT = 'dental_treatment_plan__c';
|
|
5
|
+
|
|
6
|
+
export async function onRipplingEvent(
|
|
7
|
+
event: FunctionEvent,
|
|
8
|
+
context: FunctionContext,
|
|
9
|
+
): Promise<FunctionResponse> {
|
|
10
|
+
const action = event['parameters']?.action;
|
|
11
|
+
|
|
12
|
+
if (!action || action === 'init') {
|
|
13
|
+
const s = SDUI.createState({});
|
|
14
|
+
const root = SDUI.components.VStack({
|
|
15
|
+
children: [
|
|
16
|
+
SDUI.components.ObjectListView({
|
|
17
|
+
objectApiName: OBJECT,
|
|
18
|
+
canSearchInGrid: true,
|
|
19
|
+
}),
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
return new FunctionResponse({
|
|
23
|
+
body: { spec: JSON.stringify(SDUI.render(s, root)) },
|
|
24
|
+
statusCode: 200,
|
|
25
|
+
headers: {},
|
|
26
|
+
message: '',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });
|
|
31
|
+
}
|
|
@@ -1614,7 +1614,8 @@
|
|
|
1614
1614
|
{
|
|
1615
1615
|
"fieldRqlName": "patient_label__c"
|
|
1616
1616
|
}
|
|
1617
|
-
]
|
|
1617
|
+
],
|
|
1618
|
+
"key": "sec_pt_identity"
|
|
1618
1619
|
},
|
|
1619
1620
|
{
|
|
1620
1621
|
"name": "Clinical & billing",
|
|
@@ -1632,7 +1633,8 @@
|
|
|
1632
1633
|
{
|
|
1633
1634
|
"fieldRqlName": "treatment_plan_count__c"
|
|
1634
1635
|
}
|
|
1635
|
-
]
|
|
1636
|
+
],
|
|
1637
|
+
"key": "sec_pt_clinical"
|
|
1636
1638
|
}
|
|
1637
1639
|
]
|
|
1638
1640
|
}
|
|
@@ -1673,7 +1675,8 @@
|
|
|
1673
1675
|
{
|
|
1674
1676
|
"fieldRqlName": "appointment_count__c"
|
|
1675
1677
|
}
|
|
1676
|
-
]
|
|
1678
|
+
],
|
|
1679
|
+
"key": "sec_op_info"
|
|
1677
1680
|
}
|
|
1678
1681
|
]
|
|
1679
1682
|
}
|
|
@@ -1714,7 +1717,8 @@
|
|
|
1714
1717
|
{
|
|
1715
1718
|
"fieldRqlName": "duration_minutes__c"
|
|
1716
1719
|
}
|
|
1717
|
-
]
|
|
1720
|
+
],
|
|
1721
|
+
"key": "sec_appt_op"
|
|
1718
1722
|
},
|
|
1719
1723
|
{
|
|
1720
1724
|
"name": "Patient & status",
|
|
@@ -1735,7 +1739,8 @@
|
|
|
1735
1739
|
{
|
|
1736
1740
|
"fieldRqlName": "visit_notes__c"
|
|
1737
1741
|
}
|
|
1738
|
-
]
|
|
1742
|
+
],
|
|
1743
|
+
"key": "sec_appt_patient"
|
|
1739
1744
|
}
|
|
1740
1745
|
]
|
|
1741
1746
|
}
|
|
@@ -1770,7 +1775,8 @@
|
|
|
1770
1775
|
{
|
|
1771
1776
|
"fieldRqlName": "plan_patient_ref__c"
|
|
1772
1777
|
}
|
|
1773
|
-
]
|
|
1778
|
+
],
|
|
1779
|
+
"key": "sec_plan_link"
|
|
1774
1780
|
},
|
|
1775
1781
|
{
|
|
1776
1782
|
"name": "Planned work",
|
|
@@ -1791,7 +1797,8 @@
|
|
|
1791
1797
|
{
|
|
1792
1798
|
"fieldRqlName": "fee_estimate_cents__c"
|
|
1793
1799
|
}
|
|
1794
|
-
]
|
|
1800
|
+
],
|
|
1801
|
+
"key": "sec_plan_body"
|
|
1795
1802
|
}
|
|
1796
1803
|
]
|
|
1797
1804
|
}
|
|
@@ -1809,10 +1816,9 @@
|
|
|
1809
1816
|
"name": "Patients (SDUI)",
|
|
1810
1817
|
"api_name": "dental_patient_list_fn",
|
|
1811
1818
|
"description": "SDUI ObjectListView for patient records",
|
|
1812
|
-
"code_draft": "import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';\nimport SDUI from '@rippling/sdui
|
|
1819
|
+
"code_draft": "import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';\nimport SDUI from '@rippling/rippling-sdk/lib/sdui';\n\nconst OBJECT = 'dental_patient__c';\n\nexport async function onRipplingEvent(\n event: FunctionEvent,\n context: FunctionContext,\n): Promise<FunctionResponse> {\n const action = event['parameters']?.action;\n\n if (!action || action === 'init') {\n const s = SDUI.createState({});\n const root = SDUI.components.VStack({\n children: [\n SDUI.components.ObjectListView({\n objectApiName: OBJECT,\n canSearchInGrid: true,\n }),\n ],\n });\n return new FunctionResponse({\n body: { spec: JSON.stringify(SDUI.render(s, root)) },\n statusCode: 200,\n headers: {},\n message: '',\n });\n }\n\n return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });\n}\n",
|
|
1813
1820
|
"dependencies": {
|
|
1814
|
-
"@rippling/rippling-sdk": "^0.2.0-alpha.33"
|
|
1815
|
-
"@rippling/sdui-builder": "^0.1.0"
|
|
1821
|
+
"@rippling/rippling-sdk": "^0.2.0-alpha.33"
|
|
1816
1822
|
}
|
|
1817
1823
|
},
|
|
1818
1824
|
{
|
|
@@ -1827,10 +1833,9 @@
|
|
|
1827
1833
|
"name": "Operatories (SDUI)",
|
|
1828
1834
|
"api_name": "dental_operatory_list_fn",
|
|
1829
1835
|
"description": "SDUI ObjectListView for operatory records",
|
|
1830
|
-
"code_draft": "import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';\nimport SDUI from '@rippling/sdui
|
|
1836
|
+
"code_draft": "import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';\nimport SDUI from '@rippling/rippling-sdk/lib/sdui';\n\nconst OBJECT = 'dental_operatory__c';\n\nexport async function onRipplingEvent(\n event: FunctionEvent,\n context: FunctionContext,\n): Promise<FunctionResponse> {\n const action = event['parameters']?.action;\n\n if (!action || action === 'init') {\n const s = SDUI.createState({});\n const root = SDUI.components.VStack({\n children: [\n SDUI.components.ObjectListView({\n objectApiName: OBJECT,\n canSearchInGrid: true,\n }),\n ],\n });\n return new FunctionResponse({\n body: { spec: JSON.stringify(SDUI.render(s, root)) },\n statusCode: 200,\n headers: {},\n message: '',\n });\n }\n\n return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });\n}\n",
|
|
1831
1837
|
"dependencies": {
|
|
1832
|
-
"@rippling/rippling-sdk": "^0.2.0-alpha.33"
|
|
1833
|
-
"@rippling/sdui-builder": "^0.1.0"
|
|
1838
|
+
"@rippling/rippling-sdk": "^0.2.0-alpha.33"
|
|
1834
1839
|
}
|
|
1835
1840
|
},
|
|
1836
1841
|
{
|
|
@@ -1845,10 +1850,9 @@
|
|
|
1845
1850
|
"name": "Daily chair board (SDUI)",
|
|
1846
1851
|
"api_name": "dental_chair_schedule_fn",
|
|
1847
1852
|
"description": "SDUI ObjectListView for appointments (init + spec render)",
|
|
1848
|
-
"code_draft": "import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';\nimport SDUI from '@rippling/sdui
|
|
1853
|
+
"code_draft": "import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';\nimport SDUI from '@rippling/rippling-sdk/lib/sdui';\n\nconst OBJECT = 'dental_appointment__c';\n\nexport async function onRipplingEvent(\n event: FunctionEvent,\n context: FunctionContext,\n): Promise<FunctionResponse> {\n const action = event['parameters']?.action;\n\n if (!action || action === 'init') {\n const s = SDUI.createState({});\n const root = SDUI.components.VStack({\n children: [\n SDUI.components.ObjectListView({\n objectApiName: OBJECT,\n canSearchInGrid: true,\n }),\n ],\n });\n return new FunctionResponse({\n body: { spec: JSON.stringify(SDUI.render(s, root)) },\n statusCode: 200,\n headers: {},\n message: '',\n });\n }\n\n return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });\n}\n",
|
|
1849
1854
|
"dependencies": {
|
|
1850
|
-
"@rippling/rippling-sdk": "^0.2.0-alpha.33"
|
|
1851
|
-
"@rippling/sdui-builder": "^0.1.0"
|
|
1855
|
+
"@rippling/rippling-sdk": "^0.2.0-alpha.33"
|
|
1852
1856
|
}
|
|
1853
1857
|
},
|
|
1854
1858
|
{
|
|
@@ -1863,10 +1867,9 @@
|
|
|
1863
1867
|
"name": "Treatment plans (SDUI)",
|
|
1864
1868
|
"api_name": "dental_treatment_plan_list_fn",
|
|
1865
1869
|
"description": "SDUI ObjectListView for treatment plan records",
|
|
1866
|
-
"code_draft": "import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';\nimport SDUI from '@rippling/sdui
|
|
1870
|
+
"code_draft": "import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';\nimport SDUI from '@rippling/rippling-sdk/lib/sdui';\n\nconst OBJECT = 'dental_treatment_plan__c';\n\nexport async function onRipplingEvent(\n event: FunctionEvent,\n context: FunctionContext,\n): Promise<FunctionResponse> {\n const action = event['parameters']?.action;\n\n if (!action || action === 'init') {\n const s = SDUI.createState({});\n const root = SDUI.components.VStack({\n children: [\n SDUI.components.ObjectListView({\n objectApiName: OBJECT,\n canSearchInGrid: true,\n }),\n ],\n });\n return new FunctionResponse({\n body: { spec: JSON.stringify(SDUI.render(s, root)) },\n statusCode: 200,\n headers: {},\n message: '',\n });\n }\n\n return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });\n}\n",
|
|
1867
1871
|
"dependencies": {
|
|
1868
|
-
"@rippling/rippling-sdk": "^0.2.0-alpha.33"
|
|
1869
|
-
"@rippling/sdui-builder": "^0.1.0"
|
|
1872
|
+
"@rippling/rippling-sdk": "^0.2.0-alpha.33"
|
|
1870
1873
|
}
|
|
1871
1874
|
},
|
|
1872
1875
|
{
|
|
@@ -172,6 +172,7 @@ const memberLayout = CustomObjectPageLayout.loadFromExisting('layout_gym_member'
|
|
|
172
172
|
const preferredName = new TextField(memberObj, {
|
|
173
173
|
apiName: 'preferred_name__c',
|
|
174
174
|
displayName: 'Preferred name',
|
|
175
|
+
description: 'Preferred name field',
|
|
175
176
|
maxLength: 80,
|
|
176
177
|
section: profileSection,
|
|
177
178
|
});
|
|
@@ -198,12 +199,14 @@ const marketingSection = new CustomObjectFieldSection(memberObj, {
|
|
|
198
199
|
const marketingOptIn = new SelectField(memberObj, {
|
|
199
200
|
apiName: 'marketing_opt_in__c',
|
|
200
201
|
displayName: 'Marketing opt-in',
|
|
202
|
+
description: 'Marketing opt-in field',
|
|
201
203
|
options: ['Yes', 'No', 'Unknown'],
|
|
202
204
|
section: marketingSection,
|
|
203
205
|
});
|
|
204
206
|
const referralSource = new TextField(memberObj, {
|
|
205
207
|
apiName: 'referral_source__c',
|
|
206
208
|
displayName: 'Referral source',
|
|
209
|
+
description: 'Referral source field',
|
|
207
210
|
maxLength: 120,
|
|
208
211
|
section: marketingSection,
|
|
209
212
|
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
|
|
2
|
+
import SDUI from '@rippling/rippling-sdk/lib/sdui';
|
|
3
|
+
|
|
4
|
+
const OBJECT = 'gym_class_enrollment__c';
|
|
5
|
+
|
|
6
|
+
export async function onRipplingEvent(
|
|
7
|
+
event: FunctionEvent,
|
|
8
|
+
context: FunctionContext,
|
|
9
|
+
): Promise<FunctionResponse> {
|
|
10
|
+
const action = event['parameters']?.action;
|
|
11
|
+
|
|
12
|
+
if (!action || action === 'init') {
|
|
13
|
+
const s = SDUI.createState({});
|
|
14
|
+
const root = SDUI.components.VStack({
|
|
15
|
+
children: [
|
|
16
|
+
SDUI.components.ObjectListView({
|
|
17
|
+
objectApiName: OBJECT,
|
|
18
|
+
canSearchInGrid: true,
|
|
19
|
+
}),
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
return new FunctionResponse({
|
|
23
|
+
body: { spec: JSON.stringify(SDUI.render(s, root)) },
|
|
24
|
+
statusCode: 200,
|
|
25
|
+
headers: {},
|
|
26
|
+
message: '',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
|
|
2
|
+
import SDUI from '@rippling/rippling-sdk/lib/sdui';
|
|
3
|
+
|
|
4
|
+
const OBJECT = 'gym_member__c';
|
|
5
|
+
|
|
6
|
+
export async function onRipplingEvent(
|
|
7
|
+
event: FunctionEvent,
|
|
8
|
+
context: FunctionContext,
|
|
9
|
+
): Promise<FunctionResponse> {
|
|
10
|
+
const action = event['parameters']?.action;
|
|
11
|
+
|
|
12
|
+
if (!action || action === 'init') {
|
|
13
|
+
const s = SDUI.createState({});
|
|
14
|
+
const root = SDUI.components.VStack({
|
|
15
|
+
children: [
|
|
16
|
+
SDUI.components.ObjectListView({
|
|
17
|
+
objectApiName: OBJECT,
|
|
18
|
+
canSearchInGrid: true,
|
|
19
|
+
}),
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
return new FunctionResponse({
|
|
23
|
+
body: { spec: JSON.stringify(SDUI.render(s, root)) },
|
|
24
|
+
statusCode: 200,
|
|
25
|
+
headers: {},
|
|
26
|
+
message: '',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
|
|
2
|
+
import SDUI from '@rippling/rippling-sdk/lib/sdui';
|
|
3
|
+
|
|
4
|
+
const OBJECT = 'gym_class_session__c';
|
|
5
|
+
|
|
6
|
+
export async function onRipplingEvent(
|
|
7
|
+
event: FunctionEvent,
|
|
8
|
+
context: FunctionContext,
|
|
9
|
+
): Promise<FunctionResponse> {
|
|
10
|
+
const action = event['parameters']?.action;
|
|
11
|
+
|
|
12
|
+
if (!action || action === 'init') {
|
|
13
|
+
const s = SDUI.createState({});
|
|
14
|
+
const root = SDUI.components.VStack({
|
|
15
|
+
children: [
|
|
16
|
+
SDUI.components.ObjectListView({
|
|
17
|
+
objectApiName: OBJECT,
|
|
18
|
+
canSearchInGrid: true,
|
|
19
|
+
}),
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
return new FunctionResponse({
|
|
23
|
+
body: { spec: JSON.stringify(SDUI.render(s, root)) },
|
|
24
|
+
statusCode: 200,
|
|
25
|
+
headers: {},
|
|
26
|
+
message: '',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
|
|
2
|
+
import SDUI from '@rippling/rippling-sdk/lib/sdui';
|
|
3
|
+
|
|
4
|
+
const OBJECT = 'gym_trainer__c';
|
|
5
|
+
|
|
6
|
+
export async function onRipplingEvent(
|
|
7
|
+
event: FunctionEvent,
|
|
8
|
+
context: FunctionContext,
|
|
9
|
+
): Promise<FunctionResponse> {
|
|
10
|
+
const action = event['parameters']?.action;
|
|
11
|
+
|
|
12
|
+
if (!action || action === 'init') {
|
|
13
|
+
const s = SDUI.createState({});
|
|
14
|
+
const root = SDUI.components.VStack({
|
|
15
|
+
children: [
|
|
16
|
+
SDUI.components.ObjectListView({
|
|
17
|
+
objectApiName: OBJECT,
|
|
18
|
+
canSearchInGrid: true,
|
|
19
|
+
}),
|
|
20
|
+
],
|
|
21
|
+
});
|
|
22
|
+
return new FunctionResponse({
|
|
23
|
+
body: { spec: JSON.stringify(SDUI.render(s, root)) },
|
|
24
|
+
statusCode: 200,
|
|
25
|
+
headers: {},
|
|
26
|
+
message: '',
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return new FunctionResponse({ body: {}, statusCode: 200, headers: {}, message: '' });
|
|
31
|
+
}
|