@stacksjs/actions 0.75.299 → 0.75.301
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/migrate/fresh.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import process from"node:process";import{ensureUtcDatetimeColumns,generateMigrations,migrateAuthTables,migrateNotificationTables,migrateRbacTables,migrateTraitTables,resetDatabase,runDatabaseMigration}from"@stacksjs/database";import{log}from"@stacksjs/logging";const resetResult=await resetDatabase();if(resetResult?.isErr){console.error(resetResult.error);await log.error("resetDatabase failed",resetResult.error);process.exit(1)}const genResult=await generateMigrations();if(genResult?.isErr){console.error(genResult.error);await log.error("generateMigrations failed",genResult.error);process.exit(1)}const authResult=await migrateAuthTables();if(
|
|
1
|
+
import process from"node:process";import{ensureUtcDatetimeColumns,generateMigrations,migrateAuthTables,migrateNotificationTables,migrateRbacTables,migrateTraitTables,resetDatabase,runDatabaseMigration}from"@stacksjs/database";import{log}from"@stacksjs/logging";const includeAuth=process.env.STACKS_MIGRATE_NO_AUTH!=="1",resetResult=await resetDatabase();if(resetResult?.isErr){console.error(resetResult.error);await log.error("resetDatabase failed",resetResult.error);process.exit(1)}const genResult=await generateMigrations();if(genResult?.isErr){console.error(genResult.error);await log.error("generateMigrations failed",genResult.error);process.exit(1)}const authResult=includeAuth?await migrateAuthTables():void 0;if(authResult&&!authResult.success)log.error(`Failed to migrate auth tables: ${authResult.error}`);const migrateResult=await runDatabaseMigration(),notifResult=includeAuth?await migrateNotificationTables():void 0;if(notifResult&&!notifResult.success)log.error(`Failed to migrate notification tables: ${notifResult.error}`);const rbacResult=includeAuth?await migrateRbacTables():void 0;if(rbacResult&&!rbacResult.success)log.error(`Failed to migrate RBAC tables: ${rbacResult.error}`);const traitResult=includeAuth?await migrateTraitTables():void 0;if(traitResult&&!traitResult.success)log.error(`Failed to migrate polymorphic trait tables: ${traitResult.error}`);const datetimeResult=await ensureUtcDatetimeColumns();if(!datetimeResult.success)log.error(`Failed to convert TIMESTAMP columns to DATETIME: ${datetimeResult.error}`);if(migrateResult.isErr){await log.error("runDatabaseMigration failed");await log.error(migrateResult.error);await log.flush();process.exit(1)}if(traitResult&&!traitResult.success){await log.flush();process.exit(1)}process.exit(0);
|
package/dist/search/flush.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import process from"node:process";import{parseOptions}from"@stacksjs/cli";import{log}from"@stacksjs/logging";import{flushModelDocuments}from"@stacksjs/search-engine";const options=parseOptions(),modelOption=options.model,result=await flushModelDocuments(modelOption);if(result?.isErr){console.error(result.error);await log.error("Flushing search engine failed",result.error)}process.exit(0);
|
|
1
|
+
import process from"node:process";import{parseOptions}from"@stacksjs/cli";import{log}from"@stacksjs/logging";import{flushModelDocuments}from"@stacksjs/search-engine";const options=parseOptions(),modelOption=options.model,result=await flushModelDocuments(modelOption);if(result?.isErr){console.error(result.error);await log.error("Flushing search engine failed",result.error);process.exit(1)}process.exit(0);
|
package/dist/search/import.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import process from"node:process";import{parseOptions}from"@stacksjs/cli";import{log}from"@stacksjs/logging";import{importModelDocuments}from"@stacksjs/search-engine";const options=parseOptions(),modelOption=options.model,result=await importModelDocuments(modelOption);if(result?.isErr){console.error(result.error);await log.error("Import to search engine failed",result.error)}process.exit(0);
|
|
1
|
+
import process from"node:process";import{parseOptions}from"@stacksjs/cli";import{log}from"@stacksjs/logging";import{importModelDocuments}from"@stacksjs/search-engine";const options=parseOptions(),modelOption=options.model,result=await importModelDocuments(modelOption);if(result?.isErr){console.error(result.error);await log.error("Import to search engine failed",result.error);process.exit(1)}process.exit(0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import process from"node:process";import{parseOptions}from"@stacksjs/cli";import{log}from"@stacksjs/logging";import{listIndexSettings}from"@stacksjs/search-engine";const options=parseOptions(),modelOption=options.model,result=await listIndexSettings(modelOption);if(result?.isErr){console.error(result.error);await log.error("Listing index settings failed",result.error)}process.exit(0);
|
|
1
|
+
import process from"node:process";import{parseOptions}from"@stacksjs/cli";import{log}from"@stacksjs/logging";import{listIndexSettings}from"@stacksjs/search-engine";const options=parseOptions(),modelOption=options.model,result=await listIndexSettings(modelOption);if(result?.isErr){console.error(result.error);await log.error("Listing index settings failed",result.error);process.exit(1)}process.exit(0);
|
package/dist/search/settings.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import process from"node:process";import{log}from"@stacksjs/logging";import{updateIndexSettings}from"@stacksjs/search-engine";const result=await updateIndexSettings();if(result?.isErr){console.error(result.error);await log.error("
|
|
1
|
+
import process from"node:process";import{log}from"@stacksjs/logging";import{updateIndexSettings}from"@stacksjs/search-engine";const result=await updateIndexSettings();if(result?.isErr){console.error(result.error);await log.error("Updating search settings failed",result.error);process.exit(1)}process.exit(0);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/actions",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.301",
|
|
6
6
|
"description": "The Stacks actions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -66,54 +66,54 @@
|
|
|
66
66
|
"prepublishOnly": "bun run build"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@stacksjs/action-runner": "0.75.
|
|
70
|
-
"@stacksjs/ai": "0.75.
|
|
71
|
-
"@stacksjs/analytics": "0.75.
|
|
72
|
-
"@stacksjs/api": "0.75.
|
|
73
|
-
"@stacksjs/auth": "0.75.
|
|
74
|
-
"@stacksjs/build": "0.75.
|
|
69
|
+
"@stacksjs/action-runner": "0.75.301",
|
|
70
|
+
"@stacksjs/ai": "0.75.301",
|
|
71
|
+
"@stacksjs/analytics": "0.75.301",
|
|
72
|
+
"@stacksjs/api": "0.75.301",
|
|
73
|
+
"@stacksjs/auth": "0.75.301",
|
|
74
|
+
"@stacksjs/build": "0.75.301",
|
|
75
75
|
"@stacksjs/bumpx": "^0.2.26",
|
|
76
76
|
"@stacksjs/bunpress": "^0.2.15",
|
|
77
|
-
"@stacksjs/cli": "0.75.
|
|
78
|
-
"@stacksjs/cloud": "0.75.
|
|
79
|
-
"@stacksjs/cms": "0.75.
|
|
77
|
+
"@stacksjs/cli": "0.75.301",
|
|
78
|
+
"@stacksjs/cloud": "0.75.301",
|
|
79
|
+
"@stacksjs/cms": "0.75.301",
|
|
80
80
|
"@stacksjs/components": "0.2.687",
|
|
81
|
-
"@stacksjs/config": "0.75.
|
|
82
|
-
"@stacksjs/database": "0.75.
|
|
83
|
-
"@stacksjs/desktop-build": "0.75.
|
|
84
|
-
"@stacksjs/dns": "0.75.
|
|
85
|
-
"@stacksjs/enums": "0.75.
|
|
86
|
-
"@stacksjs/env": "0.75.
|
|
87
|
-
"@stacksjs/error-handling": "0.75.
|
|
88
|
-
"@stacksjs/github": "0.75.
|
|
81
|
+
"@stacksjs/config": "0.75.301",
|
|
82
|
+
"@stacksjs/database": "0.75.301",
|
|
83
|
+
"@stacksjs/desktop-build": "0.75.301",
|
|
84
|
+
"@stacksjs/dns": "0.75.301",
|
|
85
|
+
"@stacksjs/enums": "0.75.301",
|
|
86
|
+
"@stacksjs/env": "0.75.301",
|
|
87
|
+
"@stacksjs/error-handling": "0.75.301",
|
|
88
|
+
"@stacksjs/github": "0.75.301",
|
|
89
89
|
"@stacksjs/gitit": "^0.2.5",
|
|
90
|
-
"@stacksjs/i18n": "0.75.
|
|
91
|
-
"@stacksjs/image": "0.75.
|
|
92
|
-
"@stacksjs/logging": "0.75.
|
|
90
|
+
"@stacksjs/i18n": "0.75.301",
|
|
91
|
+
"@stacksjs/image": "0.75.301",
|
|
92
|
+
"@stacksjs/logging": "0.75.301",
|
|
93
93
|
"@stacksjs/logsmith": "^0.2.11",
|
|
94
|
-
"@stacksjs/mobile": "0.75.
|
|
95
|
-
"@stacksjs/orm": "0.75.
|
|
96
|
-
"@stacksjs/path": "0.75.
|
|
97
|
-
"@stacksjs/payments": "0.75.
|
|
98
|
-
"@stacksjs/queue": "0.75.
|
|
99
|
-
"@stacksjs/registry": "0.75.
|
|
100
|
-
"@stacksjs/router": "0.75.
|
|
94
|
+
"@stacksjs/mobile": "0.75.301",
|
|
95
|
+
"@stacksjs/orm": "0.75.301",
|
|
96
|
+
"@stacksjs/path": "0.75.301",
|
|
97
|
+
"@stacksjs/payments": "0.75.301",
|
|
98
|
+
"@stacksjs/queue": "0.75.301",
|
|
99
|
+
"@stacksjs/registry": "0.75.301",
|
|
100
|
+
"@stacksjs/router": "0.75.301",
|
|
101
101
|
"@stacksjs/rpx": "^0.11.54",
|
|
102
|
-
"@stacksjs/scheduler": "0.75.
|
|
103
|
-
"@stacksjs/search-engine": "0.75.
|
|
104
|
-
"@stacksjs/security": "0.75.
|
|
105
|
-
"@stacksjs/server": "0.75.
|
|
106
|
-
"@stacksjs/sites": "0.75.
|
|
107
|
-
"@stacksjs/storage": "0.75.
|
|
108
|
-
"@stacksjs/strings": "0.75.
|
|
102
|
+
"@stacksjs/scheduler": "0.75.301",
|
|
103
|
+
"@stacksjs/search-engine": "0.75.301",
|
|
104
|
+
"@stacksjs/security": "0.75.301",
|
|
105
|
+
"@stacksjs/server": "0.75.301",
|
|
106
|
+
"@stacksjs/sites": "0.75.301",
|
|
107
|
+
"@stacksjs/storage": "0.75.301",
|
|
108
|
+
"@stacksjs/strings": "0.75.301",
|
|
109
109
|
"@stacksjs/stx": "0.2.687",
|
|
110
110
|
"@stacksjs/tlsx": "^0.13.19",
|
|
111
|
-
"@stacksjs/ts-cloud": "^0.16.
|
|
111
|
+
"@stacksjs/ts-cloud": "^0.16.69",
|
|
112
112
|
"@stacksjs/ts-md": "^0.1.1",
|
|
113
|
-
"@stacksjs/tunnel": "0.75.
|
|
114
|
-
"@stacksjs/types": "0.75.
|
|
115
|
-
"@stacksjs/utils": "0.75.
|
|
116
|
-
"@stacksjs/whois": "0.75.
|
|
113
|
+
"@stacksjs/tunnel": "0.75.301",
|
|
114
|
+
"@stacksjs/types": "0.75.301",
|
|
115
|
+
"@stacksjs/utils": "0.75.301",
|
|
116
|
+
"@stacksjs/whois": "0.75.301",
|
|
117
117
|
"bun-plugin-stx": "0.2.687"
|
|
118
118
|
},
|
|
119
119
|
"peerDependencies": {
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
|
-
"@stacksjs/validation": "0.75.
|
|
132
|
+
"@stacksjs/validation": "0.75.301",
|
|
133
133
|
"better-dx": "^0.2.24"
|
|
134
134
|
}
|
|
135
135
|
}
|