@blitzreels/contracts 0.2.1 → 0.2.2

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/LICENSE CHANGED
@@ -16,7 +16,7 @@ above. You may not remove this notice.
16
16
 
17
17
  3. Service and trademarks
18
18
 
19
- Use of the BlitzReels service is governed by https://www.blitzreels.com/terms. This license grants no
19
+ Use of the BlitzReels service is governed by https://blitzreels.com/terms. This license grants no
20
20
  ownership rights in the BlitzReels service, API, data, names, logos, or brand assets.
21
21
 
22
22
  4. Warranty and liability
package/README.md CHANGED
@@ -8,6 +8,6 @@ It contains the public operation registry and transport-neutral schemas, effects
8
8
  It does not contain the API implementation, database model, editor kernel, infrastructure, or internal operations.
9
9
 
10
10
  The npm package is publicly installable, but its canonical source is private and proprietary.
11
- Published `0.2.0` narrows the registry to public operations; workspace `0.2.1` prepares the corrected license.
11
+ Workspace `0.2.2` adds compound Reframe receipts and source-update contracts.
12
12
 
13
13
  See `LICENSE` for the package terms.
@@ -1 +1 @@
1
- {"version":3,"file":"error-contract.d.ts","sourceRoot":"","sources":["../src/error-contract.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GACvB,WAAW,GACX,YAAY,GACZ,kBAAkB,GAClB,WAAW,GACX,UAAU,GACV,kBAAkB,GAClB,iBAAiB,GACjB,cAAc,GACd,SAAS,GACT,cAAc,CAAC;AAEnB,eAAO,MAAM,8BAA8B,yMAUjC,CAAC;AAEX,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,CAAC,CAAC;AAElD,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,0BAA0B,CAAC;AAE/E,MAAM,MAAM,qBAAqB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE9D,MAAM,MAAM,sBAAsB,GAAG,MAAM,CACzC,MAAM,EACN,MAAM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wBAAgB,mCAAmC,CAAC,EAClD,IAAI,GACL,EAAE;IACD,IAAI,EAAE,0BAA0B,CAAC;CAClC,GAAG,CAAC,OAAO,oCAAoC,CAAC,CAAC,MAAM,CAAC,CAMxD;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,mBAAmB,CAc9B;AAED,wBAAgB,6BAA6B,CAAC,EAC5C,IAAI,EACJ,SAAS,GACV,EAAE;IACD,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,OAAO,CAAC;CACpB,GAAG,qBAAqB,CAsBxB;AAED,wBAAgB,kCAAkC,CAAC,EACjD,IAAI,GACL,EAAE;IACD,IAAI,EAAE,eAAe,CAAC;CACvB,GAAG,OAAO,CAIV"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export type { BlitzReelsCliExitCode, BlitzReelsErrorCode, BlitzReelsErrorDetails, PublicErrorCode, SequenceOperationErrorCode, SequenceOperationErrorDefinition, SequenceOperationItemFailure, } from "./error-contract.js";
2
2
  export { getBlitzReelsErrorCliExitCode, getBlitzReelsErrorDefaultRetryable, getSequenceOperationErrorDefinition, isBlitzReelsErrorCode, isSequenceOperationErrorCode, SEQUENCE_OPERATION_ERROR_CODES, SEQUENCE_OPERATION_ERROR_DEFINITIONS, } from "./error-contract.js";
3
+ export type { ReframeCompositionReceipt, ReframeCompositionSourceUpdate, ReframeCompositionSourceUpdateReceipt, ReframeCompositionView, ReframeSourceCrop, } from "./reframe-composition-contract.js";
3
4
  export type { SequenceOperationDefinition, SequenceOperationExposure, SequenceOperationFamily, SequenceOperationId, SequenceOperationPreviewSupport, SequenceOperationPreviewSurface, SequenceOperationProjection, SequenceOperationProjections, SequenceOperationSurface, } from "./sequence-operation-registry.js";
4
5
  export { getSequenceOperationDefinition, isSequenceOperationId, SEQUENCE_OPERATION_DEFINITIONS, SEQUENCE_OPERATION_IDS, } from "./sequence-operation-registry.js";
5
6
  export type { SequenceTimingExecuteOptions, SequenceTimingExecuteResult, SequenceTimingOperation, SequenceTimingPreviewOptions, SequenceTimingPreviewResult, } from "./sequence-timing-contract.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,EAClC,mCAAmC,EACnC,qBAAqB,EACrB,4BAA4B,EAC5B,8BAA8B,EAC9B,oCAAoC,GACrC,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,mBAAmB,EACnB,+BAA+B,EAC/B,+BAA+B,EAC/B,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EACV,4BAA4B,EAC5B,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,+BAA+B,CAAC;AACvC,YAAY,EACV,yBAAyB,EACzB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,EAClC,mCAAmC,EACnC,qBAAqB,EACrB,4BAA4B,EAC5B,8BAA8B,EAC9B,oCAAoC,GACrC,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,yBAAyB,EACzB,8BAA8B,EAC9B,qCAAqC,EACrC,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EACV,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,mBAAmB,EACnB,+BAA+B,EAC/B,+BAA+B,EAC/B,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,kCAAkC,CAAC;AAC1C,YAAY,EACV,4BAA4B,EAC5B,2BAA2B,EAC3B,uBAAuB,EACvB,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,+BAA+B,CAAC;AACvC,YAAY,EACV,yBAAyB,EACzB,uBAAuB,EACvB,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,8BAA8B,CAAC"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,EAClC,mCAAmC,EACnC,qBAAqB,EACrB,4BAA4B,EAC5B,8BAA8B,EAC9B,oCAAoC,GACrC,MAAM,qBAAqB,CAAC;AAY7B,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,EAClC,mCAAmC,EACnC,qBAAqB,EACrB,4BAA4B,EAC5B,8BAA8B,EAC9B,oCAAoC,GACrC,MAAM,qBAAqB,CAAC;AAmB7B,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1,40 @@
1
+ export type ReframeSourceCrop = {
2
+ x: number;
3
+ y: number;
4
+ width: number;
5
+ height: number;
6
+ };
7
+ export type ReframeCompositionView = {
8
+ timelineItemId: string;
9
+ sourceAssetId: string;
10
+ sourceStartUnits: string | null;
11
+ sourceEndUnits: string | null;
12
+ sourceCrop: ReframeSourceCrop;
13
+ plannerMode: string;
14
+ syncGroupId: string | null;
15
+ };
16
+ export type ReframeCompositionReceipt = {
17
+ reframeId: string;
18
+ projectId: string;
19
+ timelineItemId: string;
20
+ planRevision: string;
21
+ sourceCount: number;
22
+ segmentCount: number;
23
+ views: ReframeCompositionView[];
24
+ };
25
+ export type ReframeCompositionSourceUpdate = {
26
+ reframeId: string;
27
+ projectId: string;
28
+ sourceAssetId: string;
29
+ sourceCrop: ReframeSourceCrop | null;
30
+ sourceOffsetUnits: string | null;
31
+ ignored: boolean | null;
32
+ replacementAssetId: string | null;
33
+ };
34
+ export type ReframeCompositionSourceUpdateReceipt = {
35
+ reframeId: string;
36
+ projectId: string;
37
+ sourceAssetId: string;
38
+ affectedTimelineItemIds: string[];
39
+ };
40
+ //# sourceMappingURL=reframe-composition-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reframe-composition-contract.d.ts","sourceRoot":"","sources":["../src/reframe-composition-contract.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,iBAAiB,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,sBAAsB,EAAE,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACrC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,uBAAuB,EAAE,MAAM,EAAE,CAAC;CACnC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=reframe-composition-contract.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reframe-composition-contract.js","sourceRoot":"","sources":["../src/reframe-composition-contract.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blitzreels/contracts",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Transport-independent factual contracts for BlitzReels editing operations.",
5
5
  "homepage": "https://blitzreels.com/",
6
6
  "license": "SEE LICENSE IN LICENSE",