Code Monkey home page Code Monkey logo

remult-kit's Introduction

remult-kit's People

Contributors

jycouet avatar github-actions[bot] avatar renovate[bot] avatar

Stargazers

yedidya rashi avatar Cali (Renato Caliari) avatar Denis avatar  avatar Julian BRUXELLE avatar SHYAKA Davis avatar  avatar Ermeen avatar

Watchers

Ermeen avatar  avatar

remult-kit's Issues

๐Ÿ“ฆ Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yaml
  • actions/checkout v4
.github/workflows/release.yml
  • actions/checkout v4
  • changesets/action v1
npm
docs/package.json
  • @sveltejs/adapter-static ^3.0.1
  • @sveltejs/kit ^2.5.17
  • @sveltejs/vite-plugin-svelte ^3.1.0
  • @sveltepress/theme-default ^2.0.4
  • @sveltepress/vite ^0.33.2
  • @types/node ^20.10.6
  • svelte ^4.2.8
  • typescript 5.4.3
  • vite 5.2.10
package.json
  • @changesets/changelog-github 0.5.0
  • @changesets/cli 2.27.1
  • @kitql/eslint-config 0.3.2
  • node >=18
packages/remult-kit/package.json
  • @clack/prompts ^0.7.0
  • @mdi/js ^7.4.47
  • @melt-ui/svelte ^0.81.0
  • @types/nodemailer ^6.4.15
  • arctic ^1.8.0
  • clsx ^2.1.1
  • cron ^3.1.7
  • daisyui ^4.10.3
  • esm-env ^1.0.0
  • lucia ^3.2.0
  • nodemailer ^6.9.13
  • oslo ^1.2.0
  • tailwind-merge ^2.3.0
  • tailwindcss ^3.4.3
  • vite ^5.2.10
  • vite-plugin-kit-routes ^0.6.2
  • vite-plugin-stripper ^0.5.0
  • @kitql/helpers 0.8.9
  • @kitql/internals 0.9.5
  • @sveltejs/adapter-node ^5.0.0
  • @sveltejs/kit 2.5.17
  • @sveltejs/package 2.3.2
  • @sveltejs/vite-plugin-svelte ^3.1.0
  • autoprefixer ^10.4.19
  • postcss ^8.4.38
  • postcss-load-config 5.1.0
  • svelte 4.2.18
  • svelte-check 3.8.2
  • tslib 2.6.2
  • typescript 5.4.3
  • vitest 1.6.0
  • @sveltejs/kit >=1.0.0 <3.0.0
  • remult 0.26.14
  • svelte >=4.0.1
  • node >=18

  • Check this box to trigger a request for Renovate to run again on this repository

No loader is configured for .node

โœ˜ [ERROR] No loader is configured for ".node" files: ../../node_modules/.pnpm/@[email protected]/node_modules/@node-rs/argon2-darwin-arm64/argon2.darwin-arm64.node

../../node_modules/.pnpm/@[email protected]/node_modules/@node-rs/argon2/index.js:173:36:
  173 โ”‚ ...ire('@node-rs/argon2-darwin-ar...
      โ•ต        ~~~~~~~~~~~~~~~~~~~~~~~~~~

limits in nested queries

on using kitStoreItem with included Relations i somewhere get an default limit of 25 items for related objects for example on:

@Entity<Frame>('frames', {
	allowApiCrud: true,
	dbName: 'frame'
})
export class Frame {
	@Fields.cuid()
	id!: string

	@Fields.boolean()
	is_symmetric: boolean = true

	@Fields.number()
	frame_pos!: number

	@Fields.createdAt()
	created_at = new Date()

	@Fields.date()
	modified_at = new Date()

	@Fields.string()
	ship_id!: string

	@Relations.toMany(() => Framepoint)
	framepoints?: Framepoint[]

	@Relations.toMany(() => Framesegment)
	framesegments?: Framesegment[]

	@Relations.toOne(() => Ship, { field: 'ship_id', defaultIncluded: true })
	ship!: Ship
	// @Field(() => Ship, { allowNull: true })
	// ship?: Ship

	// Relations toMany

	@Relations.toOne<Frame, Framecsvalue>(() => Framecsvalue, {
		fields: {
			frame_id: "id",
		},
		allowNull: true,
	})
	framecsvalue?: Framecsvalue;

	// @Relations.toMany(() => Framecsvalue)
	// framecsvalues?: Framecsvalue[]
}

with

const frameRepo = remult.repo(Frame);
const frame = kitStoreItem(frameRepo);

$: frameID = $page.url.searchParams.get('frame');

$: browser &&
frameID &&
frame.fetch(frameID, {
	include: {
		framepoints: { include: { stiffener: true }, limit: 1000},
		framesegments: { include: { start_point: true, end_point: true }, limit: 1000 },
		framecsvalue: true
	}
})

I've to raise the limit in the includes, if not it defaults to 25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.