ice-static 4 månader sedan
incheckning
d88a1aaed6
6 ändrade filer med 140 tillägg och 0 borttagningar
  1. 42 0
      .gitignore
  2. 21 0
      config.json
  3. 1 0
      logs/parse-server.err.2026-04-15
  4. 24 0
      logs/parse-server.info.2026-04-15
  5. 47 0
      package-lock.json
  6. 5 0
      package.json

+ 42 - 0
.gitignore

@@ -0,0 +1,42 @@
+# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
+
+# Compiled output
+/dist
+/tmp
+/out-tsc
+/bazel-out
+
+# Node
+/node_modules
+npm-debug.log
+yarn-error.log
+
+# IDEs and editors
+.idea/
+.project
+.classpath
+.c9/
+*.launch
+.settings/
+*.sublime-workspace
+
+# Visual Studio Code
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+.history/*
+
+# Miscellaneous
+/.angular/cache
+.sass-cache/
+/connect.lock
+/coverage
+/libpeerconnection.log
+testem.log
+/typings
+
+# System files
+.DS_Store
+Thumbs.db

+ 21 - 0
config.json

@@ -0,0 +1,21 @@
+{
+  "parse": {
+    "appId": "lami-ai",
+    "masterKey": "5s1gfOasPqx9JKsA",
+    "databaseURI": "postgres://admin_lm:Lami20260415@pgm-uf600l6p8166oht5.pg.rds.aliyuncs.com/lami_home",
+    "serverURL": "http://localhost:3000/parse",
+    "masterKeyIps": ["0.0.0.0/0", "::/0"],
+    "allowHeaders": ["*"],
+    "allowOrigin": "*",
+    "port": 3000,
+    "allowClientClassCreation": true,
+    "enableAnonymousUsers": true,
+    "allowExpiredAuthDataToken": false,
+    "revokeSessionOnPasswordReset": false,
+    "cloud": "./cloud/main.js"
+  },
+  "apiLogLevel": "ALL",
+  "environment": "development",
+  "debug": true,
+  "logLevel": "debug"
+}

+ 1 - 0
logs/parse-server.err.2026-04-15

@@ -0,0 +1 @@
+{"code":255,"level":"error","message":"Class Product is not empty, contains 1 objects, cannot drop schema.","stack":"Error: Class Product is not empty, contains 1 objects, cannot drop schema.\n    at file:///tmp/deno-compile-fmode-server-linux-x64/.deno_compile_node_modules/localhost/parse-server/7.5.4/lib/Controllers/DatabaseController.js:1093:17\n    at eventLoopTick (ext:core/01_core.js:179:7)","timestamp":"2026-04-15T11:15:18.968Z"}

+ 24 - 0
logs/parse-server.info.2026-04-15

@@ -0,0 +1,24 @@
+{"level":"warn","message":"DeprecationWarning: The Parse Server option 'encodeParseObjectInCloudFunction' default will change to 'true' in a future version.","timestamp":"2026-04-15T10:11:05.366Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:11:05.379Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:11:05.379Z"}
+{"level":"warn","message":"DeprecationWarning: The Parse Server option 'enableInsecureAuthAdapters' default will change to 'false' in a future version.","timestamp":"2026-04-15T10:11:05.367Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:11:05.369Z"}
+{"level":"warn","message":"DeprecationWarning: The Parse Server option 'encodeParseObjectInCloudFunction' default will change to 'true' in a future version.","timestamp":"2026-04-15T10:19:51.700Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:19:51.714Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:19:51.714Z"}
+{"level":"warn","message":"DeprecationWarning: The Parse Server option 'enableInsecureAuthAdapters' default will change to 'false' in a future version.","timestamp":"2026-04-15T10:19:51.701Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:19:51.704Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:19:51.907Z"}
+{"level":"warn","message":"DeprecationWarning: The Parse Server option 'encodeParseObjectInCloudFunction' default will change to 'true' in a future version.","timestamp":"2026-04-15T10:34:20.918Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:34:20.933Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:34:20.933Z"}
+{"level":"warn","message":"DeprecationWarning: The Parse Server option 'enableInsecureAuthAdapters' default will change to 'false' in a future version.","timestamp":"2026-04-15T10:34:20.920Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:34:20.922Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:34:21.110Z"}
+{"level":"warn","message":"DeprecationWarning: The Parse Server option 'encodeParseObjectInCloudFunction' default will change to 'true' in a future version.","timestamp":"2026-04-15T10:43:49.109Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:43:49.123Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:43:49.123Z"}
+{"level":"warn","message":"DeprecationWarning: The Parse Server option 'enableInsecureAuthAdapters' default will change to 'false' in a future version.","timestamp":"2026-04-15T10:43:49.110Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:43:49.113Z"}
+{"level":"warn","message":"DeprecationWarning: insecure adapter is deprecated and will be removed in a future version.","timestamp":"2026-04-15T10:43:49.301Z"}
+{"code":255,"level":"error","message":"Class Product is not empty, contains 1 objects, cannot drop schema.","stack":"Error: Class Product is not empty, contains 1 objects, cannot drop schema.\n    at file:///tmp/deno-compile-fmode-server-linux-x64/.deno_compile_node_modules/localhost/parse-server/7.5.4/lib/Controllers/DatabaseController.js:1093:17\n    at eventLoopTick (ext:core/01_core.js:179:7)","timestamp":"2026-04-15T11:15:18.968Z"}

+ 47 - 0
package-lock.json

@@ -0,0 +1,47 @@
+{
+  "name": "lami-server",
+  "lockfileVersion": 3,
+  "requires": true,
+  "packages": {
+    "": {
+      "dependencies": {
+        "@fmode/studio": "^0.0.12"
+      }
+    },
+    "node_modules/@fmode/studio": {
+      "version": "0.0.12",
+      "resolved": "https://registry.npmjs.org/@fmode/studio/-/studio-0.0.12.tgz",
+      "integrity": "sha512-CTthYDLTJttF4eEakru4dI4Bdk3s/VLiIvaWBHdrznRAzHkabZcGZD0Ebig13/IS3U+zIYsVGyi8FeDJI5l5TQ==",
+      "cpu": [
+        "x64",
+        "arm64"
+      ],
+      "license": "ISC",
+      "os": [
+        "darwin",
+        "linux",
+        "win32"
+      ],
+      "dependencies": {
+        "commander": "^14.0.0"
+      },
+      "bin": {
+        "fmode": "bin/fmode.js",
+        "studio": "bin/fmode.js"
+      },
+      "engines": {
+        "bun": ">=1.0.0",
+        "node": ">=18.0.0"
+      }
+    },
+    "node_modules/commander": {
+      "version": "14.0.3",
+      "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz",
+      "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=20"
+      }
+    }
+  }
+}

+ 5 - 0
package.json

@@ -0,0 +1,5 @@
+{
+  "dependencies": {
+    "@fmode/studio": "^0.0.12"
+  }
+}