@apicircle/core 1.0.7 → 1.0.9

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.
@@ -1,4 +1,4 @@
1
- import { RequestAuth, GlobalSchema, GlobalGraphQL, GlobalFileAsset, Folder, Request, WorkspaceSynced, WorkspaceLocal, Environment, EnvPriorityRef, SecretKeyMeta, Assertion, MockServer, ExecutionPlan, WorkspaceSnapshotTrigger } from '@apicircle/shared';
1
+ import { RequestAuth, GlobalSchema, GlobalGraphQL, GlobalFileAsset, Folder, Request, WorkspaceSynced, WorkspaceLocal, Environment, EnvPriorityRef, SecretKeyMeta, Assertion, MockServer, AssetGitRef, ExecutionPlan, WorkspaceSnapshotTrigger } from '@apicircle/shared';
2
2
 
3
3
  /**
4
4
  * One credential-bearing field discovered inside an export envelope.
@@ -273,6 +273,27 @@ type WorkspacePatch = {
273
273
  } | {
274
274
  kind: 'mock.delete';
275
275
  id: string;
276
+ } | {
277
+ kind: 'globalAsset.upsertFile';
278
+ file: GlobalFileAsset;
279
+ } | {
280
+ kind: 'globalAsset.removeFile';
281
+ id: string;
282
+ } | {
283
+ kind: 'globalAsset.markPushed';
284
+ id: string;
285
+ ref: AssetGitRef;
286
+ } | {
287
+ kind: 'globalAsset.markMerged';
288
+ id: string;
289
+ ref: AssetGitRef;
290
+ } | {
291
+ kind: 'globalAsset.cleanupWorkingRef';
292
+ id: string;
293
+ } | {
294
+ kind: 'globalAsset.invalidateRef';
295
+ id: string;
296
+ which: 'working' | 'base';
276
297
  } | {
277
298
  kind: 'plan.upsert';
278
299
  plan: ExecutionPlan;
@@ -1,4 +1,4 @@
1
- import { RequestAuth, GlobalSchema, GlobalGraphQL, GlobalFileAsset, Folder, Request, WorkspaceSynced, WorkspaceLocal, Environment, EnvPriorityRef, SecretKeyMeta, Assertion, MockServer, ExecutionPlan, WorkspaceSnapshotTrigger } from '@apicircle/shared';
1
+ import { RequestAuth, GlobalSchema, GlobalGraphQL, GlobalFileAsset, Folder, Request, WorkspaceSynced, WorkspaceLocal, Environment, EnvPriorityRef, SecretKeyMeta, Assertion, MockServer, AssetGitRef, ExecutionPlan, WorkspaceSnapshotTrigger } from '@apicircle/shared';
2
2
 
3
3
  /**
4
4
  * One credential-bearing field discovered inside an export envelope.
@@ -273,6 +273,27 @@ type WorkspacePatch = {
273
273
  } | {
274
274
  kind: 'mock.delete';
275
275
  id: string;
276
+ } | {
277
+ kind: 'globalAsset.upsertFile';
278
+ file: GlobalFileAsset;
279
+ } | {
280
+ kind: 'globalAsset.removeFile';
281
+ id: string;
282
+ } | {
283
+ kind: 'globalAsset.markPushed';
284
+ id: string;
285
+ ref: AssetGitRef;
286
+ } | {
287
+ kind: 'globalAsset.markMerged';
288
+ id: string;
289
+ ref: AssetGitRef;
290
+ } | {
291
+ kind: 'globalAsset.cleanupWorkingRef';
292
+ id: string;
293
+ } | {
294
+ kind: 'globalAsset.invalidateRef';
295
+ id: string;
296
+ which: 'working' | 'base';
276
297
  } | {
277
298
  kind: 'plan.upsert';
278
299
  plan: ExecutionPlan;
@@ -1,4 +1,4 @@
1
- import { W as WorkspaceState } from '../patches-ysO3y8pG.cjs';
1
+ import { W as WorkspaceState } from '../patches-h_K1VcZR.cjs';
2
2
  import '@apicircle/shared';
3
3
 
4
4
  interface LoadFromFileOptions {
@@ -1,4 +1,4 @@
1
- import { W as WorkspaceState } from '../patches-ysO3y8pG.js';
1
+ import { W as WorkspaceState } from '../patches-h_K1VcZR.js';
2
2
  import '@apicircle/shared';
3
3
 
4
4
  interface LoadFromFileOptions {
@@ -1,5 +1,5 @@
1
1
  export { WorkspaceLocal, WorkspaceSynced } from '@apicircle/shared';
2
- import { W as WorkspaceState } from '../patches-ysO3y8pG.cjs';
2
+ import { W as WorkspaceState } from '../patches-h_K1VcZR.cjs';
3
3
 
4
4
  declare const REGISTRY_FILE = "registry.json";
5
5
  interface WorkspaceRegistryEntry {
@@ -1,5 +1,5 @@
1
1
  export { WorkspaceLocal, WorkspaceSynced } from '@apicircle/shared';
2
- import { W as WorkspaceState } from '../patches-ysO3y8pG.js';
2
+ import { W as WorkspaceState } from '../patches-h_K1VcZR.js';
3
3
 
4
4
  declare const REGISTRY_FILE = "registry.json";
5
5
  interface WorkspaceRegistryEntry {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apicircle/core",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Request execution, environment resolution, auth signing, assertions, spec imports, and the applyMutation workspace engine for API Circle Studio.",
@@ -90,7 +90,7 @@
90
90
  ],
91
91
  "dependencies": {
92
92
  "proper-lockfile": "^4.1.2",
93
- "@apicircle/shared": "1.0.7"
93
+ "@apicircle/shared": "1.0.9"
94
94
  },
95
95
  "devDependencies": {
96
96
  "@types/proper-lockfile": "^4.1.4",