@23blocks/block-forms 3.2.0 → 3.3.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/dist/index.esm.js
CHANGED
|
@@ -1181,7 +1181,8 @@ function mapBatchResult(response) {
|
|
|
1181
1181
|
referrals: createReferralsService(transport),
|
|
1182
1182
|
mailTemplates: createMailTemplatesService(transport),
|
|
1183
1183
|
applicationForms: createApplicationFormsService(transport),
|
|
1184
|
-
crmSync: createCrmSyncService(transport)
|
|
1184
|
+
crmSync: createCrmSyncService(transport),
|
|
1185
|
+
health: ()=>transport.get('/health')
|
|
1185
1186
|
};
|
|
1186
1187
|
}
|
|
1187
1188
|
const formsBlockMetadata = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Transport, BlockConfig, BlockMetadata } from '@23blocks/contracts';
|
|
1
|
+
import type { Transport, BlockConfig, BlockMetadata, HealthCheckResponse } from '@23blocks/contracts';
|
|
2
2
|
import { type FormsService, type FormSchemasService, type FormSchemaVersionsService, type FormInstancesService, type FormSetsService, type LandingsService, type SubscriptionsService, type AppointmentsService, type SurveysService, type ReferralsService, type MailTemplatesService, type ApplicationFormsService, type CrmSyncService } from './services/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Configuration for the Forms block.
|
|
@@ -39,6 +39,8 @@ export interface FormsBlock {
|
|
|
39
39
|
applicationForms: ApplicationFormsService;
|
|
40
40
|
/** CRM sync operations */
|
|
41
41
|
crmSync: CrmSyncService;
|
|
42
|
+
/** Ping the service health endpoint */
|
|
43
|
+
health(): Promise<HealthCheckResponse>;
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* Create the Forms block.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forms.block.d.ts","sourceRoot":"","sources":["../../../src/lib/forms.block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qBAAqB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