File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ const secrets = await phase.get(getOptions);
4040Get a specific key:
4141
4242``` typescript
43+ import { GetSecretOptions } from " @phase.dev/phase-node" ;
44+
4345const getOptions: GetSecretOptions = {
4446 appId: " 3b7443aa-3a7c-4791-849a-42aafc9cbe66" ,
4547 envName: " Development" ,
@@ -54,7 +56,7 @@ const secrets = await phase.get(getOptions);
5456Create one or more secrets in a specified application and environment:
5557
5658``` typescript
57- import { CreateSecretOptions } from " phase" ;
59+ import { CreateSecretOptions } from " @ phase.dev/phase-node " ;
5860
5961const createOptions: CreateSecretOptions = {
6062 appId: " 3b7443aa-3a7c-4791-849a-42aafc9cbe66" ,
@@ -83,7 +85,7 @@ Update existing secrets in a specified application and environment:
8385
8486
8587``` typescript
86- import { UpdateSecretOptions } from " phase" ;
88+ import { UpdateSecretOptions } from " @ phase.dev/phase-node " ;
8789
8890const updateOptions: UpdateSecretOptions = {
8991 appId: " 3b7443aa-3a7c-4791-849a-42aafc9cbe66" ,
@@ -103,7 +105,7 @@ await phase.update(updateOptions);
103105Delete one or more secrets from a specified application and environment:
104106
105107``` typescript
106- import { DeleteSecretOptions } from " phase" ;
108+ import { DeleteSecretOptions } from " @ phase.dev/phase-node " ;
107109
108110const secretsToDelete = secrets .map ((secret ) => secret .id );
109111
You can’t perform that action at this time.
0 commit comments