ApiCoreFunctions
Function: checkPublishableSchema()
function checkPublishableSchema(schema, path?): string | null;Defined in: packages/core/src/schema/collection-def.ts:224
Why a schema may not be published, or null when it may.
Parameters
| Parameter | Type | Default value |
|---|---|---|
schema | unknown | undefined |
path? | string | 'schema' |
Returns
string | null