constants.d.ts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. export declare const SNYK_APP_NAME = "snykAppName";
  2. export declare const SNYK_APP_REDIRECT_URIS = "snykAppRedirectUris";
  3. export declare const SNYK_APP_SCOPES = "snykAppScopes";
  4. export declare const SNYK_APP_CLIENT_ID = "snykAppClientId";
  5. export declare const SNYK_APP_ORG_ID = "snykAppOrgId";
  6. export declare const SNYK_APP_DEBUG = "snyk:apps";
  7. export declare enum EValidSubCommands {
  8. CREATE = "create"
  9. }
  10. export declare enum EAppsURL {
  11. CREATE_APP = 0
  12. }
  13. export declare const validAppsSubCommands: string[];
  14. export declare const AppsErrorMessages: {
  15. orgRequired: string;
  16. nameRequired: string;
  17. redirectUrisRequired: string;
  18. scopesRequired: string;
  19. useExperimental: string;
  20. };
  21. export declare const CreateAppPromptData: {
  22. SNYK_APP_NAME: {
  23. name: string;
  24. message: string;
  25. };
  26. SNYK_APP_REDIRECT_URIS: {
  27. name: string;
  28. message: string;
  29. };
  30. SNYK_APP_SCOPES: {
  31. name: string;
  32. message: string;
  33. };
  34. SNYK_APP_ORG_ID: {
  35. name: string;
  36. message: string;
  37. };
  38. };