@lokalise/workspaces-api-schemas 5.8.0 → 5.9.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.
@@ -61,19 +61,16 @@ export declare const DELETE_PERMISSION_PARAMS_SCHEMA: z.ZodObject<{
61
61
  }, z.core.$strip>;
62
62
  export type DeletePermissionParams = z.infer<typeof DELETE_PERMISSION_PARAMS_SCHEMA>;
63
63
  export declare const PermissionSourceNameEnum: {
64
- readonly Workspace: "workspace";
65
- readonly TranslationStorage: "translations";
66
- readonly Export: "export";
64
+ readonly Expert: "Expert";
67
65
  };
68
66
  export type PermissionSourceName = (typeof PermissionSourceNameEnum)[keyof typeof PermissionSourceNameEnum];
69
67
  export declare const PermissionScopeEnum: {
70
68
  readonly Project: "Project";
71
- readonly TranslationJob: "TranslationJob";
72
69
  readonly Workspace: "Workspace";
73
70
  };
74
71
  export type PermissionScope = (typeof PermissionScopeEnum)[keyof typeof PermissionScopeEnum];
75
72
  export declare const PermissionResourceEnum: {
76
- readonly TranslationJob: "TranslationJob";
73
+ readonly Project: "Project";
77
74
  readonly ContentLanguageId: "ContentLanguageId";
78
75
  readonly Locale: "Locale";
79
76
  };
@@ -19,17 +19,14 @@ export const DELETE_PERMISSION_PARAMS_SCHEMA = z.object({
19
19
  });
20
20
  // Permission options
21
21
  export const PermissionSourceNameEnum = {
22
- Workspace: 'workspace',
23
- TranslationStorage: 'translations',
24
- Export: 'export',
22
+ Expert: 'Expert',
25
23
  };
26
24
  export const PermissionScopeEnum = {
27
25
  Project: 'Project',
28
- TranslationJob: 'TranslationJob',
29
26
  Workspace: 'Workspace',
30
27
  };
31
28
  export const PermissionResourceEnum = {
32
- TranslationJob: 'TranslationJob',
29
+ Project: 'Project',
33
30
  ContentLanguageId: 'ContentLanguageId',
34
31
  Locale: 'Locale',
35
32
  };
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/schemas/permission/api.ts"],"names":[],"mapp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