Coder Social home page Coder Social logo

node-sdk's People

Contributors

apazzolini avatar atechadventurer avatar doppler-bot avatar kyle-mcguire avatar piccirello avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-sdk's Issues

STRIPE required as input for secrets.update()

The STRIPE property is required as part of the Secrets interface. It is not possible to call secrets.update() without including this property.

Example code:

  const input = {
    config: 'dev',
    project: 'test-project',
    secrets: {
      TEST_SECRET: 'test_secret_value',
    }
  };

  const response = await sdk.secrets.update(input);

Resulting error:

Argument of type '{ config: string; project: string; secrets: { TEST_SECRET: string; }; }' is not assignable to parameter of type 'UpdateRequest'.
  Types of property 'secrets' are incompatible.
    Property 'STRIPE' is missing in type '{ TEST_SECRET: string; }' but required in type 'Secrets'.

Please make the STRIPE property optional.

Nuxt module

Hi doppler team! Thanks for making this super useful SDK ๐Ÿ™Œ I've used it to make a module for Nuxt.js, the repo can be found here:
https://github.com/JamieCurnow/nuxt-doppler

And it's on npm:
https://www.npmjs.com/package/nuxt-doppler

I've made a PR to Nuxt Modules to get it listed on the modules page on the Nuxt website:
https://nuxt.com/modules
nuxt/modules#829

Hopefully this will encourage more devs to use Dopper for secretOps ๐Ÿ˜Š

I just wanted this to be on your radar to make sure that its ok to use the SDK in this way ๐Ÿ™

fix projectMembers.delete not including type

projectMembers.delete doesn't work. Looks like the function is looking for {type_} with underscore, where the URL endpoint has {type}. This also affects projectMembers.get & projectMembers.update.

#16 would fix this, but it was closed as the SDK is auto-generated:

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.