base44 0.0.12 → 0.0.14
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/cli/index.js +5 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -16744,7 +16744,7 @@ async function readAllEntities(entitiesDir) {
|
|
|
16744
16744
|
async function pushEntities(entities) {
|
|
16745
16745
|
const appClient = getAppClient();
|
|
16746
16746
|
const schemaSyncPayload = Object.fromEntries(entities.map((entity) => [entity.name, entity]));
|
|
16747
|
-
const response = await appClient.put("
|
|
16747
|
+
const response = await appClient.put("entity-schemas", {
|
|
16748
16748
|
json: { entityNameToSchema: schemaSyncPayload },
|
|
16749
16749
|
throwHttpErrors: false
|
|
16750
16750
|
});
|
|
@@ -16959,7 +16959,7 @@ async function createProject(projectName, description) {
|
|
|
16959
16959
|
const response = await base44Client.post("api/apps", { json: {
|
|
16960
16960
|
name: projectName,
|
|
16961
16961
|
user_description: description ?? `Backend for '${projectName}'`,
|
|
16962
|
-
|
|
16962
|
+
is_managed_source_code: false,
|
|
16963
16963
|
public_settings: "public_without_login"
|
|
16964
16964
|
} });
|
|
16965
16965
|
return { projectId: CreateProjectResponseSchema.parse(await response.json()).id };
|
|
@@ -26231,6 +26231,7 @@ var source_default = chalk;
|
|
|
26231
26231
|
const theme = {
|
|
26232
26232
|
colors: {
|
|
26233
26233
|
base44Orange: source_default.hex("#E86B3C"),
|
|
26234
|
+
base44OrangeBackground: source_default.bgHex("#E86B3C"),
|
|
26234
26235
|
shinyOrange: source_default.hex("#FFD700"),
|
|
26235
26236
|
links: source_default.hex("#00D4FF"),
|
|
26236
26237
|
white: source_default.white
|
|
@@ -26373,7 +26374,7 @@ async function runCommand(commandFn, options) {
|
|
|
26373
26374
|
if (options?.fullBanner) {
|
|
26374
26375
|
await printBanner();
|
|
26375
26376
|
Ie("");
|
|
26376
|
-
} else Ie(theme.colors.
|
|
26377
|
+
} else Ie(theme.colors.base44OrangeBackground(" Base 44 "));
|
|
26377
26378
|
await loadProjectEnv();
|
|
26378
26379
|
try {
|
|
26379
26380
|
if (options?.requireAuth) {
|
|
@@ -39001,7 +39002,7 @@ const siteDeployCommand = new Command("site").description("Manage site deploymen
|
|
|
39001
39002
|
|
|
39002
39003
|
//#endregion
|
|
39003
39004
|
//#region package.json
|
|
39004
|
-
var version = "0.0.
|
|
39005
|
+
var version = "0.0.14";
|
|
39005
39006
|
|
|
39006
39007
|
//#endregion
|
|
39007
39008
|
//#region src/cli/index.ts
|