@sprucelabs/spruce-templates 21.1.0 → 22.1.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/build/addons/index.d.ts +23 -0
- package/build/addons/index.js +25 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +3 -1
- package/package.json +2 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import './eq.addon';
|
|
2
|
+
import './escape.addon';
|
|
3
|
+
import './fieldDefinitionBodyPartial.addon';
|
|
4
|
+
import './fieldDefinitionOptions.addon';
|
|
5
|
+
import './fieldTypeEnum.addon';
|
|
6
|
+
import './fieldValue.addon';
|
|
7
|
+
import './gt.addon';
|
|
8
|
+
import './hasKeys.addon';
|
|
9
|
+
import './hasNoneCoreSchemaTemplateItems.addon';
|
|
10
|
+
import './importRelatedSchemas.addon';
|
|
11
|
+
import './index';
|
|
12
|
+
import './isDefined.addon';
|
|
13
|
+
import './json.addon';
|
|
14
|
+
import './neq.addon';
|
|
15
|
+
import './operators.addon';
|
|
16
|
+
import './pascalCase.addon';
|
|
17
|
+
import './permissionContractBuilder.addon';
|
|
18
|
+
import './schemaBodyPartial.addon';
|
|
19
|
+
import './schemaNamespacePath.addon';
|
|
20
|
+
import './schemaValuesPartial.addon';
|
|
21
|
+
import './valueTypeGenerator.addon';
|
|
22
|
+
import './valueTypeLiteral.addon';
|
|
23
|
+
import './valueTypeMapper.addon';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
require("./eq.addon");
|
|
4
|
+
require("./escape.addon");
|
|
5
|
+
require("./fieldDefinitionBodyPartial.addon");
|
|
6
|
+
require("./fieldDefinitionOptions.addon");
|
|
7
|
+
require("./fieldTypeEnum.addon");
|
|
8
|
+
require("./fieldValue.addon");
|
|
9
|
+
require("./gt.addon");
|
|
10
|
+
require("./hasKeys.addon");
|
|
11
|
+
require("./hasNoneCoreSchemaTemplateItems.addon");
|
|
12
|
+
require("./importRelatedSchemas.addon");
|
|
13
|
+
require("./index");
|
|
14
|
+
require("./isDefined.addon");
|
|
15
|
+
require("./json.addon");
|
|
16
|
+
require("./neq.addon");
|
|
17
|
+
require("./operators.addon");
|
|
18
|
+
require("./pascalCase.addon");
|
|
19
|
+
require("./permissionContractBuilder.addon");
|
|
20
|
+
require("./schemaBodyPartial.addon");
|
|
21
|
+
require("./schemaNamespacePath.addon");
|
|
22
|
+
require("./schemaValuesPartial.addon");
|
|
23
|
+
require("./valueTypeGenerator.addon");
|
|
24
|
+
require("./valueTypeLiteral.addon");
|
|
25
|
+
require("./valueTypeMapper.addon");
|
package/build/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { TemplateRenderAs } from '@sprucelabs/schema';
|
|
|
4
4
|
import handlebars from 'handlebars';
|
|
5
5
|
import { FieldDefinitions } from '#spruce/schemas/fields/fields.types';
|
|
6
6
|
import { DirectoryTemplateCode, DirectoryTemplateContextMap, ValueTypes, SchemaBuilderTemplateItem, ErrorOptions, ErrorTemplateItem, TestOptions, EventListenerOptions, EventContractTemplateItem, EventPayloadOptions, StoreTemplateOptions, StoreTemplateItem, ViewsOptions, ListenerTemplateItem } from './types/templates.types';
|
|
7
|
+
import './addons';
|
|
7
8
|
export declare const templates: {
|
|
8
9
|
schemasTypes(options: {
|
|
9
10
|
schemaTemplateItems: SchemaTemplateItem[];
|
package/build/index.js
CHANGED
|
@@ -29,7 +29,9 @@ const importExtractor_utility_1 = __importDefault(require("./utilities/importExt
|
|
|
29
29
|
const KeyGeneratorUtility_1 = __importDefault(require("./utilities/KeyGeneratorUtility"));
|
|
30
30
|
const templateImporter_utility_1 = __importDefault(require("./utilities/templateImporter.utility"));
|
|
31
31
|
const templateItem_utility_1 = __importDefault(require("./utilities/templateItem.utility"));
|
|
32
|
-
|
|
32
|
+
// Manual import of addons for Bun
|
|
33
|
+
require("./addons");
|
|
34
|
+
// addonUtil.importSync({}, __dirname, 'addons')
|
|
33
35
|
exports.templates = {
|
|
34
36
|
schemasTypes(options) {
|
|
35
37
|
var _a, _b;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "22.1.0",
|
|
7
7
|
"files": [
|
|
8
8
|
"build/**/*",
|
|
9
9
|
"tsconfig.json",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"yarn-upgrade-all": {
|
|
79
79
|
"ignore": []
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "c8405e280a6c05fbffadc79488da462e793498f4"
|
|
82
82
|
}
|