Skip to content

DT-107: Enable local devtools usage and project self-registration#107

Open
kigiri wants to merge 11 commits into
masterfrom
WIP-local-env
Open

DT-107: Enable local devtools usage and project self-registration#107
kigiri wants to merge 11 commits into
masterfrom
WIP-local-env

Conversation

@kigiri
Copy link
Copy Markdown
Member

@kigiri kigiri commented Apr 3, 2026

No description provided.

Comment thread api/routes.ts Outdated
output: deploymentOutput,
description: 'Create a new deployment',
}),
'POST/api/deployment/local': route({
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

add the port or a slug to identify the deployment

  'POST/api/deployment/local': route({
     ....
      if (!DeploymentsCollection.get('dev')) {
        await DeploymentsCollection.insert({
          projectId: 'local',
          url: input.port, // or slug
          .....
        })
      }
    },
    input: OBJ({ endpoint: optional(STR('Full href of the SQL endpoint')),port: NUM() }), // or slug 
  }),

Comment thread api/schema.ts Outdated
STR,
} from '@01edu/api/validator'
import { createCollection } from '/api/lib/json_store.ts'
import { isLocal } from '/api/lib/env.ts'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this is not used

Copy link
Copy Markdown
Member

@abdotop abdotop left a comment

Choose a reason for hiding this comment

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

Juste fix lint and conflict

@kigiri kigiri force-pushed the WIP-local-env branch 2 times, most recently from 1ec6bb2 to b77df56 Compare April 9, 2026 13:47
@abdotop abdotop changed the title WIP DT-107: Enable local devtools usage and project self-registration Jun 3, 2026
@kigiri kigiri marked this pull request as ready for review June 3, 2026 09:25
@abdotop abdotop force-pushed the WIP-local-env branch 2 times, most recently from 3405112 to b67bfd4 Compare June 4, 2026 23:02
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.

2 participants