Skip to content

Conversation

@deder-mw
Copy link
Member

@deder-mw deder-mw commented Oct 1, 2025

#52

it is not a root document anymore
* main:
  Feature/scan error message (#51)
  cleanup type
  add github pipeline to check lint and format

# Conflicts:
#	packages/web2/app/components/profile/errorScans/types.ts
#	packages/web2/app/ssr.tsx
@deder-mw deder-mw marked this pull request as draft October 7, 2025 07:09
* main:
  format
  define root in vite.config.ts to make it work properly in a monorepo
contextId: string,
) {
return this.updateOne(
return this.findOneAndUpdate(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damit ändert sich der Return-Value der Method. War das Absicht?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Der return type wird nie genutzt, daher erstmal egal 🤷

Comment on lines 51 to 54
lastScan: serializeObjectWithIds(lastScan?.toJSON()) as unknown as
| Scan
| undefined,
lastSuccessfulScan: serializeObjectWithIds(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warum braucht es hier nochmal zusätzlich serializeObjectWithIds? Sollte das nicht durch die modelOptions schon automatisch mit drin sein, wenn man toJSON aufruft? Und wenn nicht, wäre es dann vielleicht ein besserer Ansatz die toJSON-Methode in der Klasse zu überlagern?

Comment on lines 21 to +22
import { CronFields } from "../CronFields/CronFields.js";
import { updateProfileCron } from "../../../actions/profile.js";
import { updateProfileCron } from "~/actions/profile";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm. Also ich denke wenn, sollten wir es einheitlich mit File-Suffix oder einheitlich ohne machen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants