Scope: {
    createdAt: string;
    creator?: User;
    ghActionsVerifyActor?: boolean;
    quotas?: {
        newPackagePerWeekLimit?: number;
        newPackagePerWeekUsage?: number;
        packageLimit?: number;
        packageUsage?: number;
        publishAttemptsPerWeekLimit?: number;
        publishAttemptsPerWeekUsage?: number;
    };
    requirePublishingFromCI?: boolean;
    scope: ScopeName;
    updatedAt: string;
}

Type declaration

  • createdAt: string

    The date and time when the scope was created.

  • Optionalcreator?: User
  • OptionalghActionsVerifyActor?: boolean

    Whether to verify the actor of a GitHub Actions run when authenticating publishing with a GitHub Actions OIDC token.

  • Optionalquotas?: {
        newPackagePerWeekLimit?: number;
        newPackagePerWeekUsage?: number;
        packageLimit?: number;
        packageUsage?: number;
        publishAttemptsPerWeekLimit?: number;
        publishAttemptsPerWeekUsage?: number;
    }
    • OptionalnewPackagePerWeekLimit?: number

      The maximum number of new packages allowed to be created in the scope in a week.

    • OptionalnewPackagePerWeekUsage?: number

      The number of new packages created in the scope in the last week.

    • OptionalpackageLimit?: number

      The maximum number of packages allowed in the scope.

    • OptionalpackageUsage?: number

      The number of packages in the scope.

    • OptionalpublishAttemptsPerWeekLimit?: number

      The maximum number of times packages in the scope can be published in a week.

    • OptionalpublishAttemptsPerWeekUsage?: number

      The number of times packages in the scope have been published in the last week.

  • OptionalrequirePublishingFromCI?: boolean

    Whether to require publishing from a CI environment. This disables publishing from a local environment.

  • scope: ScopeName
  • updatedAt: string

    The date and time when the scope was last updated.