@rvoh/dream 0.30.2 → 0.30.3
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/cjs/src/cli/index.js +0 -9
- package/dist/cjs/src/helpers/DreamGlam/DreamGlam.js +16 -0
- package/dist/cjs/src/helpers/DreamGlam/howyadoins/fluffstopherwalkin.js +42 -0
- package/dist/cjs/src/helpers/DreamGlam/howyadoins/whaaaaaaaaaaok.js +81 -0
- package/dist/cjs/src/helpers/Env.js +0 -5
- package/dist/cjs/src/index.js +4 -2
- package/dist/esm/src/cli/index.js +0 -9
- package/dist/esm/src/global-cli/dream.js +0 -0
- package/dist/esm/src/helpers/DreamGlam/DreamGlam.js +13 -0
- package/dist/esm/src/helpers/DreamGlam/howyadoins/fluffstopherwalkin.js +39 -0
- package/dist/esm/src/helpers/DreamGlam/howyadoins/whaaaaaaaaaaok.js +77 -0
- package/dist/esm/src/helpers/Env.js +0 -5
- package/dist/esm/src/index.js +1 -0
- package/dist/types/src/helpers/DreamGlam/DreamGlam.d.ts +5 -0
- package/dist/types/src/helpers/DreamGlam/howyadoins/fluffstopherwalkin.d.ts +1 -0
- package/dist/types/src/helpers/DreamGlam/howyadoins/whaaaaaaaaaaok.d.ts +2 -0
- package/dist/types/src/helpers/Env.d.ts +0 -1
- package/dist/types/src/index.d.ts +1 -0
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/Benchmark.html +2 -2
- package/docs/classes/CalendarDate.html +2 -2
- package/docs/classes/CreateOrFindByFailedToCreateAndFind.html +3 -3
- package/docs/classes/Decorators.html +19 -19
- package/docs/classes/Dream.html +126 -126
- package/docs/classes/DreamApplication.html +4 -4
- package/docs/classes/DreamBin.html +2 -2
- package/docs/classes/DreamCLI.html +4 -4
- package/docs/classes/DreamDbConnection.html +2 -2
- package/docs/classes/DreamGlam.html +5 -0
- package/docs/classes/DreamImporter.html +2 -2
- package/docs/classes/DreamMigrationHelpers.html +7 -7
- package/docs/classes/DreamSerializer.html +2 -2
- package/docs/classes/DreamTransaction.html +2 -2
- package/docs/classes/Encrypt.html +2 -2
- package/docs/classes/Env.html +2 -3
- package/docs/classes/GlobalNameNotSet.html +3 -3
- package/docs/classes/NonLoadedAssociation.html +3 -3
- package/docs/classes/Query.html +50 -50
- package/docs/classes/Range.html +2 -2
- package/docs/classes/RecordNotFound.html +3 -3
- package/docs/classes/ValidationError.html +3 -3
- package/docs/functions/Attribute.html +1 -1
- package/docs/functions/RendersMany.html +1 -1
- package/docs/functions/RendersOne.html +1 -1
- package/docs/functions/ReplicaSafe.html +1 -1
- package/docs/functions/STI.html +1 -1
- package/docs/functions/SoftDelete.html +1 -1
- package/docs/functions/camelize.html +1 -1
- package/docs/functions/capitalize.html +1 -1
- package/docs/functions/closeAllDbConnections.html +1 -1
- package/docs/functions/compact.html +1 -1
- package/docs/functions/db.html +1 -1
- package/docs/functions/debug.html +1 -1
- package/docs/functions/dreamDbConnections.html +1 -1
- package/docs/functions/dreamPath.html +1 -1
- package/docs/functions/generateDream.html +1 -1
- package/docs/functions/globalClassNameFromFullyQualifiedModelName.html +1 -1
- package/docs/functions/hyphenize.html +1 -1
- package/docs/functions/inferSerializerFromDreamClassOrViewModelClass.html +1 -1
- package/docs/functions/inferSerializerFromDreamOrViewModel.html +1 -1
- package/docs/functions/isEmpty.html +1 -1
- package/docs/functions/loadRepl.html +1 -1
- package/docs/functions/lookupClassByGlobalName.html +1 -1
- package/docs/functions/pascalize.html +1 -1
- package/docs/functions/pgErrorType.html +1 -1
- package/docs/functions/range-1.html +1 -1
- package/docs/functions/relativeDreamPath.html +1 -1
- package/docs/functions/round.html +1 -1
- package/docs/functions/serializerNameFromFullyQualifiedModelName.html +1 -1
- package/docs/functions/sharedPathPrefix.html +1 -1
- package/docs/functions/snakeify.html +1 -1
- package/docs/functions/sortBy.html +1 -1
- package/docs/functions/standardizeFullyQualifiedModelName.html +1 -1
- package/docs/functions/uncapitalize.html +1 -1
- package/docs/functions/uniq.html +1 -1
- package/docs/functions/validateColumn.html +1 -1
- package/docs/functions/validateTable.html +1 -1
- package/docs/interfaces/AttributeStatement.html +2 -2
- package/docs/interfaces/DecoratorContext.html +2 -2
- package/docs/interfaces/DreamApplicationInitOptions.html +2 -2
- package/docs/interfaces/DreamApplicationOpts.html +2 -2
- package/docs/interfaces/DreamSerializerAssociationStatement.html +2 -2
- package/docs/interfaces/EncryptOptions.html +2 -2
- package/docs/interfaces/OpenapiSchemaProperties.html +1 -1
- package/docs/interfaces/OpenapiSchemaPropertiesShorthand.html +1 -1
- package/docs/interfaces/OpenapiTypeFieldObject.html +1 -1
- package/docs/modules.html +1 -0
- package/docs/types/Camelized.html +1 -1
- package/docs/types/CommonOpenapiSchemaObjectFields.html +1 -1
- package/docs/types/DreamAssociationMetadata.html +1 -1
- package/docs/types/DreamAttributes.html +1 -1
- package/docs/types/DreamClassColumn.html +1 -1
- package/docs/types/DreamColumn.html +1 -1
- package/docs/types/DreamColumnNames.html +1 -1
- package/docs/types/DreamLogLevel.html +1 -1
- package/docs/types/DreamLogger.html +1 -1
- package/docs/types/DreamOrViewModelSerializerKey.html +1 -1
- package/docs/types/DreamParamSafeAttributes.html +1 -1
- package/docs/types/DreamParamSafeColumnNames.html +1 -1
- package/docs/types/DreamSerializerKey.html +1 -1
- package/docs/types/DreamSerializers.html +1 -1
- package/docs/types/DreamTableSchema.html +1 -1
- package/docs/types/DreamVirtualColumns.html +1 -1
- package/docs/types/EncryptAlgorithm.html +1 -1
- package/docs/types/Hyphenized.html +1 -1
- package/docs/types/IdType.html +1 -1
- package/docs/types/OpenapiAllTypes.html +1 -1
- package/docs/types/OpenapiFormats.html +1 -1
- package/docs/types/OpenapiNumberFormats.html +1 -1
- package/docs/types/OpenapiPrimitiveTypes.html +1 -1
- package/docs/types/OpenapiSchemaArray.html +1 -1
- package/docs/types/OpenapiSchemaArrayShorthand.html +1 -1
- package/docs/types/OpenapiSchemaBase.html +1 -1
- package/docs/types/OpenapiSchemaBody.html +1 -1
- package/docs/types/OpenapiSchemaBodyShorthand.html +1 -1
- package/docs/types/OpenapiSchemaCommonFields.html +1 -1
- package/docs/types/OpenapiSchemaExpressionAllOf.html +1 -1
- package/docs/types/OpenapiSchemaExpressionAnyOf.html +1 -1
- package/docs/types/OpenapiSchemaExpressionOneOf.html +1 -1
- package/docs/types/OpenapiSchemaExpressionRef.html +1 -1
- package/docs/types/OpenapiSchemaExpressionRefSchemaShorthand.html +1 -1
- package/docs/types/OpenapiSchemaInteger.html +1 -1
- package/docs/types/OpenapiSchemaNull.html +1 -1
- package/docs/types/OpenapiSchemaNumber.html +1 -1
- package/docs/types/OpenapiSchemaObject.html +1 -1
- package/docs/types/OpenapiSchemaObjectAllOf.html +1 -1
- package/docs/types/OpenapiSchemaObjectAllOfShorthand.html +1 -1
- package/docs/types/OpenapiSchemaObjectAnyOf.html +1 -1
- package/docs/types/OpenapiSchemaObjectAnyOfShorthand.html +1 -1
- package/docs/types/OpenapiSchemaObjectBase.html +1 -1
- package/docs/types/OpenapiSchemaObjectBaseShorthand.html +1 -1
- package/docs/types/OpenapiSchemaObjectOneOf.html +1 -1
- package/docs/types/OpenapiSchemaObjectOneOfShorthand.html +1 -1
- package/docs/types/OpenapiSchemaObjectShorthand.html +1 -1
- package/docs/types/OpenapiSchemaPartialSegment.html +1 -1
- package/docs/types/OpenapiSchemaPrimitiveGeneric.html +1 -1
- package/docs/types/OpenapiSchemaShorthandExpressionAllOf.html +1 -1
- package/docs/types/OpenapiSchemaShorthandExpressionAnyOf.html +1 -1
- package/docs/types/OpenapiSchemaShorthandExpressionOneOf.html +1 -1
- package/docs/types/OpenapiSchemaShorthandExpressionSerializableRef.html +1 -1
- package/docs/types/OpenapiSchemaShorthandExpressionSerializerRef.html +1 -1
- package/docs/types/OpenapiSchemaShorthandPrimitiveGeneric.html +1 -1
- package/docs/types/OpenapiSchemaString.html +1 -1
- package/docs/types/OpenapiShorthandAllTypes.html +1 -1
- package/docs/types/OpenapiShorthandPrimitiveTypes.html +1 -1
- package/docs/types/OpenapiTypeField.html +1 -1
- package/docs/types/Pascalized.html +1 -1
- package/docs/types/PrimaryKeyType.html +1 -1
- package/docs/types/RoundingPrecision.html +1 -1
- package/docs/types/SerializableClassOrSerializerCallback.html +1 -1
- package/docs/types/SerializableDreamClassOrViewModelClass.html +1 -1
- package/docs/types/SerializableDreamOrViewModel.html +1 -1
- package/docs/types/SerializableTypes.html +1 -1
- package/docs/types/Snakeified.html +1 -1
- package/docs/types/Timestamp.html +1 -1
- package/docs/types/UpdateableAssociationProperties.html +1 -1
- package/docs/types/UpdateableProperties.html +1 -1
- package/docs/types/ValidationType.html +1 -1
- package/docs/types/ViewModelSerializerKey.html +1 -1
- package/docs/types/WhereStatementForDream.html +1 -1
- package/docs/types/WhereStatementForDreamClass.html +1 -1
- package/docs/variables/DreamConst.html +1 -1
- package/docs/variables/TRIGRAM_OPERATORS.html +1 -1
- package/docs/variables/openapiPrimitiveTypes-1.html +1 -1
- package/docs/variables/openapiShorthandPrimitiveTypes-1.html +1 -1
- package/docs/variables/ops.html +1 -1
- package/docs/variables/primaryKeyTypes.html +1 -1
- package/package.json +8 -6
|
@@ -32,7 +32,6 @@ class DreamCLI {
|
|
|
32
32
|
.argument('<migrationName>', 'end with -to-table-name to prepopulate with an alterTable command')
|
|
33
33
|
.argument('[columnsWithTypes...]', 'properties of the model column1:text/string/enum/etc. column2:text/string/enum/etc. ... columnN:text/string/enum/etc.')
|
|
34
34
|
.action(async (migrationName, columnsWithTypes) => {
|
|
35
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
36
35
|
await initializeDreamApplication();
|
|
37
36
|
await index_js_1.default.generateMigration(migrationName, columnsWithTypes);
|
|
38
37
|
process.exit();
|
|
@@ -47,7 +46,6 @@ class DreamCLI {
|
|
|
47
46
|
.argument('<modelName>', 'the name of the model to create, e.g. Post or Settings/CommunicationPreferences')
|
|
48
47
|
.argument('[columnsWithTypes...]', 'properties of the model property1:text/string/enum/etc. property2:text/string/enum/etc. ... propertyN:text/string/enum/etc.')
|
|
49
48
|
.action(async (modelName, columnsWithTypes, options) => {
|
|
50
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
51
49
|
await initializeDreamApplication();
|
|
52
50
|
await index_js_1.default.generateDream(modelName, columnsWithTypes, options);
|
|
53
51
|
process.exit();
|
|
@@ -62,7 +60,6 @@ class DreamCLI {
|
|
|
62
60
|
.argument('<parentModelName>', 'name of the parent model')
|
|
63
61
|
.argument('[columnsWithTypes...]', 'properties of the model property1:text/string/enum/etc. property2:text/string/enum/etc. ... propertyN:text/string/enum/etc.')
|
|
64
62
|
.action(async (childModelName, extendsWord, parentModelName, columnsWithTypes, options) => {
|
|
65
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
66
63
|
await initializeDreamApplication();
|
|
67
64
|
if (extendsWord !== 'extends')
|
|
68
65
|
throw new Error('Expecting: `<child-name> extends <parent-name> <columns-and-types>');
|
|
@@ -73,7 +70,6 @@ class DreamCLI {
|
|
|
73
70
|
.command('db:create')
|
|
74
71
|
.description('creates a new database, seeding from local .env or .env.test if NODE_ENV=test is set for env vars')
|
|
75
72
|
.action(async () => {
|
|
76
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
77
73
|
EnvInternal_js_1.default.setBoolean('BYPASS_DB_CONNECTIONS_DURING_INIT');
|
|
78
74
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
79
75
|
await index_js_1.default.dbCreate();
|
|
@@ -84,7 +80,6 @@ class DreamCLI {
|
|
|
84
80
|
.description('db:migrate runs any outstanding database migrations')
|
|
85
81
|
.option('--skip-sync', 'skips syncing local schema after running migrations')
|
|
86
82
|
.action(async ({ skipSync }) => {
|
|
87
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
88
83
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
89
84
|
await index_js_1.default.dbMigrate();
|
|
90
85
|
if (EnvInternal_js_1.default.isDevelopmentOrTest && !skipSync) {
|
|
@@ -98,7 +93,6 @@ class DreamCLI {
|
|
|
98
93
|
.option('--steps <number>', 'number of steps back to travel', myParseInt, 1)
|
|
99
94
|
.option('--skip-sync', 'skips syncing local schema after running migrations')
|
|
100
95
|
.action(async ({ steps, skipSync }) => {
|
|
101
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
102
96
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
103
97
|
await index_js_1.default.dbRollback({ steps });
|
|
104
98
|
if (EnvInternal_js_1.default.isDevelopmentOrTest && !skipSync) {
|
|
@@ -110,7 +104,6 @@ class DreamCLI {
|
|
|
110
104
|
.command('db:drop')
|
|
111
105
|
.description('drops the database, seeding from local .env or .env.test if NODE_ENV=test is set for env vars')
|
|
112
106
|
.action(async () => {
|
|
113
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
114
107
|
EnvInternal_js_1.default.setBoolean('BYPASS_DB_CONNECTIONS_DURING_INIT');
|
|
115
108
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
116
109
|
await index_js_1.default.dbDrop();
|
|
@@ -120,7 +113,6 @@ class DreamCLI {
|
|
|
120
113
|
.command('db:reset')
|
|
121
114
|
.description('runs db:drop (safely), then db:create, db:migrate, and db:seed')
|
|
122
115
|
.action(async () => {
|
|
123
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
124
116
|
EnvInternal_js_1.default.setBoolean('BYPASS_DB_CONNECTIONS_DURING_INIT');
|
|
125
117
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
126
118
|
await index_js_1.default.dbDrop();
|
|
@@ -136,7 +128,6 @@ class DreamCLI {
|
|
|
136
128
|
.command('db:seed')
|
|
137
129
|
.description('seeds the database using the file located in db/seed.ts')
|
|
138
130
|
.action(async () => {
|
|
139
|
-
EnvInternal_js_1.default.provideDefaultNodeEnv('test');
|
|
140
131
|
if (process.env.NODE_ENV === 'test' && process.env.DREAM_SEED_DB_IN_TEST !== '1') {
|
|
141
132
|
console.log('skipping db seed for test env. To really seed for test, add DREAM_SEED_DB_IN_TEST=1');
|
|
142
133
|
return;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const fluffstopherwalkin_js_1 = require("./howyadoins/fluffstopherwalkin.js");
|
|
4
|
+
const whaaaaaaaaaaok_js_1 = require("./howyadoins/whaaaaaaaaaaok.js");
|
|
5
|
+
class DreamGlam {
|
|
6
|
+
static whaaaaaaaaaaok() {
|
|
7
|
+
return (0, whaaaaaaaaaaok_js_1.default)();
|
|
8
|
+
}
|
|
9
|
+
static whaaaaaaaaaaokBasic() {
|
|
10
|
+
return (0, whaaaaaaaaaaok_js_1.whaaaaaaaaaaokBasic)();
|
|
11
|
+
}
|
|
12
|
+
static fluffstopherwalkin() {
|
|
13
|
+
return (0, fluffstopherwalkin_js_1.default)();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.default = DreamGlam;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = fluffstopherwalkin;
|
|
4
|
+
const yoctocolors_1 = require("yoctocolors");
|
|
5
|
+
function fluffstopherwalkin() {
|
|
6
|
+
return (yoctocolors_1.default.magenta(`
|
|
7
|
+
░ ░ ░ ░ ░ ░
|
|
8
|
+
░ ▓ ░░ ░
|
|
9
|
+
░██▓▒ ░░ ░ ░ ░█████
|
|
10
|
+
░ ███▓▓▓▓ ░ ░ ████▓▓▓█
|
|
11
|
+
░ ░ ████▓▓█▓▓▓▓▓▓ ▓▓▓▒▓▓█▒ ▓ ███████▓█▓▓
|
|
12
|
+
░██████████▓████▓▓▓██▓█▓██████████▓▓▓██▓
|
|
13
|
+
░ ░████████████▓██▓████████████████▓▓▓▓█
|
|
14
|
+
██████████████████████████████████▓
|
|
15
|
+
░█████████████████████████████████
|
|
16
|
+
░ ░████████████████████████████████
|
|
17
|
+
░ ░ ▓██████████████████████████████▓ ░░ ░
|
|
18
|
+
░▒▓█████▓▓▓░░░ ▒███████████████████████████████▒░ ░░
|
|
19
|
+
░ ▓▓█▓▒░▓░▓███▓ ▓█████████████████████████ ▒ ░ ░
|
|
20
|
+
██▓▒▓█▓████ `) +
|
|
21
|
+
yoctocolors_1.default.greenBright(`█`) +
|
|
22
|
+
yoctocolors_1.default.magenta(`██████████░ `) +
|
|
23
|
+
yoctocolors_1.default.greenBright(`█`) +
|
|
24
|
+
yoctocolors_1.default.magenta(`░░█▓█████▓▒▒░░▒▒
|
|
25
|
+
░ ░░░ ▒░██▓▓█▓▓▓████▓ ██████████░░░ ▓▓██████░▒ ▒ ░ ░
|
|
26
|
+
░░▒░░ ██▓▓▓▓▓▓▓█████▓▓█████████████████████░ ░░░
|
|
27
|
+
░░▒▒▒██▓▓█▓██▓▓████▓██████████▓▓██████████ ▒▒▒░ ▒
|
|
28
|
+
░░░▒▓████▓▓▓▓▓█▓▓▓▓▓▓█████████████████████░░ ░▒░▒░
|
|
29
|
+
░▒ ░▒▒▒▒█████▓▓▓███▓▓▓▓█▓▓██████████████████▒▒ ░░░░░
|
|
30
|
+
░░░░░▒▒▒███████▓█████▓▓▓▓▓▓██████████▓███████░░ ░▓▒░░
|
|
31
|
+
▒ ░░░░▒▒▒████████▓███████▓████████████████████░ ░▒░░▒
|
|
32
|
+
░░░░░▒▒▒█████████████████████████████████████ ░░ ░▓
|
|
33
|
+
`) +
|
|
34
|
+
yoctocolors_1.default.greenBright(`
|
|
35
|
+
██████╗ ███████╗██╗ ██╗ ██████╗██╗ ██╗██╗ ██████╗
|
|
36
|
+
██╔══██╗██╔════╝╚██╗ ██╔╝██╔════╝██║ ██║██║██╔════╝
|
|
37
|
+
██████╔╝███████╗ ╚████╔╝ ██║ ███████║██║██║
|
|
38
|
+
██╔═══╝ ╚════██║ ╚██╔╝ ██║ ██╔══██║██║██║
|
|
39
|
+
██║ ███████║ ██║ ╚██████╗██║ ██║██║╚██████╗
|
|
40
|
+
╚═╝ ╚══════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═════╝
|
|
41
|
+
`));
|
|
42
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = whaaaaaaaaaaok;
|
|
4
|
+
exports.whaaaaaaaaaaokBasic = whaaaaaaaaaaokBasic;
|
|
5
|
+
const yoctocolors_1 = require("yoctocolors");
|
|
6
|
+
function whaaaaaaaaaaok() {
|
|
7
|
+
return (yoctocolors_1.default.bgMagentaBright(yoctocolors_1.default.black(`
|
|
8
|
+
,▄█▄
|
|
9
|
+
]█▄▄ ╓█████▌
|
|
10
|
+
▐██████▄ ▄█████▓╣█
|
|
11
|
+
║████████▄, , ,,▄,▄▄▄▓██████╬╬╣╣▌
|
|
12
|
+
╚███╣██████████▓▓▓▓██████████╩╠╬▓
|
|
13
|
+
╙█╬╬╬▓███████████████████████▒▓▌ `)) +
|
|
14
|
+
yoctocolors_1.default.bgMagentaBright(yoctocolors_1.default.black(`
|
|
15
|
+
╙▓█▓██████████████████████████
|
|
16
|
+
╚██████▀███████████`) +
|
|
17
|
+
yoctocolors_1.default.greenBright(`╩█▓▌`) +
|
|
18
|
+
yoctocolors_1.default.black(`▐▓████▄
|
|
19
|
+
'║█████`) +
|
|
20
|
+
yoctocolors_1.default.greenBright(`\`╣█Γ║`) +
|
|
21
|
+
yoctocolors_1.default.black(`████████▄▄φ▓█████▌
|
|
22
|
+
║█████████████████████▓█████▌
|
|
23
|
+
█████████████▓▓████████████ `)) +
|
|
24
|
+
yoctocolors_1.default.bgMagentaBright(yoctocolors_1.default.black(`
|
|
25
|
+
║█████████████████████████
|
|
26
|
+
]█████████████████████████
|
|
27
|
+
,▓██████████████████████████
|
|
28
|
+
▓█████████████████████████████µ `)) +
|
|
29
|
+
yoctocolors_1.default.bgMagentaBright(yoctocolors_1.default.black(`
|
|
30
|
+
▐███████████████████████████████▄▄
|
|
31
|
+
║█████████████████████████████████╬╬╣▓
|
|
32
|
+
,╔╦║███████████████████████████████████▓╬╬╣
|
|
33
|
+
,≥≥⌠░░░╠▓████████████████████████████████████▓▓
|
|
34
|
+
,;=-',▄█████████████████████████████████████████▓ `)) +
|
|
35
|
+
yoctocolors_1.default.bgGreen(yoctocolors_1.default.magenta(`
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
██████╗ ███████╗██╗ ██╗ ██████╗██╗ ██╗██╗ ██████╗
|
|
40
|
+
██╔══██╗██╔════╝╚██╗ ██╔╝██╔════╝██║ ██║██║██╔════╝
|
|
41
|
+
██████╔╝███████╗ ╚████╔╝ ██║ ███████║██║██║
|
|
42
|
+
██╔═══╝ ╚════██║ ╚██╔╝ ██║ ██╔══██║██║██║
|
|
43
|
+
██║ ███████║ ██║ ╚██████╗██║ ██║██║╚██████╗
|
|
44
|
+
╚═╝ ╚══════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═════╝
|
|
45
|
+
|
|
46
|
+
`)));
|
|
47
|
+
}
|
|
48
|
+
function whaaaaaaaaaaokBasic() {
|
|
49
|
+
return `
|
|
50
|
+
,▄█▄
|
|
51
|
+
]█▄▄ ╓█████▌
|
|
52
|
+
▐██████▄ ▄█████▓╣█
|
|
53
|
+
║████████▄, , ,,▄,▄▄▄▓██████╬╬╣╣▌
|
|
54
|
+
╚███╣██████████▓▓▓▓██████████╩╠╬▓
|
|
55
|
+
╙█╬╬╬▓███████████████████████▒▓▌
|
|
56
|
+
╙▓█▓██████████████████████████
|
|
57
|
+
╚██████▀███████████╩█▓▌▐▓████▄
|
|
58
|
+
'║█████\`╣█Γ║████████▄▄φ▓█████▌
|
|
59
|
+
║█████████████████████▓█████▌
|
|
60
|
+
█████████████▓▓████████████
|
|
61
|
+
║█████████████████████████
|
|
62
|
+
]█████████████████████████
|
|
63
|
+
,▓██████████████████████████
|
|
64
|
+
▓█████████████████████████████µ
|
|
65
|
+
▐███████████████████████████████▄▄
|
|
66
|
+
║█████████████████████████████████╬╬╣▓
|
|
67
|
+
,╔╦║███████████████████████████████████▓╬╬╣
|
|
68
|
+
,≥≥⌠░░░╠▓████████████████████████████████████▓▓
|
|
69
|
+
,;=-',▄█████████████████████████████████████████▓
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
██████╗ ███████╗██╗ ██╗ ██████╗██╗ ██╗██╗ ██████╗
|
|
74
|
+
██╔══██╗██╔════╝╚██╗ ██╔╝██╔════╝██║ ██║██║██╔════╝
|
|
75
|
+
██████╔╝███████╗ ╚████╔╝ ██║ ███████║██║██║
|
|
76
|
+
██╔═══╝ ╚════██║ ╚██╔╝ ██║ ██╔══██║██║██║
|
|
77
|
+
██║ ███████║ ██║ ╚██████╗██║ ██║██║╚██████╗
|
|
78
|
+
╚═╝ ╚══════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═════╝
|
|
79
|
+
|
|
80
|
+
`;
|
|
81
|
+
}
|
package/dist/cjs/src/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.DreamSerializer = exports.Attribute = exports.RendersOne = exports.RendersMany = exports.ops = exports.openapiShorthandPrimitiveTypes = exports.openapiPrimitiveTypes = exports.uniq = exports.uncapitalize = exports.standardizeFullyQualifiedModelName = exports.sortBy = exports.snakeify = void 0;
|
|
3
|
+
exports.round = exports.range = exports.Range = exports.sharedPathPrefix = exports.relativeDreamPath = exports.dreamPath = exports.pascalize = exports.loadRepl = exports.isEmpty = exports.inferSerializerFromDreamOrViewModel = exports.inferSerializerFromDreamClassOrViewModelClass = exports.hyphenize = exports.globalClassNameFromFullyQualifiedModelName = exports.Env = exports.debug = exports.DateTime = exports.compact = exports.generateDream = exports.capitalize = exports.camelize = exports.CalendarDate = exports.DreamGlam = exports.Benchmark = exports.ValidationError = exports.RecordNotFound = exports.GlobalNameNotSet = exports.CreateOrFindByFailedToCreateAndFind = exports.NonLoadedAssociation = exports.Encrypt = exports.DreamConst = exports.Query = exports.DreamTransaction = exports.Dream = exports.DreamApplication = exports.lookupClassByGlobalName = exports.DreamImporter = exports.Decorators = exports.STI = exports.SoftDelete = exports.ReplicaSafe = exports.validateTable = exports.validateColumn = exports.DreamMigrationHelpers = exports.db = exports.pgErrorType = exports.dreamDbConnections = exports.DreamDbConnection = exports.closeAllDbConnections = exports.DreamCLI = exports.DreamBin = void 0;
|
|
4
|
+
exports.DreamSerializer = exports.Attribute = exports.RendersOne = exports.RendersMany = exports.ops = exports.openapiShorthandPrimitiveTypes = exports.openapiPrimitiveTypes = exports.uniq = exports.uncapitalize = exports.standardizeFullyQualifiedModelName = exports.sortBy = exports.snakeify = exports.serializerNameFromFullyQualifiedModelName = void 0;
|
|
5
5
|
var index_js_1 = require("./bin/index.js");
|
|
6
6
|
Object.defineProperty(exports, "DreamBin", { enumerable: true, get: function () { return index_js_1.default; } });
|
|
7
7
|
var index_js_2 = require("./cli/index.js");
|
|
@@ -56,6 +56,8 @@ var ValidationError_js_1 = require("./errors/ValidationError.js");
|
|
|
56
56
|
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return ValidationError_js_1.default; } });
|
|
57
57
|
var benchmark_js_1 = require("./helpers/benchmark.js");
|
|
58
58
|
Object.defineProperty(exports, "Benchmark", { enumerable: true, get: function () { return benchmark_js_1.default; } });
|
|
59
|
+
var DreamGlam_js_1 = require("./helpers/DreamGlam/DreamGlam.js");
|
|
60
|
+
Object.defineProperty(exports, "DreamGlam", { enumerable: true, get: function () { return DreamGlam_js_1.default; } });
|
|
59
61
|
var CalendarDate_js_1 = require("./helpers/CalendarDate.js");
|
|
60
62
|
Object.defineProperty(exports, "CalendarDate", { enumerable: true, get: function () { return CalendarDate_js_1.default; } });
|
|
61
63
|
var camelize_js_1 = require("./helpers/camelize.js");
|
|
@@ -30,7 +30,6 @@ export default class DreamCLI {
|
|
|
30
30
|
.argument('<migrationName>', 'end with -to-table-name to prepopulate with an alterTable command')
|
|
31
31
|
.argument('[columnsWithTypes...]', 'properties of the model column1:text/string/enum/etc. column2:text/string/enum/etc. ... columnN:text/string/enum/etc.')
|
|
32
32
|
.action(async (migrationName, columnsWithTypes) => {
|
|
33
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
34
33
|
await initializeDreamApplication();
|
|
35
34
|
await DreamBin.generateMigration(migrationName, columnsWithTypes);
|
|
36
35
|
process.exit();
|
|
@@ -45,7 +44,6 @@ export default class DreamCLI {
|
|
|
45
44
|
.argument('<modelName>', 'the name of the model to create, e.g. Post or Settings/CommunicationPreferences')
|
|
46
45
|
.argument('[columnsWithTypes...]', 'properties of the model property1:text/string/enum/etc. property2:text/string/enum/etc. ... propertyN:text/string/enum/etc.')
|
|
47
46
|
.action(async (modelName, columnsWithTypes, options) => {
|
|
48
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
49
47
|
await initializeDreamApplication();
|
|
50
48
|
await DreamBin.generateDream(modelName, columnsWithTypes, options);
|
|
51
49
|
process.exit();
|
|
@@ -60,7 +58,6 @@ export default class DreamCLI {
|
|
|
60
58
|
.argument('<parentModelName>', 'name of the parent model')
|
|
61
59
|
.argument('[columnsWithTypes...]', 'properties of the model property1:text/string/enum/etc. property2:text/string/enum/etc. ... propertyN:text/string/enum/etc.')
|
|
62
60
|
.action(async (childModelName, extendsWord, parentModelName, columnsWithTypes, options) => {
|
|
63
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
64
61
|
await initializeDreamApplication();
|
|
65
62
|
if (extendsWord !== 'extends')
|
|
66
63
|
throw new Error('Expecting: `<child-name> extends <parent-name> <columns-and-types>');
|
|
@@ -71,7 +68,6 @@ export default class DreamCLI {
|
|
|
71
68
|
.command('db:create')
|
|
72
69
|
.description('creates a new database, seeding from local .env or .env.test if NODE_ENV=test is set for env vars')
|
|
73
70
|
.action(async () => {
|
|
74
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
75
71
|
EnvInternal.setBoolean('BYPASS_DB_CONNECTIONS_DURING_INIT');
|
|
76
72
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
77
73
|
await DreamBin.dbCreate();
|
|
@@ -82,7 +78,6 @@ export default class DreamCLI {
|
|
|
82
78
|
.description('db:migrate runs any outstanding database migrations')
|
|
83
79
|
.option('--skip-sync', 'skips syncing local schema after running migrations')
|
|
84
80
|
.action(async ({ skipSync }) => {
|
|
85
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
86
81
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
87
82
|
await DreamBin.dbMigrate();
|
|
88
83
|
if (EnvInternal.isDevelopmentOrTest && !skipSync) {
|
|
@@ -96,7 +91,6 @@ export default class DreamCLI {
|
|
|
96
91
|
.option('--steps <number>', 'number of steps back to travel', myParseInt, 1)
|
|
97
92
|
.option('--skip-sync', 'skips syncing local schema after running migrations')
|
|
98
93
|
.action(async ({ steps, skipSync }) => {
|
|
99
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
100
94
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
101
95
|
await DreamBin.dbRollback({ steps });
|
|
102
96
|
if (EnvInternal.isDevelopmentOrTest && !skipSync) {
|
|
@@ -108,7 +102,6 @@ export default class DreamCLI {
|
|
|
108
102
|
.command('db:drop')
|
|
109
103
|
.description('drops the database, seeding from local .env or .env.test if NODE_ENV=test is set for env vars')
|
|
110
104
|
.action(async () => {
|
|
111
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
112
105
|
EnvInternal.setBoolean('BYPASS_DB_CONNECTIONS_DURING_INIT');
|
|
113
106
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
114
107
|
await DreamBin.dbDrop();
|
|
@@ -118,7 +111,6 @@ export default class DreamCLI {
|
|
|
118
111
|
.command('db:reset')
|
|
119
112
|
.description('runs db:drop (safely), then db:create, db:migrate, and db:seed')
|
|
120
113
|
.action(async () => {
|
|
121
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
122
114
|
EnvInternal.setBoolean('BYPASS_DB_CONNECTIONS_DURING_INIT');
|
|
123
115
|
await initializeDreamApplication({ bypassModelIntegrityCheck: true });
|
|
124
116
|
await DreamBin.dbDrop();
|
|
@@ -134,7 +126,6 @@ export default class DreamCLI {
|
|
|
134
126
|
.command('db:seed')
|
|
135
127
|
.description('seeds the database using the file located in db/seed.ts')
|
|
136
128
|
.action(async () => {
|
|
137
|
-
EnvInternal.provideDefaultNodeEnv('test');
|
|
138
129
|
if (process.env.NODE_ENV === 'test' && process.env.DREAM_SEED_DB_IN_TEST !== '1') {
|
|
139
130
|
console.log('skipping db seed for test env. To really seed for test, add DREAM_SEED_DB_IN_TEST=1');
|
|
140
131
|
return;
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import fluffstopherwalkin from './howyadoins/fluffstopherwalkin.js';
|
|
2
|
+
import whaaaaaaaaaaok, { whaaaaaaaaaaokBasic } from './howyadoins/whaaaaaaaaaaok.js';
|
|
3
|
+
export default class DreamGlam {
|
|
4
|
+
static whaaaaaaaaaaok() {
|
|
5
|
+
return whaaaaaaaaaaok();
|
|
6
|
+
}
|
|
7
|
+
static whaaaaaaaaaaokBasic() {
|
|
8
|
+
return whaaaaaaaaaaokBasic();
|
|
9
|
+
}
|
|
10
|
+
static fluffstopherwalkin() {
|
|
11
|
+
return fluffstopherwalkin();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import colors from 'yoctocolors';
|
|
2
|
+
export default function fluffstopherwalkin() {
|
|
3
|
+
return (colors.magenta(`
|
|
4
|
+
░ ░ ░ ░ ░ ░
|
|
5
|
+
░ ▓ ░░ ░
|
|
6
|
+
░██▓▒ ░░ ░ ░ ░█████
|
|
7
|
+
░ ███▓▓▓▓ ░ ░ ████▓▓▓█
|
|
8
|
+
░ ░ ████▓▓█▓▓▓▓▓▓ ▓▓▓▒▓▓█▒ ▓ ███████▓█▓▓
|
|
9
|
+
░██████████▓████▓▓▓██▓█▓██████████▓▓▓██▓
|
|
10
|
+
░ ░████████████▓██▓████████████████▓▓▓▓█
|
|
11
|
+
██████████████████████████████████▓
|
|
12
|
+
░█████████████████████████████████
|
|
13
|
+
░ ░████████████████████████████████
|
|
14
|
+
░ ░ ▓██████████████████████████████▓ ░░ ░
|
|
15
|
+
░▒▓█████▓▓▓░░░ ▒███████████████████████████████▒░ ░░
|
|
16
|
+
░ ▓▓█▓▒░▓░▓███▓ ▓█████████████████████████ ▒ ░ ░
|
|
17
|
+
██▓▒▓█▓████ `) +
|
|
18
|
+
colors.greenBright(`█`) +
|
|
19
|
+
colors.magenta(`██████████░ `) +
|
|
20
|
+
colors.greenBright(`█`) +
|
|
21
|
+
colors.magenta(`░░█▓█████▓▒▒░░▒▒
|
|
22
|
+
░ ░░░ ▒░██▓▓█▓▓▓████▓ ██████████░░░ ▓▓██████░▒ ▒ ░ ░
|
|
23
|
+
░░▒░░ ██▓▓▓▓▓▓▓█████▓▓█████████████████████░ ░░░
|
|
24
|
+
░░▒▒▒██▓▓█▓██▓▓████▓██████████▓▓██████████ ▒▒▒░ ▒
|
|
25
|
+
░░░▒▓████▓▓▓▓▓█▓▓▓▓▓▓█████████████████████░░ ░▒░▒░
|
|
26
|
+
░▒ ░▒▒▒▒█████▓▓▓███▓▓▓▓█▓▓██████████████████▒▒ ░░░░░
|
|
27
|
+
░░░░░▒▒▒███████▓█████▓▓▓▓▓▓██████████▓███████░░ ░▓▒░░
|
|
28
|
+
▒ ░░░░▒▒▒████████▓███████▓████████████████████░ ░▒░░▒
|
|
29
|
+
░░░░░▒▒▒█████████████████████████████████████ ░░ ░▓
|
|
30
|
+
`) +
|
|
31
|
+
colors.greenBright(`
|
|
32
|
+
██████╗ ███████╗██╗ ██╗ ██████╗██╗ ██╗██╗ ██████╗
|
|
33
|
+
██╔══██╗██╔════╝╚██╗ ██╔╝██╔════╝██║ ██║██║██╔════╝
|
|
34
|
+
██████╔╝███████╗ ╚████╔╝ ██║ ███████║██║██║
|
|
35
|
+
██╔═══╝ ╚════██║ ╚██╔╝ ██║ ██╔══██║██║██║
|
|
36
|
+
██║ ███████║ ██║ ╚██████╗██║ ██║██║╚██████╗
|
|
37
|
+
╚═╝ ╚══════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═════╝
|
|
38
|
+
`));
|
|
39
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import colors from 'yoctocolors';
|
|
2
|
+
export default function whaaaaaaaaaaok() {
|
|
3
|
+
return (colors.bgMagentaBright(colors.black(`
|
|
4
|
+
,▄█▄
|
|
5
|
+
]█▄▄ ╓█████▌
|
|
6
|
+
▐██████▄ ▄█████▓╣█
|
|
7
|
+
║████████▄, , ,,▄,▄▄▄▓██████╬╬╣╣▌
|
|
8
|
+
╚███╣██████████▓▓▓▓██████████╩╠╬▓
|
|
9
|
+
╙█╬╬╬▓███████████████████████▒▓▌ `)) +
|
|
10
|
+
colors.bgMagentaBright(colors.black(`
|
|
11
|
+
╙▓█▓██████████████████████████
|
|
12
|
+
╚██████▀███████████`) +
|
|
13
|
+
colors.greenBright(`╩█▓▌`) +
|
|
14
|
+
colors.black(`▐▓████▄
|
|
15
|
+
'║█████`) +
|
|
16
|
+
colors.greenBright(`\`╣█Γ║`) +
|
|
17
|
+
colors.black(`████████▄▄φ▓█████▌
|
|
18
|
+
║█████████████████████▓█████▌
|
|
19
|
+
█████████████▓▓████████████ `)) +
|
|
20
|
+
colors.bgMagentaBright(colors.black(`
|
|
21
|
+
║█████████████████████████
|
|
22
|
+
]█████████████████████████
|
|
23
|
+
,▓██████████████████████████
|
|
24
|
+
▓█████████████████████████████µ `)) +
|
|
25
|
+
colors.bgMagentaBright(colors.black(`
|
|
26
|
+
▐███████████████████████████████▄▄
|
|
27
|
+
║█████████████████████████████████╬╬╣▓
|
|
28
|
+
,╔╦║███████████████████████████████████▓╬╬╣
|
|
29
|
+
,≥≥⌠░░░╠▓████████████████████████████████████▓▓
|
|
30
|
+
,;=-',▄█████████████████████████████████████████▓ `)) +
|
|
31
|
+
colors.bgGreen(colors.magenta(`
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
██████╗ ███████╗██╗ ██╗ ██████╗██╗ ██╗██╗ ██████╗
|
|
36
|
+
██╔══██╗██╔════╝╚██╗ ██╔╝██╔════╝██║ ██║██║██╔════╝
|
|
37
|
+
██████╔╝███████╗ ╚████╔╝ ██║ ███████║██║██║
|
|
38
|
+
██╔═══╝ ╚════██║ ╚██╔╝ ██║ ██╔══██║██║██║
|
|
39
|
+
██║ ███████║ ██║ ╚██████╗██║ ██║██║╚██████╗
|
|
40
|
+
╚═╝ ╚══════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═════╝
|
|
41
|
+
|
|
42
|
+
`)));
|
|
43
|
+
}
|
|
44
|
+
export function whaaaaaaaaaaokBasic() {
|
|
45
|
+
return `
|
|
46
|
+
,▄█▄
|
|
47
|
+
]█▄▄ ╓█████▌
|
|
48
|
+
▐██████▄ ▄█████▓╣█
|
|
49
|
+
║████████▄, , ,,▄,▄▄▄▓██████╬╬╣╣▌
|
|
50
|
+
╚███╣██████████▓▓▓▓██████████╩╠╬▓
|
|
51
|
+
╙█╬╬╬▓███████████████████████▒▓▌
|
|
52
|
+
╙▓█▓██████████████████████████
|
|
53
|
+
╚██████▀███████████╩█▓▌▐▓████▄
|
|
54
|
+
'║█████\`╣█Γ║████████▄▄φ▓█████▌
|
|
55
|
+
║█████████████████████▓█████▌
|
|
56
|
+
█████████████▓▓████████████
|
|
57
|
+
║█████████████████████████
|
|
58
|
+
]█████████████████████████
|
|
59
|
+
,▓██████████████████████████
|
|
60
|
+
▓█████████████████████████████µ
|
|
61
|
+
▐███████████████████████████████▄▄
|
|
62
|
+
║█████████████████████████████████╬╬╣▓
|
|
63
|
+
,╔╦║███████████████████████████████████▓╬╬╣
|
|
64
|
+
,≥≥⌠░░░╠▓████████████████████████████████████▓▓
|
|
65
|
+
,;=-',▄█████████████████████████████████████████▓
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
██████╗ ███████╗██╗ ██╗ ██████╗██╗ ██╗██╗ ██████╗
|
|
70
|
+
██╔══██╗██╔════╝╚██╗ ██╔╝██╔════╝██║ ██║██║██╔════╝
|
|
71
|
+
██████╔╝███████╗ ╚████╔╝ ██║ ███████║██║██║
|
|
72
|
+
██╔═══╝ ╚════██║ ╚██╔╝ ██║ ██╔══██║██║██║
|
|
73
|
+
██║ ███████║ ██║ ╚██████╗██║ ██║██║╚██████╗
|
|
74
|
+
╚═╝ ╚══════╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═════╝
|
|
75
|
+
|
|
76
|
+
`;
|
|
77
|
+
}
|
|
@@ -15,11 +15,6 @@ export default class Env {
|
|
|
15
15
|
return 'production';
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
provideDefaultNodeEnv(defaultNodeEnv) {
|
|
19
|
-
if (process.env.NODE_ENV)
|
|
20
|
-
return;
|
|
21
|
-
process.env.NODE_ENV = defaultNodeEnv;
|
|
22
|
-
}
|
|
23
18
|
get isDebug() {
|
|
24
19
|
return this.optional('DEBUG') === '1';
|
|
25
20
|
}
|
package/dist/esm/src/index.js
CHANGED
|
@@ -24,6 +24,7 @@ export { default as GlobalNameNotSet } from './errors/dream-application/GlobalNa
|
|
|
24
24
|
export { default as RecordNotFound } from './errors/RecordNotFound.js';
|
|
25
25
|
export { default as ValidationError } from './errors/ValidationError.js';
|
|
26
26
|
export { default as Benchmark } from './helpers/benchmark.js';
|
|
27
|
+
export { default as DreamGlam } from './helpers/DreamGlam/DreamGlam.js';
|
|
27
28
|
export { default as CalendarDate } from './helpers/CalendarDate.js';
|
|
28
29
|
export { default as camelize } from './helpers/camelize.js';
|
|
29
30
|
export { default as capitalize } from './helpers/capitalize.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function fluffstopherwalkin(): string;
|
|
@@ -5,7 +5,6 @@ export default class Env<T extends {
|
|
|
5
5
|
}, StringEnvs extends string = T['string'] extends string ? T['string'] : never, IntegerEnvs extends string = T['integer'] extends string ? T['integer'] : never, BooleanEnvs extends string = T['boolean'] extends string ? T['boolean'] : never> {
|
|
6
6
|
get isProduction(): boolean;
|
|
7
7
|
get nodeEnv(): StandardNodeEnvValues;
|
|
8
|
-
provideDefaultNodeEnv(defaultNodeEnv: StandardNodeEnvValues): void;
|
|
9
8
|
get isDebug(): boolean;
|
|
10
9
|
get isTest(): boolean;
|
|
11
10
|
get isDevelopment(): boolean;
|
|
@@ -27,6 +27,7 @@ export { default as GlobalNameNotSet } from './errors/dream-application/GlobalNa
|
|
|
27
27
|
export { default as RecordNotFound } from './errors/RecordNotFound.js';
|
|
28
28
|
export { default as ValidationError } from './errors/ValidationError.js';
|
|
29
29
|
export { default as Benchmark } from './helpers/benchmark.js';
|
|
30
|
+
export { default as DreamGlam } from './helpers/DreamGlam/DreamGlam.js';
|
|
30
31
|
export { default as CalendarDate } from './helpers/CalendarDate.js';
|
|
31
32
|
export { default as camelize } from './helpers/camelize.js';
|
|
32
33
|
export { default as capitalize } from './helpers/capitalize.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.navigationData = "data:application/octet-stream;base64,
|
|
1
|
+
window.navigationData = "data:application/octet-stream;base64,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"
|