@c-time/frelio-types 2.3.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -92,7 +92,6 @@ if (isContent(data)) {
92
92
  | 型 | 説明 |
93
93
  |----|------|
94
94
  | `BuildTarget` | `'production' \| 'staging' \| 'preview-tmpl'` |
95
- | `StagingBranch` | ステージングブランチ定義 |
96
95
  | `FrelioBuildDataRecipe` | ビルドレシピ(`@c-time/frelio-data-json-recipe` から re-export) |
97
96
  | `FrelioDependencyMap` | 依存マップ(`@c-time/frelio-dependency-map` から re-export) |
98
97
 
package/dist/index.d.ts CHANGED
@@ -185,13 +185,12 @@ type Permissions = {
185
185
  canEditTemplates: boolean;
186
186
  canViewUsers: boolean;
187
187
  canEditUsers: boolean;
188
- canViewStaging: boolean;
189
- canEditStaging: boolean;
190
188
  canViewContentType: boolean;
191
189
  canEditContentType: boolean;
192
190
  canViewBuildRecipes: boolean;
193
191
  canEditBuildRecipes: boolean;
194
192
  canViewDeploy: boolean;
193
+ canViewBranchTree: boolean;
195
194
  canViewSchedule: boolean;
196
195
  canEditSchedule: boolean;
197
196
  canViewGeneralSettings: boolean;
@@ -200,6 +199,8 @@ type Permissions = {
200
199
  canEditSubmissions: boolean;
201
200
  canViewFormSettings: boolean;
202
201
  canEditFormSettings: boolean;
202
+ canViewDownloads: boolean;
203
+ canEditDownloads: boolean;
203
204
  };
204
205
  type PermissionKey = keyof Permissions;
205
206
  /**
@@ -232,17 +233,6 @@ type LegacyUser = {
232
233
  displayName: string;
233
234
  allowPersonalBranch?: boolean;
234
235
  };
235
- type StagingBranch = {
236
- branchName: string;
237
- previewUrl: string;
238
- allowedUsers: string[];
239
- isDefault: boolean;
240
- };
241
- /** @deprecated マイグレーション用。users.json と stages.json に分離済み */
242
- type AdminData = {
243
- users: User[];
244
- stagingBranches: StagingBranch[];
245
- };
246
236
  type GitHubUser = {
247
237
  login: string;
248
238
  avatar_url: string;
@@ -272,4 +262,4 @@ type DashboardMetadata = {
272
262
  contentTypes: Record<string, ContentTypeMetadata>;
273
263
  };
274
264
 
275
- export type { AdminData, AspectRatioOption, AutoFormat, BuildTarget, Content, ContentIndexEntry, ContentStatus, ContentType, ContentTypeDisplayLocation, ContentTypeList, ContentTypeListItem, ContentTypeMetadata, ContentTypeUi, ContentTypeViews, DashboardMetadata, FieldDefinition, FieldGroupDefinition, FieldType, FilterOperator, GitHubUser, LegacyUser, PermissionKey, Permissions, RoleTemplate, StagingBranch, UiFieldDefinition, User, UserRole, ViewColumn, ViewDefinition, ViewFilter, ViewIndexEntry, ViewSort };
265
+ export type { AspectRatioOption, AutoFormat, BuildTarget, Content, ContentIndexEntry, ContentStatus, ContentType, ContentTypeDisplayLocation, ContentTypeList, ContentTypeListItem, ContentTypeMetadata, ContentTypeUi, ContentTypeViews, DashboardMetadata, FieldDefinition, FieldGroupDefinition, FieldType, FilterOperator, GitHubUser, LegacyUser, PermissionKey, Permissions, RoleTemplate, UiFieldDefinition, User, UserRole, ViewColumn, ViewDefinition, ViewFilter, ViewIndexEntry, ViewSort };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-time/frelio-types",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -41,8 +41,8 @@
41
41
  "README.md"
42
42
  ],
43
43
  "dependencies": {
44
- "@c-time/frelio-data-json-recipe": "^2.3.0",
45
- "@c-time/frelio-dependency-map": "^2.3.0"
44
+ "@c-time/frelio-data-json-recipe": "^2.5.0",
45
+ "@c-time/frelio-dependency-map": "^2.5.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "zod": "^3.23.0"